Re: [WiX-users] Run a custom exe with administrator privileges with burn

2011-07-05 Thread Michael Stoll
So I added a feature request (3354758). I stick with the second prompt for now, because I want to start the application when the boostrapper closes. Michael Am 05.07.2011 17:20, schrieb Rob Mensching: > Burn doesn't have anything built in to do this yet, although we've talked > about it a lot.

Re: [WiX-users] Run a custom exe with administrator privileges with burn

2011-07-05 Thread Rob Mensching
Burn doesn't have anything built in to do this yet, although we've talked about it a lot. Currently, you'd have to schedule your ExePackage as the last thing in the Chain and mark it @PerMachine="yes". Then you'd have to have your BA or a very cleverly designed InstallCondtiion control when the Exe

Re: [WiX-users] Run a custom exe with administrator privileges with burn

2011-07-05 Thread Rob Hamflett
I don't know much about how Burn works, sorry. The only thing that springs to mind is if Burn itself was elevated. Rob On 05/07/2011 14:54, Michael Stoll wrote: > I tried starting the application in the close command of the mba. But > then the user is prompted twice for administration privileg

Re: [WiX-users] Run a custom exe with administrator privileges with burn

2011-07-05 Thread Michael Stoll
I tried starting the application in the close command of the mba. But then the user is prompted twice for administration privileges (Once by burn and once by the app). So I assume that the UI is running without elevation. Is it possible to tell burn to run the application from within the elevat

Re: [WiX-users] Run a custom exe with administrator privileges with burn

2011-07-05 Thread Rob Hamflett
If you run a process that requires admin privileges then it will prompt, unless you run it from a process that is already elevated. If Burn is elevated then you'll be fine, otherwise you'll get the prompt. Rob On 05/07/2011 11:30, Michael Stoll wrote: > Hi, > > I want to start an application

[WiX-users] Run a custom exe with administrator privileges with burn

2011-07-05 Thread Michael Stoll
Hi, I want to start an application after burn has finished setup. This appliation needs administrator privileges. Is it possible start the application without prompting for elevation (using the same elevation mechanism as the setup)? Michael --