Properties and blank strings

Having trouble running Advanced Installer? Got a bug to report? Post it all here.

Properties and blank strings

Postby jusher » Fri May 18, 2012 3:56 pm

I have set a number of properties to have "" as an argument in the install screen.

When these are displayed the "" is dosplayed in e.g. an edit box. How can I set this so that the quotes are not displayed?

Regards,
John
jusher
 
Posts: 93
Joined: Thu Dec 22, 2011 12:00 pm

Re: Properties and blank strings

Postby Daniel » Mon May 21, 2012 9:07 am

Hello John,

If you want to set a property with a null value you should proceed as follows:
- Go to "Custom Actions" page and create a "Set installer property" custom action with sequence under "Wizard Dialogs Stage" -> "Begin" standard action.
- Set "Property" field to your property name (i. e. MYPROP).
- Set "Formatted" field to:
Code: Select all
{}

Also, you can obtain the same behavior if you define your property with no default value from User Interface (i.e. create an edit box control and set its property with no default value from "Properties" right pane).

If you have any questions let me know.

All the best,
Daniel
Daniel Radu
Advanced Installer Team
http://www.advancedinstaller.com/
Daniel
 
Posts: 2006
Joined: Mon Apr 02, 2012 1:11 pm


Return to Common Problems

Who is online

Users browsing this forum: Bing [Bot] and 6 guests