Anyone else have any difficulty with this function and vc++ 2008 SP1?Function CheckVCRedist
Var /GLOBAL VCREDIST
push 'msvcr90.dll'
push 'Microsoft.VC90.CRT,version="9.0.21022.8",type="win32",processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b"'
call WinSxS_HasAssembly
pop $VCREDIST
DetailPrint 'WinSxS check for runtime returned $VCREDIST'
FunctionEnd
WinSxS_HasAssembly and msvcrt90.dll
I'm using WinSxS_HasAssembly to detect whether vc++ 2008 SP1 redistributables are installed. The function always returns 0 even though the redist package is installed. I'm calling the function with the following code...