If you need properties at uninstall time you need to persist them
somewhere and read them on uninstall, the registry is a common location
for these.

Neil

-----Original Message-----
From: Peter Oehlert [mailto:poehl...@securityinnovation.com] 
Sent: 24 January 2009 19:58
To: 'General discussion for Windows Installer XML toolset.'
Subject: [WiX-users] Install variable not kept around for uninstall?

So my scenario is that I query the user at install time what the
database
server, instance, and name should be. I then use these variables in a
<sql:SqlDatabase /> element to install a database. 

 

This works great, except that if I change any of the default values at
uninstall it seems to go back to using the default values. I basically
have
a UI Dialog with a Edit control that is tied to a property for each of
these
values. I then dereference the property in the SqlDatabase element. How
do I
persist this value so that when I uninstall it tries to drop the correct
database rather than the default one?

 

 

Thanks in advance,

Peter Oehlert

------------------------------------------------------------------------
------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to