The relevant source code is:
   <InstallExecuteSequence>
     <RemoveExistingProducts After="InstallValidate" />
   </InstallExecuteSequence>

Where should I schedule it instead?

--
Tom


Wilson, Phil wrote:
> Where is your RemoveExistingProducts sequenced? A major upgrade will not use 
> file update rules if it's sequenced early in the install, such as just after 
> InstallInitialize.
> 
> Phil Wilson
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Singer
> Sent: Wednesday, July 09, 2008 12:25 AM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Prevent overwriting a modified text file when 
> upgrading
> 
> I want to add: I've read in the mailing list archive, that the installer by
> default should *keep* the file, but for our tests it definitely
> overwrites/uninstalls the file.
> 
> --
> Tom
> 
> 
> Thomas Singer wrote:
>> Our installers install also a configuration (text) file where - if necessary
>> - the user can configure some options to run our application. Unfortunately,
>> it will be overwritten without request when installing an upgrade (different
>> Product Id, different Product Version) using "msiexec /i <msi-file>". We are
>> using WiX 3.0.4227.0.
>>
>> How we can prevent overwriting this file?
>>
>> --
>> Thanks in advance,
>> Tom
> 
> 
> -------------------------------------------------------------------------
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 
> 
> -------------------------------------------------------------------------
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to