[WiX-users] UAC Elevation in ControlEvent DoAction Type 2 - SOLVED

2008-09-23 Thread Joaquin Jares
I kept investigating and I found out that the DLL doesn't need elevation. So I turned the EXE into a DLL, and it works. I think (and this is pure guesswork) that the elevation is required to run the exe from Temp (where MSI extracts it). So there's actually 2 options: 1. Use a DLL instead of

[WiX-users] UAC Elevation in ControlEvent DoAction Type 2

2008-09-23 Thread Joaquin Jares
I have a type 2 action that's being invoked in the DoAction event of a PushButton. In Vista, this action works ok when I run the setup elevated. My setup generally runs elevated, because it's being run by a bootstrapper. When not running elevated, the action fails to run with the following error: