I've been searching the solution for a while but ended up finding nothing. I would like to ask with Microsoft Setup Project, is there any way to force user to run setup from setup.exe instead of msi file? I tried some solution such as add Launch Condition but do not know how to pass parameter from setup.exe to the msi file...
The reason I ask this is because I need to run some exe files in the setup process and those files require administrator privilege. As you know already we cannot add something like manifest file to require admin privilege for msi file.
I would appreciate any idea.
You simply add the msi and setup.exe and choose to run the setup.exe. This tool creates an SED file which you could run in a post build event so you do not have to do it manually after every build. Save this answer.
Use the /v option to pass command-line options and values of public properties through to Msiexec.exe. Note: If you pass the /v parameter at the command prompt when launching Setup.exe, any parameters that are specified for the CmdLine keyname in Setup.
If there is no MSI version of the application or the EXE setup does not support silent installation, use application repackaging. Repackaging your application with Advanced Installer into an MSI or an EXE will fully support silent installation.
The main difference between the two extensions is their purpose. EXE is used mainly to indicate that the file is an executable one. In comparison, MSI indicates that the file is a Windows installer. While an MSI is used only with installers, this is not the case with EXE.
No, this is not supported by the Visual Studio setup EXE.
A solution is to wrap all your installation files into a self-extracting EXE archive. This archive can launch your setup EXE after extraction. For example, you can use IExpress: http://technet.microsoft.com/en-us/library/dd346760.aspx
Another solution is to use a different setup authoring tool which supports this directly: http://en.wikipedia.org/wiki/List_of_installation_software
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With