How I have handled this is to disable the uninstall from ARP (Add/Remove Programs). Set the ARPNOREMOVE property I believe, but allow the user to select Modify in ARP. When the user selects Remove from the Maintenance dialog, assume you have such a radio button, INSTALLSHIELD installs typically do, then you can prompt the user for the SQL credentials in the UI Execute Sequence.
The problem is that you have to prompt for credentials, but you don't get a gui from the ARP uninstall. greenaj ---- Chad Petersen <chad.peter...@harlandfs.com> wrote: > How do you handle the case where the SQL server credentials you stored > are not current when you go to uninstall. For example, > > 1. Install your product, storing the SQL credentials > 2. Go into SQL Server Management Studio > 3. Change the password for the user stored above > 4. Uninstall > > Unless you prompt during the uninstall for the new password wouldn't > this fail? Our customers are always changing their passwords so we can't > rely on it being the same during the uninstall as when they installed. > > Just curious > > Chad > > -----Original Message----- > From: Yan Sklyarenko [mailto:y...@sitecore.net] > Sent: Wednesday, January 28, 2009 8:23 AM > To: General discussion for Windows Installer XML toolset. > Subject: [WiX-users] Where to store SQL Server login credentials > foruninstall? > > Hello WiX community, > > This is rather a 'best practice' question. > My installation needs MS SQL server credentials to run attach scripts. > This info is requested from user. Those values which are necessary > during uninstall are usually kept in system registry. But in this case > we are storing MS SQL password in plain text. > > Is there any other way to secure this info, but still have it available > during uninstall? I can think only about storing hash at the moment... > > Thank you. > > -- Yan > > > > ------------------------------------------------------------------------ > ------ > 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 ------------------------------------------------------------------------------ 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