I think you can edit the registry (via custom action or another way) to set WindowsInstaller to 0, and change UninstallString to "MsiExec.exe /x {blah} /l*v C:\q.txt". I don't know what is the best way to achieve this, or if there won't be any ill effects.
Castro, Edwin G. (Hillsboro) wrote: > I don't think it's possible to enable logging at uninstall time from the > control panel to a custom location for a very specific package. > _As I understand it_ the control panel simply does the equivalent of > > Msiexec.exe /x [productcode] > > That's it. Your only option is to enable logging for all installers *OR* > uninstall from the command line. > > Edwin G. Castro > Software Developer - Staff > Electronic Banking Services > Fiserv > Office: 503-746-0643 > Fax: 503-617-0291 > www.fiserv.com > Please consider the environment before printing this e-mail > > > -----Original Message----- > From: Sai Kodi [mailto:saik...@hotmail.com] > Sent: Friday, August 06, 2010 9:50 AM > To: 'General discussion for Windows Installer XML toolset.' > Subject: Re: [WiX-users] Logging while uninstalling from Control Panel > > Hi Pally, > > That's not what I am looking for. I have already done that search and I know > how that works. > > I want to be able to create a log file during uninstallation only at a custom > location with a custom file name. I don't want to enable logging for all the > installers. I just want to log the uninstallation of my application. > Using msiexec, I can do that using: > > Msiexec.exe /x [productcode] /l*v uninstall.log > > How can I achieve a similar behavior while uninstalling from Control Panel? > > Thanks, > Sai Kodi > > -----Original Message----- > From: Pally Sandher [mailto:pally.sand...@iesve.com] > Sent: Friday, August 06, 2010 4:05 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Logging while uninstalling from Control Panel > > http://lmgtfy.com/?q=how+to+enable+windows+installer+logging > > Palbinder Sandher > Software Deployment & IT Administrator > T: +44 (0) 141 945 8500 > F: +44 (0) 141 945 8501 > > http://www.iesve.com > **Design, Simulate + Innovate with the <Virtual Environment>** Integrated > Environmental Solutions Limited. Registered in Scotland No. > SC151456 > Registered Office - Helix Building, West Of Scotland Science Park, Glasgow > G20 0SP Email Disclaimer > > -----Original Message----- > From: saikodi [mailto:saik...@hotmail.com] > Sent: 06 August 2010 07:51 > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] Logging while uninstalling from Control Panel > > > Hello All, > > If the user uninstalls an application from Control Panel, is it possible to > provide an uninstallation log file somehow for the uninstallation process? > If so, how would I provide that log file name and location? > > Please advise. > > Thanks, > Sai Kodi > -- > View this message in context: > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Logging-wh > ile-uninstalling-from-Control-Panel-tp5379515p5379515.html > Sent from the wix-users mailing list archive at Nabble.com. > > ------------------------------------------------------------------------ > ------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > ---------------------------------------------------------------------------- > -- > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users