Page 1 of 1

Get Installed State for... doesn't work?!

Posted: Wed Aug 01, 2007 7:03 am
by folo77
I tried to check wether a program (WIBU-Box Resource kit (hardlock dongle software)) is already installed or not and I therefore used the following line in my script...

Code: Select all

Get Installed State for {00060000-0000-1004-8002-0000C06B5161} into variable WIBUBOX


...but this somehow doesn't work. The result in WIBUBOX is false, even if the Resource Kit is installed with the above Product Code (GUID). I have already tried serveral different notations for the GUID (with and without brackets and/or hyphens). I'm currently using InstallAware version 6.22.

Is there any mistake or bug or any other solution for checking if a program is already installed?

Posted: Wed Aug 01, 2007 1:46 pm
by Alex_Ronquillo
Try ths line of code:

Read Registry Key HKLM\\{E62A7A31-6025-408E-87F6-81AEB0DC9347}\\ into WIBUBOX

After that check wheter $WIBUBOX$ contains something or not. If it does, the registry key was found