Wix, Launch application after installation complete, with UAC turned on.

Posted by Christopher Roy on Stack Overflow See other posts from Stack Overflow or by Christopher Roy
Published on 2010-02-17T17:33:39Z Indexed on 2010/05/01 21:57 UTC
Read the original article Hit count: 1098

Filed under:
|
|
|

Good day.

I've been building an installer for our product using the WIX(Windows Installer XML) technology. The expected behavior is that the product is launched, if the check box is checked after installation.

This has been working for some time now, but we found out recently that UAC of Win 7, and Vista is stopping the application from launching. I've done some research and it has been suggested to me that I should add the attributes

Execute='deferred' and Impersonate='no'.

Which I did, but then found out that to execute deferred, the CustomAction has to be performed, between the InstallInitialize, and IntallFinalize phases; which is not what I need. I need the product to launch AFTER install finalize, IF the launch checkbox is checked. Is there any other way to elevate permissions?

Any and all answers, suggestions, or resonings will be appreciated.

Cheers, Christopher Roy.

© Stack Overflow or respective owner

Related posts about wix

Related posts about uac