|
|
发表于 2018-6-6 17:25:09
|
显示全部楼层
result1 = File.Find("C:\\Windows\\System32", "msvcr120.dll", false, false, nil, nil);
if(System.Is64BitOS())
then
if(result1==nil) then Shell.Execute(SessionVar.Expand("%AppFolder%\\vcredist_x64_vs2013.exe"), "open", "", "", SW_SHOWNORMAL, true);end
result2 =File.Find("C:\\Windows\\SysWOW64", "msvcr120.dll", false, false, nil, nil);
if(result2==nil) then Shell.Execute(SessionVar.Expand("%AppFolder%\\vcredist_x86_2013.exe"), "open", "", "", SW_SHOWNORMAL, true);end
elseif(result1==nil) then Shell.Execute(SessionVar.Expand("%AppFolder%\\vcredist_x86_2013.exe"), "open", "", "", SW_SHOWNORMAL, true);end
|
|