I am currently involved in the development of the NSIS installer. This installer uses the UAC plugin to upgrade to be able to install it in a directory inside Program Files. Now the installer goes up to .onInit, at the very beginning. Then the user can select the path, and even if this path is outside the program files, the installer is already running as an elevated one. Is it possible to raise only after the user has selected a path, if administrator rights are required for this path? Or is it not recommended?
source share