Re: [WiX-users] Storing a Property

2010-03-19 Thread David J. D'Amico
FIGCHOICE=2 AND (NOT UPGRADINGPRODUCTCODE) AND (REMOVE="ALL") AND (NOT WIXUI_DATABASESERVER="") -Original Message- From: Wendell Joost [mailto:wende...@gmail.com] Sent: Thursday, March 18, 2010 6:03 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] S

Re: [WiX-users] Storing a Property

2010-03-18 Thread Wendell Joost
Write the property to the registry hklm\software\[company]\[productname]\[version]\DatabaseName=Value Read the property during uninstall. If property isn't found, don't execute the uninstll script. Wendell On Thu, Mar 18, 2010 at 2:46 PM, David J. D'Amico wrote: > I'm running a database script

[WiX-users] Storing a Property

2010-03-18 Thread David J. D'Amico
I'm running a database script as part of my installation. There is a text box that the user can type the name of a SQL Server. During the install process a script is run on the server specified by the user. On uninstall I want to run another script that will the undo all the changes to the database