Re: [WiX-users] FW: Custom action doesn't run if UAC is enabled

2009-02-13 Thread Edward Forgács
Thanks Bob. Sorry I didn't get back on this before, but I've only had a chance 
to look at it again.

I found in the log a line "Ignoring disallowed property" which referred to one 
the properties used to determine whether the custom action was running or not. 
It was also clear from the log that the custom action was not being executed.

By making this property which determined if the custom action an or not a 
"secure" property (Secure="yes" in the Property tag), the problem was solved.

Regards,

Edward Forgacs

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

Edward Forgács wrote:
> 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)?
>   

No. Check a verbose log to see what happens during execution.

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


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] FW: Custom action doesn't run if UAC is enabled

2009-02-02 Thread Bob Arnson
Edward Forgács wrote:
> 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)?
>   

No. Check a verbose log to see what happens during execution.

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


[WiX-users] FW: Custom action doesn't run if UAC is enabled

2009-02-01 Thread Edward Forgács
It's scheduled here:



(REMOVECONFIGOPTION = "1") AND (MAINTENANCEMODE = 
"Remove")

(REMOVECONFIGOPTION = "1") AND (MAINTENANCEMODE = 
"Remove")



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