WIX/DTF - How do I elevate deffered managed custom actions?
Posted
by Jarrod
on Stack Overflow
See other posts from Stack Overflow
or by Jarrod
Published on 2010-03-11T16:43:27Z
Indexed on
2010/03/11
17:59 UTC
Read the original article
Hit count: 423
We are working on creating an installer using WIX. We have a couple of custom actions that are going to require elevation to run on Vista. Our MSI obviously elevates itself, because I get a UAC prompt and it writes keys to HKLM. Our managed DTF custom actions are apparently not running elevated. If I start the MSI from an elevated command prompt, the installation runs fine.
The only workaround I have seen suggested (link) is to use another exe with a manifest as a bootstrapper to run the MSI. This is not a good solution, as it doesn't allow the user to modify the installation by selecting "Change" from the Add/Remove programs dialog. Our install has multiple features that can be customized, so we want this functionality.
Does anybody know how to do this?
© Stack Overflow or respective owner