I am using 7.02 and every time I create an edit control it has a default value of 0 in it when I run the install, how can I have the edit control empty when I run the install.
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Edit control with 0 value
Started by
tdgebbie27
, Feb 15 2002 19:35
7 replies to this topic
Posted 18 February 2002 - 03:03
Set the value to what you want it to be (in this case "") in the Property Manager in the IDE.
Joe
Posted 20 February 2002 - 00:06
I tried that and the edit control now has "" when I run the install. Any other ideas?
Posted 28 February 2002 - 19:37
I simply put a single blank space for the value in the property manager. It's a dirty workaround, but it's better than a "0" showing up in the control. Also, you can't set a property to NULL or an empty string or it deletes the property. :(
Posted 28 February 2002 - 20:18
thanks for the feedback, but the problem is that the edit boxes are password edit boxes so if I put a single space it shows up with a * in the edit box.
Posted 01 March 2002 - 04:17
I got it... I created an InstallScript CA that I put just before the InstallWelcome sequence. In the function, I make the call MsiSetProperty(hMSI, "STRING1", "") for each string that I want to zero out. It works perfectly. I don't understand why InstallShield will not let you define zero-length strings, but this is a valid workaround.
Posted 12 April 2002 - 14:26
Hello,
I am really a novice....but this is what i did in the property manager where we define properties...
PROPERTYNAME ***DO_NOT_BUILD***
***DO_NOT_BUILD***
does the trick....
Dont ask me how....but it works for me jolly well thank u very much
cheers
I am really a novice....but this is what i did in the property manager where we define properties...
PROPERTYNAME ***DO_NOT_BUILD***
***DO_NOT_BUILD***
does the trick....
Dont ask me how....but it works for me jolly well thank u very much
cheers