Build an installer

偶尔善良 提交于 2019-12-14 04:04:39

问题


I need to build an installer for my application (using Windows Installer technology - MSI file). Requirements for this installer: 1. Embed component in installer (ex: .NET Framework 4.0 Full). 2. Detect the present of this component. 3. If this component is not installed yet, installer will install it before. Installer will display a dialog with info "Installing the component ..." and the component is installed silent. If user cancel to install this component, the installer is also cancelled. 4. After installing this component successful, install the application. Thanks.

I download Splash Lite from website: http://mirillis.com/en/downloads/downloads_splash.html. I like this installer because it matches my requirements. Because I am a newbie, anyone can give me some guides to create an installer like this. Thanks.

Some screenshot:

PLease help me. Thanks.


回答1:


Visual Studio has the tools and templates built-in.

In your solution, choose Add New Project, Other Project Types, Setup, VS Installer.

Choose the Setup Wizard and follow the steps.




回答2:


Have a look at this codeplex project: dotNetInstaller

worked fine for me.



来源:https://stackoverflow.com/questions/5881027/build-an-installer

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!