Upgrading Files in NEEDSUPGRADE-Mode

Got a problem you cannot solve? Try here.
Post Reply
sq-rom
Posts: 10
Joined: Thu Oct 07, 2010 6:15 am

Upgrading Files in NEEDSUPGRADE-Mode

Post by sq-rom »

When I upgrade an older Installation by running a newer setup with the same product code but with a different revision code, I met the problem that my files are not updated.

I made sure that my files have changed in size and edit date but after the installation the file is still the same as it was before.
I also have the line with install files before apply install

Is that default behavior of MSI? In the help it says that older files are replaced if they already exist on the target.
mills
Posts: 814
Joined: Tue Jul 06, 2010 7:10 pm
Location: Honolulu, HI

Re: Upgrading Files in NEEDSUPGRADE-Mode

Post by mills »

It sounds like you might be wanting to use a patch. With an upgrade, the previous version should be removed and the new version installed.

Does your setup go through a "previous version uninstall"?

How was your project created, based on what template?
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
sq-rom
Posts: 10
Joined: Thu Oct 07, 2010 6:15 am

Re: Upgrading Files in NEEDSUPGRADE-Mode

Post by sq-rom »

I found the mistake. I didn't run the uninstall of the previous version as you said. :oops:

Maybe the Patch solution would be better in this case.
thanks
Post Reply