K, this may be a simple one... I use the system search to find the data in a DWORD in the registry. I assign the data to a property and use it as a condition for other stuff. Looking at my logfile, I could tell that the action didn't run as I expected so I looked at the property. The value in the property has a # in front, (ie. #4 instead of just 4) I can't put a # in a condition. How do I get rid of that # so I can get back just 4?
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.
System Search for reg value
Started by
spdygnlz
, Jan 18 2007 18:53
3 replies to this topic
Posted 20 January 2007 - 19:40
# indictaes the type of the value (documented in the MSI help). If you need to remove it the only way is a custom action.
Why can't you use a # in a condition? How does your condition look like?
Why can't you use a # in a condition? How does your condition look like?
Stefan Krüger
InstallSite.org twitter facebook
Posted 22 January 2007 - 17:29
Well, if I try to write
CODE |
PROPERTY=#4 |
in the condition field I get a pop-up error immediately in the IDE saying "The data entered is invalid". Would it be the same if I just put
CODE |
PROPERTY=4 |
I can't seem to find the spot in the help system where it talks about this. Perhaps if you could tell me where to look in the help I could figure it out. (I do usually try to search the help pages before posting questions!) Thanks!
-- spdygnlz --
Posted 22 January 2007 - 21:45
Try this:
PROPERTY="#4"
PROPERTY="#4"
Stefan Krüger
InstallSite.org twitter facebook