name of the msi file

  • Thread starter Thread starter Viviana Vc
  • Start date Start date
V

Viviana Vc

Hi all,

As far as I read the name of the MSI file can't be changed from one
release to another. Is this correct? I mean I release different versions
of my product so I would have liked to have AppName_1.0.msi and
AppName_2.0.msi. Isn't this possible?

I assume this rule wouldn't apply to setup.exe correct?

Thanks,
Viv
 
You can change the name of an msi between major upgrades. In practice you can change the name of
any msi, but if Windows Installer wants the original msi for something, it'll ask for it by name.
It'll use the name of the msi that was first used to install the product, which is why you're
subsequent minor upgrades need to have the same file name as the original installed file.

Rob
 
If your msi file needs to extract info from a previously installed msi
file, it is possible to find the file name of the previous version by
using the previous version's product code.

You can then use the product code to determine the name of the locally
cached msi file (e.g. using MsiGetProductInfo to retrieve the
INSTALLPROPERTY_INSTALLSOURCE property)
 
Back
Top