REINSTALL=myfeature... not reinstalled !
Posted 28 August 2002 - 11:11
I created 2 msi with VSI, one for install and one for update.
In both, I created a feature 'A',
I fill tables:
And I put REINSTALL=A,REINSTALLMODE=amus in properties of the second msi.
Then i use my first msi, 'install', files are well installed.
After i use seconde msi, but file of my feature A are not replaced !
What's wrong ?
Thanks in advance...
Posted 30 August 2002 - 15:54
both projects need to use the same product code
matching componentns in both projects must have identical GUIDs
The typical way is to generate the new version from the same install project, updating only the files and changing the package code.
Posted 01 September 2002 - 18:16
Thanks for your reply...
I have same component GUID but different product code...
So i will try to do what you say...
If it works, i'll drink a glass thinking of you !
Posted 03 September 2002 - 17:44
When I change only Package Code and execute msi,
Windows Installer tells me that another version of this product is already installed and use add/remove program.
In fact, i want to do that because:
-my msi contains msm of VC6 (like MFC42.MSM)
and I want to update easily by overwriting always my files. That's why I use REINSTALLMODE=amus. But with this action, I overwrite dll of MFC42.MSM too ! And that's not nice...
So i wanted to create feature with my files...
I didn't know how to do...
Posted 04 September 2002 - 06:48
The alternative would be a Major Upgrade, i.e. change product code and populate the Upgrade table. This will first (automatically) uninstall the old version and then install the new version.