cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
TylerC
Level 3

Prerequisite trouble when using Registry Key Exists

I am familiar with using prerequisites to find if a file exists (or not) but am stumped when trying to set one up to determine if a registry key exists. After the project is built and run the test , the install acts like there is no prq as part of the install and ignores the requirements. (The prq is to run another .exe if the registry entry is found.)

I have also tried adding the prq to an existing project and although the UI shows the PRQ added to the project, testing the project displays all of the PRQs which test for a file installed, but not the PRQ for the registry entry.

I have rebuilt the PRQ but no improvement...

Any Ideas???
Labels (1)
0 Kudos
(3) Replies
MrTree
Level 6

Which kind of project do you use?

Posting your .prq would help.

I created a new simple .prq and it works fine:













0 Kudos
TylerC
Level 3

Thanks for taking the time to assist!


I use the UI to create MSI's. I don't use InstallScript.

As for the prq, this one downloads the prq from a webserver and then downloads the exe if the conditions are met.

See the code...













0 Kudos
MrTree
Level 6

Hi,

your prq seems to work for me, so there are only two things to check.

1. Be sure that you do not work on a x64 System, if so the Registry Key which must exist must be
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Craftsman\Syscheck\2010_CDB_CD

2. To be sure your project is not broken create a new project, add your prq and run it

sorry for bad english ...
0 Kudos