name of the msi file

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
 
R

Rob Hamflett

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
 
B

Bugbear.1973

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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top