read registry key if it does NOT exist then run an .exe file

Common questions about using Actual Installer.
Post Reply
gregory
Posts: 1
Joined: Sun May 18, 2014 10:50 pm

read registry key if it does NOT exist then run an .exe file

Post by gregory »

Need to read registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{F0C3E5D1-1ADE-321E-8167-68EF0DE699A5}
DisplayName = "Microsoft Visual C++ 2010 x86 Redistributable" Notice there are two spaces between 2010 and x86(This was fun to track down)...

If registry key exists do NOTHING - OR - If registry key DOES NOT exist install 'something.exe'

Having to do it this way because the Prerequisites section for .NET 3.5 does not appear to work for me.
Have tried several ways to make Prerequisites work to no avail. Please help me with syntax of cmd.exe
for use in the Actual Install System Commands section.

I think the issue is my program must have the .NET 2010 3.5 SP1 Client version ONLY and your installer is seeing
that the standard issue of .NET 4.0 is already on Windows 7 ??? OK Thank You in advance.
Post Reply