如何创建Windows安装程序。 [英] How to create windows installer.

查看:129
本文介绍了如何创建Windows安装程序。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





基本上我们是以手动安装程序(Windows powershell脚本)的形式发布我们的更改/修复程序。它将通过读取配置文件值在特定位置安装指定的.dll和SQL脚本文件(我们将在此文件中配置.dll和Sql脚本位置)。相同的powershell脚本具有卸载代码以回滚特定的chage集。



是否有任何选项或机制可以为上述要求创建Windows安装程序。请建议。



谢谢你!!!



我尝试过的方法:



目前我们正在使用Windows powershell脚本。

Hi,

Basically we are releasing our changes/fixes in the form of manual installer (Windows powershell script). It will install specified .dll and SQL script files at particular locations by reading config file values (We will configure .dll & Sql script locations in this file). The same powershell script has uninstallation code to rollback particular chage set.

Is there any option or mechanism to create Windows installer for above requirement. Please suggest.

Thanks you !!!

What I have tried:

Currently we are doing using Windows powershell script.

推荐答案

多年来我一直在使用 Inno Setup ,这可能符合您的需求。
For years I have worked with Inno Setup, this might just fit your needs.


- VS有一个安装程序可以为您提供大量可自定义控件的项目 Microsoft Visual Studio 2017安装程序项目 - Visual Studio Marketplace [< a href =https://marketplace.visualstudio.com/items?itemName=VisualStudioProductTeam.MicrosoftVisualStudio2017InstallerProjectstarget =_ blanktitle =New Window> ^ ]



- 对于WiX WiX工具集 [ ^ ]也有VS自定义项目项目



- 您的要求听起来像是对 ClickOnce 感到满意(只是搜索那个术语),但你必须自己做评估,如果它不够好,可能是时候看看前两个选项...
- VS has a installer project that can give you a lot of customizeable control Microsoft Visual Studio 2017 Installer Projects - Visual Studio Marketplace[^]

- Same is true for WiX WiX Toolset[^] which also has VS custom project items

- Your riquirements sound like you could be happy with ClickOnce (just search for that term) but you will have to do the evaluation yourself, if its not good enough, its probably time to look at the first 2 options ...


我使用wix我也做了很复杂的设置。效果很好......
I use wix too - I do quite complex Setups with it. Works great...


这篇关于如何创建Windows安装程序。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆