[WiX-users] elevated CustomAction with Impersonate = no and Execute="deferred"

2013-07-19 Thread Chen, Jianxin
Hi, Edwin or Wix Experts, I had the issue as you mentioned in one of your replies. "One reason why this CustomAction works from an elevated command prompt but not from a non-elevated shell is that the CustomAction is scheduled outside of the installation transaction (before InstallInitializ

Re: [WiX-users] C# custom action to grant builtin user the installation folder full control

2013-07-16 Thread Chen, Jianxin
at will allow attackers to inject arbitrary code into your application by copying a file to the application's directory. On Tue, Jul 16, 2013 at 10:59 AM, Chen, Jianxin < jianxin.c...@bakerhughes.com<mailto:jianxin.c...@bakerhughes.com>> wrote: > Hi, Experts, > &g

[WiX-users] C# custom action to grant builtin user the installation folder full control

2013-07-16 Thread Chen, Jianxin
Hi, Experts, I created a C# custom action to grant the builtin\users full control of the installation target folder, but I have to run the "setup.exe as administrator" to make it work. If I just double-click the setup.exe, my custom action does not have the permission to change the folder. I