Michael Carlisle wrote:
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.

The Files in Use model is to report, not force the apps to close during the immediate sequence. The CloseApps custom action uses that but does the closing as an elevated CA.

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?

InstallValidate is where MSI does files-in-use detection. You can suppress RM support with the MSIRESTARTMANAGERCONTROL property <http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/msirestartmanagercontrol.asp>.

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.

MSI UI doesn't support that, AFAIK.

--
sig://boB
http://bobs.org

-------------------------------------------------------------------------
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