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
FOLLOW US
Get the latest news in Application Packaging