It's scheduled here:

<InstallExecuteSequence>

        <Custom Action="SetConfigFilesFolder" 
After="RemoveFiles">(REMOVECONFIGOPTION = "1") AND (MAINTENANCEMODE = 
"Remove")</Custom>

        <Custom Action="RemoveConfigFiles"
                                
After="SetConfigFilesFolder">(REMOVECONFIGOPTION = "1") AND (MAINTENANCEMODE = 
"Remove")</Custom>

</InstallExecuteSequence>

I'm open to suggestions if there's a better place to schedule it, but obviously 
it needs to run after the SetConfgFilesFolder action which sets 
CustomActionData to the folder containing the files it needs to get rid of.

Is it possibly getting confused with the After="SetConfigFilesFolder" when that 
is an immediate action without impersonation (it's just an action which sets a 
property, so it has to be)?

Thanks,

Edward Forgacs

-----Original Message-----
From: Bob Arnson [mailto:b...@joyofsetup.com] 
Sent: Monday, 2 February 2009 6:49 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Custom action doesn't run if UAC is enabled

Edward Forgács wrote:
> <CustomAction Id="RemoveConfigFiles" BinaryKey="RemoveConfigFiles" 
> VBScriptCall="RemoveConfigFiles" Impersonate="no" Execute="deferred" 
> Return="ignore" />
>   

How is the CA scheduled?

-- 
sig://boB
http://joyofsetup.com/



------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to