On Fri, Jul 19, 2013 at 8:35 AM, Chen, Jianxin <jianxin.c...@bakerhughes.com > wrote:
> “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 InstallInitialize or after > InstallFinalize). All actions that occur outside the installation > transaction.”**** > > I must have pressed enter too quickly. The last sentence should read: All actions that occur outside the installation transaction do *not* execute elevated. You want to schedule the CustomAction between InstallInitialize and InstallFinalize. Is there an easy way to grant some user different access permission to > different folders during Wix installation process? > Yes, use PermissionEx. This is always preferred to you writing your own custom action for granting permissions. -- Edwin G. Castro ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users