Reset A Property In A Control Event - 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!

sjeslis
Posts: 308
Joined: Mon Aug 22, 2011 11:40 pm
Contact: Website

Reset A Property In A Control Event

In a control event I want to reset a property to NULL or "empty" using a SetProperty. The "argument" field in the dialog for the Control Event doesn't enable the OK button if the field is left empty. Any special characters, e.g. quotes or tic marks, show up as part of the resulting value when I test the UI, e.g. "", """", '', etc.
Scott Jeslis
Senior Software Engineer
Cicero, Inc.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Reset A Property In A Control Event

Hi,

You can try setting it to this:

Code: Select all

{}
Windows Installer should interpret it as an empty value.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sjeslis
Posts: 308
Joined: Mon Aug 22, 2011 11:40 pm
Contact: Website

Re: Reset A Property In A Control Event

Looks like that worked! Thanks!
Scott Jeslis
Senior Software Engineer
Cicero, Inc.

Return to “Common Problems”