Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Exe version in MSI installer file name (VS 2010)

is it possible to make Visual Studio 2010 installer output file name, containing exe version, something like "setup[MajorExeVersion][MinorExeVersion].msi"?

Thanks!

like image 246
Chojny Avatar asked Jul 21 '10 11:07

Chojny


People also ask

What is difference between MSI and EXE file?

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.

What is the difference between MSI installer?

An MSI is a Windows Installer database. Windows Installer (a service installed with Windows) uses this to install software on your system (i.e. copy files, set registry values, etc...). A setup.exe may either be a bootstrapper or a non-msi installer.

What is an MSI file exe?

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

As far as I know there is no easy way to do so.

In principle you could write a simple application which checks for the version of the exe and renames your MSI as part of a post-built step. However, the name of the MSI is baked into the setup.exe bootstrapper, so you would also have to patch that in case that you need to install any pre-requisites.

like image 87
Dirk Vollmar Avatar answered Sep 25 '22 21:09

Dirk Vollmar