Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Install Condition based on Reg


2 replies to this topic

lavinia

lavinia
  • Members
  • 29 posts

Posted 07 November 2002 - 22:58

Objective: My product will install only if test.exe is installed.
Problem: The Install Condition does not return the right value.
What did I miss here?

Here are what I have setup in my Standard Project (Installshield Developer 7.04).

Install Condition:
Condition: PROD
Message: This is a test

AppSearch Table:
Property: PROD
Signature: ProductA

RegLocator:
Signature: ProductA
Root: 2
Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\test.exe
Name: Path
Type: 2

Property Table:
Property: PROD
Value: 0

thomaz

thomaz
  • Members
  • 15 posts

Posted 11 November 2002 - 19:37

Remove HKEY_LOCAL_MACHINE from the path.
Regards,Thomaz

lavinia

lavinia
  • Members
  • 29 posts

Posted 13 November 2002 - 15:28

Thank you Thomas.
It works after I removed the HKLM key and remove PROD from the property table.