Properties and blank strings - Advanced Installer Community

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!

jusher
Posts: 195
Joined: Thu Dec 22, 2011 12:00 pm

Properties and blank strings

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
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Properties and blank strings

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
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”