![]() |
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) |
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. |
Thanks, that worked fine - after I had removed the superflous space at the beginning of the key name :-)
|
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 02:18 PM. |
Copyright © 1999-2023 Kinook Software, Inc.