azhockeynut
Posts: 8
Joined: Fri Feb 14, 2014 4:27 pm

declaring a variable as a boolean

I created a function call to a dll and am setting up parameters to pass in.
on is a Boolean, which shows I am passing a Boolean, I set the default to FALSE, yet in the property table, it shows as a string. how do I get it declared as a Boolean and stored as one. I wonder if that is part of my issue.
Dan
Posts: 4513
Joined: Wed Apr 24, 2013 3:51 pm

Re: declaring a variable as a boolean

Hello and welcome to Advanced Installer forums,

The Property table contains the property names and values for all defined properties in the installation.
Please keep in mind that installer properties are strings.

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
AquaComm
Posts: 45
Joined: Wed May 06, 2020 3:25 am

Re: declaring a variable as a boolean

It seems it would be wise to convert booleans to "UpperInvariant" and then test for TRUE or FALSE in IA.
Catalin
Posts: 6582
Joined: Wed Jun 13, 2018 7:49 am

Re: declaring a variable as a boolean

Hello,

Thank you for your followup on this!

I am sure users facing this scenario will find your information helpful.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”