Hi Kai, AFAIK, you will need to create a custom action to "backup" this ini file. To avoid future problems, create a component for this file and set it as Permanent. Roughly this way:
1) Backup ini file to %TEMP%, for example 2) RemoveExistingProducts 3) Install a file with same name from Component during normal upgrade (set as Permanent) 4) Restore your file to your installation directory, overwritting your installed ini file (CA before InstallFinalize) 5) Erase your backup 6) InstallFinalize But, of course, there might be a better solution for this - and I'm willing to hear about it, I had the same problem before :-). BR, Marlos 2013/8/15 Kai Peters <kpet...@otaksoft.com> > Hi Marlos, > > yes, that's what is happening > > BR, > Kai > > > On Thu, 15 Aug 2013 10:07:33 -0300, Marlos Gottschild wrote: > > Hi Kai, > > > > Is your file deleted if the previous (Wise) installation package is > uninstalled? > > > > BR, > > Marlos > > > > > > 2013/8/14 K Peters <kpet...@otaksoft.com> > > > >> Hi all, > >> > >> my problem is this: > >> > >> I have to deal with MSIs that are out in the wild (created with Wise); > our next MSIs will be > >> created with Wix since Wise doesn't exist anymore. > >> > >> These old MSIs have installed an inifile that needs to survive a major > upgrade coming from the > >> new Wix based MSI. > >> > >>> From decompiling an old MSI I conclude that it contained a custom DLL > used > >>> > >> to make a backup of said inifile and then copy it back into place at > then end of the upgrade. > >> > >> Will I have to do the same or is there (much preferred) a way to > achieve this without a custom > >> dll? > >> > >> TIA, > >> Kai > >> > >> PS: Blair - thank you much for all your answers - much appreciated! > >> > >> > ------------------------------------------------------------------------------ > Get 100% > >> visibility into Java/.NET code with AppDynamics Lite! It's a free > troubleshooting tool designed > >> for production. > >> Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get > >> started troubleshooting in minutes. > >> > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk > >> _______________________________________________ WiX-users mailing list > WiX- > >> us...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > >> > > > ------------------------------------------------------------------------------ > Get 100% > > visibility into Java/.NET code with AppDynamics Lite! It's a free > troubleshooting tool designed > > for production. > > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get > > started troubleshooting in minutes. > > > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk > > _______________________________________________ WiX-users mailing list > WiX- > > us...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > ------------------------------------------------------------------------------ > Get 100% visibility into Java/.NET code with AppDynamics Lite! > It's a free troubleshooting tool designed for production. > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users