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!

Zigami
Posts: 3
Joined: Thu Jul 13, 2006 6:12 pm
Location: Austin, TX

Set Optional Install

Hi, big Advanced Install user and currently eval Prof. Version. Here is question. I have install for main product already set up and working. What I need is...

- On First time install > VerfiyReadyDlg
- I want to add a checkbox that if checked will run optional .exe (toolbar, dont worry its legit)

How do I Set the checkbox to default to checked? and if checked just run the optional .exe installer? Do I do this by building a Custom Action and attaching it to checkbox?

Thanks much,
J++
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

First create your custom action under the "UI Custom Actions" section in the "Custom Actions" page.
Switch to "Dialogs" page and add a check box control. In the check box control "Properties" list type a Value. If you want the check box ticked by default then type same value in the "Default Value" field.
Under the "Next" or "Install" dialog button add new "Published Event" with following options:
1. Name: DoAction
2. Argument: select your custom action from the combo list
3. Condition: PROPERTY = Value (where PROPERTY is the check box property and Value its value)

Regards,
Gigi
________________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”