ChrisJ
Posts: 7
Joined: Fri Oct 02, 2015 9:38 am

Admin permission

Hello All,

We are using Advanced Installer to provide the installation file for our software as a Setup.EXE file.
However, some of our users are complaining that they can't run the file because their IT Department does not give them Admin permission.
Is there a way to allow anyone to run the Setup.EXE file, even if they don't have the Admin password / permission ?
Thanks for your help.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Admin permission

Hello and welcome to Advanced Installer forums,

Please keep in mind that any tasks that require administrator privileges will trigger the UAC prompt (if UAC is enabled) and the user will have to enter its credentials. You cannot prevent the UAC dialog from appearing when you perform a per-machine installation. Only if you install a package per-user you can skip showing this dialog.

If the UAC is off then it will not be any prompt to enter admin credentials.
If the UAC is off then the installation will be launched with the current log-on user right. If the log on user is a guest and the installer require administrator privileges then the installation will fail because it doesn't have sufficient privileges to complete this installation for all users of the machine.

You can take a look on the User Account Control article which may be useful to you.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ChrisJ
Posts: 7
Joined: Fri Oct 02, 2015 9:38 am

Re: Admin permission

Thanks for the help so far. I now have extra feedback from one of the customers, who says this:

--------------
It did run through some of the process but then failed.
The reason is that you are creating an msi and running it from appdata. This folder is blocked and most likely by other networks to reduce the threat from the cryptolocker virus!
https://www.fishnetsecurity.com/6labs/b ... techniques

If you perhaps create a temp or install folder in TT_WEB_UPDATE and run it all from there it might work
--------------

I'm not sure what to do ? I wasn't aware that I am creating an .msi ... as I say, I am compiling the installer as "Setup.EXE".
Can anyone suggest what I need to do to overcome this problem and be able to install on my customer's computer ?

Thanks,
ChrisJ
Posts: 7
Joined: Fri Oct 02, 2015 9:38 am

Re: Admin permission

Hello all,

Quick question:
Is there any parameter I can change, so that when my Setup.EXE runs ... the .msi runs from a different folder than 'appdata' ?

Thanks,
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Admin permission

Hi Chris,

To change the extract location of the .MSI, you can go in the Configuration Tab from the Builds page. In the Bootstrapper Options section you can set another value for the Extract Location.

This represents the folder where the files will be extracted from the EXE bootstrapper. If empty then the system's temporary folder will be used.

If you need any help, please let me know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”