Search code examples
uacnsis

NSIS installer opens up in the background


I have an NSIS installer that requires UAC elevation. When my setup.exe is executed through Chrome or IE, the UAC elevation dialog is displayed, but when the user confirms, Chrome comes back to the front and the installer is opened behind it.

It's worth nothing that I am using the UAC plugin (0.2.2c) and that bug was discussed a bit here, but even if I remove all traces of the plugin, the problem persists. Any ideas?


Solution

  • The problem was with invoking the inetc plugin in the .OnInit problem. See the examples here.