This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Prerequisite trouble when using Registry Key Exists
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 08, 2010
06:12 PM
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???
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???
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 09, 2010
05:22 AM
Which kind of project do you use?
Posting your .prq would help.
I created a new simple .prq and it works fine:
Posting your .prq would help.
I created a new simple .prq and it works fine:
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 09, 2010
11:32 AM
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...
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...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 10, 2010
07:00 AM
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 ...
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 ...