Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Inno Setup install for another user

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?

like image 507
Steve Avatar asked Apr 23 '10 10:04

Steve


People also ask

Is Inno Setup free?

Inno Setup is a free installer for Windows programs by Jordan Russell and Martijn Laan.

Is Inno Setup open source?

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.

How do I Setup Inno Setup?

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.

What is Verysilent?

/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.


1 Answers

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

like image 147
Kyle Alons Avatar answered Nov 15 '22 07:11

Kyle Alons