Is there some easy, hassle-free way to get the MSI installation to always replace the .exe file (i.e. Primary Output) whenever the .exe file is more recent?
This is just basic and common sense. Wherever I search there are always complicated discussions about major and minor versions and patches. There must be some simple way to ensure the file gets replaced during an install. Otherwise, what is the MSI file actually doing during the whole installation procedure. It's like a fake install where nothing actually gets replaced/updated/upgraded.
What am I missing?
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.
Re: EXECUTE EXE IN MSIYou can try moving the custom action which launches "setup.exe" under the "InstallExecuteSequence" -> "Begin" standard action in the Custom Actions page. You can show the "Begin" standard action by using the "Show Standard Action" toolbar button or context menu.
The MSI file extension is used to install software on Windows operating systems. It can be used to install, uninstall, configure, and update programs on the computer. Vendors can offer their software packages in both . msi and .exe format, and you will most likely see both options on software download pages.
Everything works in a "common sense" way as long as you increment the version number of the .exe. MSI trusts version info over more malleable aspects like a file's timestamp.
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