Hi!
I created 2 msi with VSI, one for install and one for update.
In both, I created a feature 'A',
I fill tables:
-feature
-featurecomponents
-components
-files
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...
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
REINSTALL=myfeature... not reinstalled !
Started by
perri.potez
, Aug 28 2002 11:11
4 replies to this topic
Posted 30 August 2002 - 15:54
Some things to check:
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.
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.
Stefan Krüger
InstallSite.org twitter facebook
Posted 01 September 2002 - 18:16
Hi Stefan !
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 !
Perri.
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 !
Perri.
Posted 03 September 2002 - 17:44
Well Stefan,...doesn't work.
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)
-my files
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...
Thanks...
Perri.
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)
-my files
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...
Thanks...
Perri.
Posted 04 September 2002 - 06:48
I should have mentioned that in order to nstall an update (as full install package) you need to specify REINSTALL=ALL and REINSTALLMODE=vomus on the command line or in setup.ini (if you're using setup.exe to launch your install). The details of this are documented here on InstallSite under Windows Installer -> Tips -> Updates and Patches
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.
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.
Stefan Krüger
InstallSite.org twitter facebook