markc0
Posts: 8
Joined: Mon Nov 10, 2014 3:50 pm

Creating MSI Installer

Hello, i want to create an msi per machine even if the user is or not administrator.
I can only see per machine if user is admin or per machine only (fails if user is not admin).
I could have the logged on user as say bob who is an admin user.

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

Re: Creating MSI Installer

Hello,

In order to create a Per-Machine installation package, you can select the Per-machine only (fails if user is not administrator) option for the Installation Type from the Install Parameters page.

Please note that on Windows Vista or above the user will see an Elevation Prompt dialog that will ask for administrator privileges when installing the package (if the UAC is ON). If the logged user is member of the Administrators user group, he will be asked to allow or deny the installation, otherwise he will be prompted to provide credentials for one of the computer administrators.

If the user is not member of the Administrators user group or he will not provide credentials for one of the computer administrators, the installation will fail.

If the UAC is off there 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. In this case, two cases can be encountered:
  • 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.
  • if the log on user is an admin, then the installation will be successfully.
You can take a look on the User Account Control article which may be useful to you.

Please let us know if that helped, otherwise give us more details about your scenario.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
markc0
Posts: 8
Joined: Mon Nov 10, 2014 3:50 pm

Re: Creating MSI Installer

thanks , what i was doing was corre t it was just the software that was the issue
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Creating MSI Installer

You're welcome,

If there is anything else I can help you with, please let me know.

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

Return to “Building Installers”