If I run the CA as immediate I get an error on uninstall, also when I tried 
moving the CA in the sequence it errors. I also notice that the files in use 
check happens before elevation so my CA woudn't have permissions anyway. I 
could remove the RM Files in use dialog altogether which will then not use 
RM and fall back to the FileInUse dialog which happens later, but still need 
to get the CA to run eariler. Where in the sequence would I move the CA to? 
Before InstallValidate right?

Oter solution is to change the dialog so that it returns immediately, is 
there a way to do this? I tried adding a publish event to a bitmap control 
but it doesn't seem to fire.


>From: Bob Arnson <[EMAIL PROTECTED]>
>To: Michael Carlisle <[EMAIL PROTECTED]>
>CC: wix-users@lists.sourceforge.net
>Subject: Re: [WiX-users] Uninstall Files in use
>Date: Tue, 14 Nov 2006 23:18:09 -0800
>
>Michael Carlisle wrote:
>>Currently I'm using a deferred CA sequenced after MsiUnpublishAssemblies. 
>>Where can I sequence this to run before the files in use check? I can find 
>>very little help on the uninstall sequence.
>
>The Files In Use dialog is shown during InstallValidate, so you can't do 
>the check in a deferred CA. It needs to be immediate. WiX has the start of 
>a CloseApps custom action to do this, but currently it's not hooked up in 
>UI.
>
>--
>sig://boB
>http://bobs.org
>
>

_________________________________________________________________
Be the first to hear what's new at MSN - sign up to our free newsletters! 
http://www.msn.co.uk/newsletters


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to