Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Third Party Tools
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-03-2005, 09:07 AM
GrahamS GrahamS is online now
Registered User
 
Join Date: 12-26-2003
Posts: 16
Checking for application existance

Is there a nice easy way to check if an application (one that has inbuild VBP support) is installed on a particular machine?

I have two machines running VBP, one of which doesn't have support for MSDEV. I would like to set up a build rule to skip building the MSDEV builds so that I can use the same script on both machines. (I currently check against COMPUTERNAME but that means the machine name is hard wired - which is so tacky)
Reply With Quote
  #2  
Old 02-03-2005, 09:37 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
A conditional build rule of

%REG_READ("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\W indows\CurrentVersion\App Paths\msdev.exe\","Not Found")%

is not equal to

Not Found

should work.
Reply With Quote
  #3  
Old 02-04-2005, 05:35 AM
GrahamS GrahamS is online now
Registered User
 
Join Date: 12-26-2003
Posts: 16
Thanks, that worked fine - after I had removed the superflous space at the beginning of the key name :-)
Reply With Quote
  #4  
Old 02-04-2005, 08:49 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
What I pasted did not have a space there; it seems that the forum software formatted it that way (and the newline in the middle as well). Attached is a sample step with the same build rule in case anyone else needs this capability.
Attached Files
File Type: bld msdevcheck.bld (572 Bytes, 1948 views)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 12:21 AM.


Copyright © 1999-2023 Kinook Software, Inc.