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”