... and there's something about conflating a system activity (patch uninstall) with database rollback that would make me nervous. ;)
However, MSI 4.5 and later does have a patch uninstall custom action, that might be an option, but my inclination would be to use it to set a flag somewhere so that the application itself can prompt the user for database rollback. http://msdn.microsoft.com/en-us/library/windows/desktop/aa370739(v=vs.85).as px Phil -----Original Message----- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Thursday, March 21, 2013 10:10 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Can Patch Uninstall from Programs & Features be given a UI? No, the Windows Installer doesn't support UI (beyond a progress bar) during uninstall. On Wed, Mar 20, 2013 at 7:01 PM, Rob Goodridge <goodridge....@gmail.com>wrote: > Hi, > > Our product may ship database changes in a Patch. > > The database may be shared between users. > > We are not recording the current state of the database - like save the > Upgrade Code, Product Code and Patch Code in a table in the database, > so we can't derive whether the database has already been rolled back. > Its been considered but its quite complex to make foolproof. > > When the Patch needs to be removed, only one user must rollback the > database changes. This means we need to ask the uninstaller whether or > not to uninstall the database changes. > > In Programs and Features there is just an Uninstall option, which can > be removed. When you uninstall there is no UI. And by default the > database is not rolled back, of course. > > Can a UI be added? > > (I know the command line can be used. Thats what we already tell our users. > We would just like the most common method used to uninstall the patch > - Programs & Features - to prompt for database rollback.) > > warm regards > > Rob Goodridge > > ---------------------------------------------------------------------- > -------- Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics Download AppDynamics Lite > for free today: > http://p.sf.net/sfu/appdyn_d2d_mar > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ---------------------------------------------------------------------------- -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users