Quantcast
Channel: Configuration Manager 2007 Software Distribution forum
Viewing all articles
Browse latest Browse all 629

TS if software exist then skip

$
0
0

I am installing some software that requires "Microsoft Visual C++ 2008 Redistributable" however I was trying to skip this if it was already installed.

I tried to add an "if" statement based on if the reg key exist in SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall but the GUID changes depending on what update is installed (also that was just for x64).

Is there a way to see if "Microsoft Visual C++ 2008 Redistributable%" is in add\remove and skip if found?

Forgot to say that I tried the following but don't think it is working on x64 machines (still testing)

select * from Win32Reg_AddRemovePrograms where DisplayName = 'Microsoft Visual C++ 2008 Redistributable -x86'



Viewing all articles
Browse latest Browse all 629

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>