[WiX-users] Keep File on upgrade

2015-05-06 Thread Brian Enderle
We distribute a config file with our product (stored in C:\ProgramData\MyCompany) that contains licensing info (entered after installation) that doesn't change between releases. How do I setup this file in the Product.wxs such that the file is installed if it doesn't currently exist. If the file

Re: [WiX-users] Keep File on upgrade

2015-05-06 Thread John Cooper
sage- From: Brian Enderle [mailto:bria...@gmail.com] Sent: Wednesday, May 6, 2015 10:23 AM To: WiX Users Subject: [WiX-users] Keep File on upgrade We distribute a config file with our product (stored in C:\ProgramData\MyCompany) that contains licensing info (entered after installation) that doe

Re: [WiX-users] Keep file on Upgrade?

2011-11-01 Thread Wilson, Phil
e the file, and you don't need to deal with it. Phil Wilson -Original Message- From: Dirk Räder [mailto:d...@raeder.cc] Sent: Tuesday, November 01, 2011 12:01 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Keep file on Upgrade? Hi Mich

Re: [WiX-users] Keep file on Upgrade?

2011-11-01 Thread Dirk Räder
Hi Michael, you could use two Custom Actions to do so - the first (scheduled before installation) copies the file, the second (after InstallFinalize) copies it back and deletes the temporary file. Or you could add use a separate component for that file and add an install condition to the componen

[WiX-users] Keep file on Upgrade?

2011-10-31 Thread Michael Tissington
I have a text file that has been modified in a folder under ProgramData. When doing an upgrade I need to keep the file If the file exists I'd like to take a copy of it to a temp location, Perform the upgrade and then copy the file back. How can I do this? --