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!

shetty_rohan
Posts: 363
Joined: Fri Dec 07, 2012 5:28 am
Location: Bangalore, India
Contact: Website

per-machine and per-user dialog

Hi,
I have following applications which needs to be installed by one setup
- TSP
- Outlook plugin
- Softphone
We will also show Installationtype dialog box.

Now if the user selects "All users" , then all products should be shown in the "configDlg", and user should be able to install them
If the user selects"Only for me" , then only softphone should be shown(this is because TSP and Outlook pluggin cannot be installed as "only for me"). For others(TSP, Outlook pluggin) there should be some message(saying this could be installed only in "All users")

Is it possible?
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: per-machine and per-user dialog

Hi Rohan,

Unfortunately we don't have support for this, but there is a workaround.

You can create your own selection dialog by following the first method described in the How do I show a custom feature selection dialog tutorial. Then select each checkbox related to the features that you don't want to install if the user select the "Only for me" option (TSP, Outlook), go in the "Control Condition" tab and create a new control condition with the following configuration:
  • Condition: AI_InstallPerUser = "1" (this means that the "Only for me" option is selected)
    Action: Hide
On the same dialog you can add a new "Static Text" control that contains the message you want, go in the "Properties" pane set "Visible" to "False", then, go in the "Control Condition" tab and create a new control condition with the following configuration:
  • Condition: AI_InstallPerUser = "1"
    Action: Show
Let us know if this helped.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
shetty_rohan
Posts: 363
Joined: Fri Dec 07, 2012 5:28 am
Location: Bangalore, India
Contact: Website

Re: per-machine and per-user dialog

Thank you for your help
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: per-machine and per-user dialog

You're welcome. Glad to help.

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

Return to “Building Installers”