Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to ensure an MSI installer updates the .exe file every time?

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?

like image 456
Chris Avatar asked Jun 10 '11 13:06

Chris


People also ask

What is the difference between an MSI Installer and an exe Installer?

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.

Can an MSI run a 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.

How does an MSI Installer work?

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.


1 Answers

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.

like image 170
Bob Arnson Avatar answered Oct 26 '22 16:10

Bob Arnson