If you can find a Way to set LaunchTarget to True without requiring  
user input, you can achieve your Behavior

Quoting Ryan Waller <rwal...@microsoft.com>:

> I've tried that but it requires the user to click a button after  
> install completes, and they can also cancel. Neither is desirable.
>
> Can this be invoked without the button click?
>
> Ideally I would just like to have my MSI executed without elevation,  
> just like when running msiexec.exe from the command line.
>
>
>
> -----Original Message-----
> From: Hoover, Jacob [mailto:jacob.hoo...@greenheck.com]
> Sent: Monday, November 3, 2014 2:45 PM
> To: General discussion about the WiX toolset.
> Subject: Re: [WiX-users] Bootstrapper runs msiexec elevated which  
> causes my MSI CustomAction to run elevated
>
> WixStdBA handles this without a CA via:
>
> <Variable Name="LaunchTarget"  
> Value="[ProgramFilesFolder]\Blah\Blah\Application.exe"/>
>
>
> -----Original Message-----
> From: Ryan Waller [mailto:rwal...@microsoft.com]
> Sent: Monday, November 03, 2014 4:32 PM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Bootstrapper runs msiexec elevated which causes  
> my MSI CustomAction to run elevated
>
> I've authored an MSI package that uses a CustomAction to launch an  
> application after install completes. The package requires elevation  
> but the CustomAction is scheduled after InstallFinalize to launch  
> the application as the Standard User, not elevated.
>
>
>
> When installing the MSI alone using msiexec.exe, things work as  
> expected, and my application launches correctly as the Standard User.
>
>
>
> However, we're using the WIX Standard BA bootstrapper to chain this  
> package in a install bundle. The problem is, when this MSI package  
> runs as part of the BA, it runs elevated, and so too does the  
> CustomAction, which in turn launches the app elevated, which is not  
> what we want. It seems that the BA launches msiexec.exe elevated.
>
>
>
> Is there a way to keep the BA from launching the MSI elevated?
>
>
>
>
>
> Thanks in advance,
>
> Ryan
>
> ------------------------------------------------------------------------------
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> ------------------------------------------------------------------------------
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> ------------------------------------------------------------------------------
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>




------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to