Quantcast
Viewing all articles
Browse latest Browse all 450

TS if software exist then skip

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 450

Trending Articles