Amit,

That is how major upgrade works.  If you want to preserve Config files during 
major upgrade you have to either copy files to temp folder before upgrade and 
restore them after or you need to write custom action which will read the 
changes from the Config files, preserve them somewhere (like registry) and 
restore these values after upgrade.


Alex


-----Original Message-----
From: Amit Shrivastav [mailto:[EMAIL PROTECTED]
Sent: Friday, October 17, 2008 2:55 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Major upgrade scenario problem

HI All,

Here is the scenario i am working on.
1) I created a msi. it is deploying some binaries and config files to the
system.
2) Now we are planning to give major upgrade of that product. In that we are
modifying the binaries but not the config files.
3) In upgrade scenario if i am mentioning the OnlyDetect="no" then it is
uninstalling the completely previous product including config files as well.

<Upgrade Id="GUID">

<UpgradeVersion Maximum="ver" Property="UPGRADE_PROPERTY" MigrateFeatures='
yes' IgnoreRemoveFailure='no' IncludeMaximum='no' OnlyDetect='no'/>

</Upgrade>

4) In upgrade scenario if i am mentioning the OnlyDetect="yes" then it is
creating two entries in the add/remove program which we dont want.

<Upgrade Id="GUID">

<UpgradeVersion Maximum="ver" Property="UPGRADE_PROPERTY" MigrateFeatures='
yes' IgnoreRemoveFailure='no' IncludeMaximum='no' OnlyDetect='yes'/>

</Upgrade>

Has anybody faced such type of issue? Please let me know what can i do to
overcome this problem.

Any help will be appreciated.

Thanks

Amit
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to