[wix-users] How to launch EXE file under current user account?

Dileep S dileep.sanampudi at gmail.com
Mon Apr 4 03:52:54 PDT 2016


using the above custom action, inside DllEntry, we call *.exe using create
process. This requires elevated permission to run the *.exe file.
Display UAC prompt before extracting the files instead of displaying UAC
prompt at the time of launching *.exe.

On Mon, Apr 4, 2016 at 3:15 PM, Farrukh Waheed <farrukh1 at gmail.com> wrote:

> I think, when you'll launch installation as Administrator, UAC may not be
> asked... but do try it..
>
> On 4 April 2016 at 14:15, Dileep S <dileep.sanampudi at gmail.com> wrote:
>
> > UAC prompt appears at the time of launching *.exe. But, can we get UAC
> > prompt before extracting files into the system?
> >
> > On Mon, Apr 4, 2016 at 1:31 PM, Farrukh Waheed <farrukh1 at gmail.com>
> wrote:
> >
> > > Windows Installer Service is actually running as msiexec.exe. If you
> > launch
> > > any MSI installation, you will see another msiexec in task manager.
> There
> > > may be more in child-process.
> > >
> > > Did you tried with Impersonate="yes" or "no"?, e.g.:
> > >
> > >     <Property Id="WixShellExecTarget" Value="[#myapplication.exe]" />
> > >     <CustomAction Id="LaunchApplication"         BinaryKey="WixCA"
> > >         DllEntry="WixShellExec"
> > >         Impersonate="yes" />
> > >
> > >
> > > On 4 April 2016 at 11:41, Dileep S <dileep.sanampudi at gmail.com> wrote:
> > >
> > > > Dear All,
> > > >
> > > > I have created MSI package using WIX script.
> > > >
> > > > When running an MSI, two process of msiexec is running in Task
> manager.
> > > >
> > > > 1. msiexec is running under SYSTEM.
> > > > 2. another msiexec is running under CURRENT USER account
> > > >
> > > > Using MSI package i have to launch an EXE file. That EXE file should
> > run
> > > > under current user.
> > > >
> > > > But, EXE is running under SYSTEM account.
> > > >
> > > > How to launch EXE file under current user account?
> > > >
> > > > Please help me on this.
> > > >
> > > > Thanks in advance.
> > > >
> > > > Regards,
> > > > Dileep
> > > >
> > > > ____________________________________________________________________
> > > > WiX Toolset Users Mailing List provided by FireGiant
> > > > http://www.firegiant.com/
> > > >
> > >
> > > ____________________________________________________________________
> > > WiX Toolset Users Mailing List provided by FireGiant
> > > http://www.firegiant.com/
> > >
> >
> > ____________________________________________________________________
> > WiX Toolset Users Mailing List provided by FireGiant
> > http://www.firegiant.com/
> >
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>



More information about the wix-users mailing list