Jeak
Posts: 3
Joined: Tue Feb 01, 2011 10:51 am

Install Condition for CheckBox

Hi,

for a setup (with updater) i have to set a scheduled task. This task should only be generated if a CheckBox in install dialog is set.
So i tried the install condition "CHECKBOX_1_PROP = true". But this alternative doesn't work.

Also i had tried e.g.
CHECKBOX_1_PROP = true
CHECKBOX_1_PROP_VALUE = 1
CHECKBOX_1_PROP_VALUE = true

All these expressions fail to do the job.

It would be nice to get the right expressions from somebody.
Last edited by Jeak on Tue Feb 01, 2011 6:48 pm, edited 1 time in total.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Install Condition for CheckBox

Hi Jeak and welcome to the Advanced Installer Forums,

Here is a post which has the explanation on the check box control property.

Example condition when the checkbox is checked:

Code: Select all

CHECKBOX_1_PROP
Example condition when the checkbox is not checked:

Code: Select all

NOT CHECKBOX_1_PROP
Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Jeak
Posts: 3
Joined: Tue Feb 01, 2011 10:51 am

Re: Install Condition for CheckBox

Great, it work's! Thank you!

Now I just have to delete the task at deinstallation again...why it isn't automatically erased?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Install Condition for CheckBox

Hello,
Great, it work's! Thank you!
You are welcome, glad to help.
why it isn't automatically erased?
Unfortunately I cannot reproduce the behavior on a Vista x86 machine. Can you please try this in a separate test package and perhaps test it on another machine as well? This could also happen if the scheduled task is somehow modified after it has been created by your installer.

If the problem persists, please send us the .AIP (project) that manifests it and a verbose log of the installation to support at advancedinstaller dot com so we can investigate them.

Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”