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

Checking registry value condition


2 replies to this topic

raza.ali@vyopta.com

raza.ali@vyopta.com
  • Full Members
  • 10 posts

Posted 20 February 2015 - 01:23

I simply want to check for .Net 4.5. I have learnt that this can be done by checking registry value.

 

I can't seem to find how to add this as a condition.

 

In Installation Information -> General Information -> Install Condition

 

I try to add a condition but the available list does not provide any Registry related functions.

 

Do I simply type in something like "RegDBGetKeyValueEx(...)" or is there a simpler way for this?



Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 23 February 2015 - 17:41

No, you first have to do a system search to read the registry, then you can use the result in the condition. There are already some predefined searches.



raza.ali@vyopta.com

raza.ali@vyopta.com
  • Full Members
  • 10 posts

Posted 23 February 2015 - 17:46

Yes, thanks I discovered this on the install shield forum this morning and it works. Basically, I added a search and then a condition using the search variable.