what 'Per-machine only' option does - Advanced Installer Community
vvm
Posts: 1
Joined: Tue Feb 07, 2017 8:59 pm

what 'Per-machine only' option does

Version: version 13.5 build 74683
Problem: I'm trying to build a package that must be installable for admin only.
So, in [Package definition/Install parameters] i choose the following options:
- Installation type: Per-machine only (fails if the user is not an administrator)
- [*] Run as administrator, execution level: Require administrator

When I run the installer, it still shows me "Installation type" dialog with 2 options:
() Only for me (user name)
() Everybody(all users)

Expected behavior: since I've chosen a fixed installation type 'Per-machine only', why it shows "Installation type" dialog instead of just installing it for 'Everybody (all users)'
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: what 'Per-machine only' option does

Hello and welcome to Advanced Installer forums,

The related option is displayed because the InstallTypeDlg is added in the Dialogs page. To remove the related option, you can go in the Dialogs pace and remove the related dialog.

Should there be any difficulty you encounter implementing something, please do not hesitate to contact me and I will gladly assist.

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

Return to “Common Problems”