Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] Third Party Tools (https://www.kinook.com/Forum/forumdisplay.php?f=3)
-   -   Checking for application existance (https://www.kinook.com/Forum/showthread.php?t=857)

GrahamS 02-03-2005 08:07 AM

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)

kinook 02-03-2005 08:37 AM

A conditional build rule of

%REG_READ("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\App Paths\msdev.exe\","Not Found")%

is not equal to

Not Found

should work.

GrahamS 02-04-2005 04:35 AM

Thanks, that worked fine - after I had removed the superflous space at the beginning of the key name :-)

kinook 02-04-2005 07:49 AM

1 Attachment(s)
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.


All times are GMT -5. The time now is 08:10 AM.


Copyright © 1999-2023 Kinook Software, Inc.