We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

kdavis100
Posts: 1
Joined: Thu Aug 07, 2014 6:42 pm

select install path automatically if administrator or user

I was wondering if there is a way to enable AI to select the install path based on if it run as administrator or as standard user.
Thanks
Kent
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: select install path automatically if administrator or us

Hi Kent and welcome to Advanced Installer forums.

In order to achieve this you can go in the "Install Parameters" page and select the "Per-machine if user is administrator, per-user otherwise" option from the "Installation Type" combobox. Then go in the "Dialogs" page and add the "InstallTypeDlg" dialog.

In this case, when the installation starts, the user can choose to install it per-user or per-machine and it will be automatically redirected to the appropriate location. For more details you can take a look on the How do I make the package install per-user or per-machine article.

Let us know if this helped, otherwise give us more details about your scenario.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”