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

Got a problem you cannot solve? Try here.
folo77
Posts: 4
Joined: Wed Aug 01, 2007 6:42 am

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

Postby folo77 » Wed Aug 01, 2007 7:03 am

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?

Alex_Ronquillo
Site Admin
Posts: 364
Joined: Mon Jul 30, 2007 11:51 am
Location: USA
Contact:

Postby Alex_Ronquillo » Wed Aug 01, 2007 1:46 pm

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
Alejandro Ronquillo
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 132 guests