The solution I posted is not without problems. The issue is that the network admin has no way to pass the credentials to the uninstall. Passing them through public properties on the command line is not the safest way to go. The uninstall should be designed in a way that it does not fail when it can't connect to SQL, offfering the administrator a manual way to drop the database or whatever.
You could design the uninstall to try to connect to SQL using Windows Authentication using the credentials of the logged on user running the uninstall. There seems to be different ways, albeit none of them perfect. On Wed, Jan 28, 2009 at 2:39 PM , Bob Arnson wrote: > gree...@cox.net wrote: >> 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. >> > > What happens if a network admin runs an uninstall from the command > line? > > -- > sig://boB > http://joyofsetup.com/ > > > > > ------------------------------------------------------------------------------ > 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