My dotNetInstaller setup contains the following:
- Windows Installer 3.1
- .NET Framework 2.0
- My acutal application setup (NSIS-based)
Since my setup (3.) launches the installed application at the end of the installation process, I must start this as the current user, not the elevated administration user that is being used during the installation.
I use the UAC plug-in for NSIS for that task, which required to be started as a normal UAC user first and then internally elevates to UAC administration user.
Everything works correctly if I launch the NSIS setup directly, i.e. not from the dotNetInstaller.
When being launched at the end of the dotNetInstaller setup (as step three, as described above), the NSIS setup is being started as an elevated administration user, which results in a wrong startup user for the setup.
My question is:
Can I somehow tell dotNetInstaller to launch my actual application setup as the current user, not the elevated user which is used to install the prerequisites?