First question would be "Why?" You could do something like that by engineering a rollback right at the end of the installation but you're trying to do something so bizarre I've no idea where you'd even begin. I guess you could have a Custom Action at the end which intentionally fails to start the rollback but how you'd handle the UI to fake success messages in that situation is beyond me.
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: Lan, Guang (Jersey City) [mailto:guangming....@fiserv.com] Sent: 29 March 2010 17:28 To: wix-users@lists.sourceforge.net Subject: [WiX-users] how to install nothing Hi, At the end of my install I want to make it uninstall everything from INSTALLLOCATION, remove ARP registration, and leave nothing behind. The attached code shows my attempt to use <SetProperty> to set "REMOVE=ALL". I saw in the msiexec log that the property got set but it didn't cause uninstall I as hoped. I know I can call some external code and return 1603 (ERROR_INSTALL_FAILURE) to cause an error, but I was hoping to do it in WiX and as a success. Thanks. Guang ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users