If the file is generated by a custom action during install, you should
have custom actions to remove it during uninstall & rollback too.

See http://msdn.microsoft.com/en-us/library/aa371101(VS.85).aspx for
suppressing the reboot prompt.

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: Blair [mailto:os...@live.com] 
Sent: 23 September 2009 00:49
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] How to schedule RemoveFile

What does your custom action do that requires it to generate a file in
the SYSTEM folder, and does it even have to run during uninstallation?

There are impacts that can occur changing the relative order of the
"standard" actions.

-----Original Message-----
From: Arvind Aiyar [mailto:arvind.ai...@microsoft.com]
Sent: Tuesday, September 22, 2009 10:29 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] How to schedule RemoveFile

I need to delete a file foo.dll from the SYSTEM folder on uninstall.
This foo.dll is generated by a Custom Action in the installer. Since
foo.dll is not part of the originally installed files so I use the
RemoveFile to do this and specify the file to be deleted on uninstall.
However, since it's a system file, I get the reboot will be required
dialog. Is there a way to suppress this ? Or maybe schedule the
RemoveFile until later when my Custom Action is done using it ?

-Arvind

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to