Can't compare two strings correctly
Posted: Mon May 15, 2006 6:21 am
I can't seem to compare two strings. One is read from the registry the other is the actual product code.
I need this type of comparision because I've the need to remove my software from the Add/Remove applications dialog.
Thanks in advance,
smoura
Code: Select all
~InstallAware Clipboard Data~
~End~
~{B1D297ED-E4B3-4434-84AC-3FB3268FD4CC}~
~End~
~{3425C64F-8ABB-4638-AA17-79F6B0B34186}~
~Set Variable~
~{967B045A-204B-462B-BD78-F268D4200522}~
~NEEDSUPGRADE~
~FALSE~
~Set Variable~
~{C972A75B-3F0C-4547-BB6F-5295DDBAFFAD}~
~MAINTENANCE~
~TRUE~
~If~
~{7DBD8576-B49A-46D0-9A12-A53F1747850F}~
~SAVEDPRODUCTCODE~
~0~
~EPRODUCTCODE~
~FALSE~
~Set Variable~
~{E2809A1D-CBD7-4E49-8343-E5DEF71BC21F}~
~EPRODUCTCODE~
~$PRODUCTCODE$~
~Read Registry~
~{334DDFFC-EB17-4D4B-9EF5-F188F89ABBA2}~
~SAVEDPRODUCTCODE~
~2~
~SOFTWARE\\nmKN~
~nmpcd~
~Set Variable~
~{689ED080-8817-41CC-B0BA-AD1C0F90A8DF}~
~SAVEDPRODUCTCODE~
~~
~Set Variable~
~{CA6704A0-A08F-43CD-BF71-9787E2908BAD}~
~NEEDSUPGRADE~
~TRUE~
~If~
~{7ABCC98C-EC37-41E6-BD94-E10B6EA300E3}~
~ISNMINSTALLED~
~0~
~1~
~FALSE~
~Read Registry~
~{DD3F350E-BCEF-41A6-BEE1-1B78416C433E}~
~ISNMINSTALLED~
~2~
~SOFTWARE\\nmKN~
~nmmist~
~Set Variable~
~{2223026C-41FF-46D3-80F5-B5AD95303304}~
~ISNMINSTALLED~
~0~
I need this type of comparision because I've the need to remove my software from the Add/Remove applications dialog.
Thanks in advance,
smoura