When a user has restricted rights on his/her computer and runs my Inno Setup installer, Windows pop-up an administrator login prompt.
The problem is that when the administrator types in his/her username and password and logs-in, Inno Setup thinks that he or she is the logged in user and installs my app for that user instead of the original one. (I'm installing files in the {userappdata}
dir)
Is there a way to overcome this limitation and install for the original restricted user?
Inno Setup is a free installer for Windows programs by Jordan Russell and Martijn Laan.
Inno Setup grew popular due to being free and open source; free for both commercial and non-commercial use, many software companies switched to the tool.
Go to Menu, Project, then Compile to compile and create the setup file. This will create a complete installer. Run the Setup and your application will be installed correctly. Innosetup offers an awesome alternative to create great looking Installers for free.
/SILENT, /VERYSILENTInstructs Setup to be silent or very silent. When Setup is silent the wizard and the background window are not displayed but the installation progress window is. When a setup is very silent this installation progress window is not displayed.
Specify PrivilegesRequired=none and construct your script to work with or without admin rights. See here for more details:
http://www.kinook.com/blog/?p=53
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With