I agree it sounds bizarre.  Here is a short explanation:

The installer puts some temp files under X:\Program Files, runs some code to 
modify a Java-based system, and generates some log under it. What's installed 
are purely temporary and will never be used after installation.

The requirements are to use MSI to deliver the temp files.

I could also wrap 2 commands in a custom app:

msiexec.exe /i my.msi
msiexec.exe /x my.msi

But if possible would like to allow user to double click my.msi and get it done.

Thanks.

Guang


-----Original Message-----
From: Pally Sandher [mailto:pally.sand...@iesve.com] 
Sent: Monday, March 29, 2010 12:44 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] how to install nothing

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&#174; 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

------------------------------------------------------------------------------
Download Intel&#174; 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

Reply via email to