Vvvv Detection of Missing Software

Can anyone tell me how vvvv detects the any missing software that it needs?

When running crack.exe, a list of missing software can be seen.

I’m working on an installer for vvvv and I would like to match the same detection of crack.exe, so that only the needed software is installed.

as of beta28.1
those are the cracks checks:

for dx9:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectX\Version
needs to be: 4.09.00.0904
and both D3DX9_43.dll and D3DX9_38.dll need to be present in the systemdir

for .net4:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full
needs to have a value of “Install”

for msvc (required by slimdx):
it does a MsiQueryproductState() for both:
ms visual c++ 2010: {196BB40D-1578-3D01-B289-BEFC77A11A1E}
or the “SP1” release: {F0C3E5D1-1ADE-321E-8167-68EF0DE699A5}
either needs to be installed.

that should do.

Amazing, that will work. Thank you.

Sorry to bump an older topic, but I’m having a real tough time finding a reliable way to check for VC++ Runtime 2008.

How does crack.exe check for VC++ Runtime 2008 in version 45beta29.2?

oui, as of beta29.2 this is what crack checks for:

{$IFDEF WIN64}
MSVC_2008_REDISTRIBUTABLE_URL = ‘http://www.microsoft.com/en-us/download/details.aspx?id=2092’;
MSVC_2010_REDISTRIBUTABLE_URL = ‘http://www.microsoft.com/en-us/download/details.aspx?id=13523’;
MSVC_2008_SP1_PRODUCTKEY = ‘{8220EEFE-38CD-377E-8595-13398D740ACE}’;
MSVC_2010_SP1_PRODUCTKEY = ‘{1D8E6291-B0D5-35EC-8441-6616F567A0F7}’;
{$ELSE}
MSVC_2008_REDISTRIBUTABLE_URL = ‘http://www.microsoft.com/en-us/download/details.aspx?id=5582’;
MSVC_2010_REDISTRIBUTABLE_URL = ‘http://www.microsoft.com/download/en/details.aspx?id=8328’;
MSVC_2008_SP1_PRODUCTKEY = ‘{9A25302D-30C0-39D9-BD6F-21E6EC160475}’;
MSVC_2010_SP1_PRODUCTKEY = ‘{F0C3E5D1-1ADE-321E-8167-68EF0DE699A5}’;
{$ENDIF}

but as reported that seems to fail on some systems that think 2008 is missing even after it had just been installed…

The only place I found 9A25302D-30C0-39D9-BD6F-21E6EC160475 key was in: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\D20352A90C039D93DBF6126ECE614057\InstallProperties

Is this the location that crack.exe picks up when searching?

i couldn’t tell if it is that location…as mentioned above crack is using MsiQueryproductState() to check for those guids.