admin 管理员组

文章数量: 1087139


2024年3月26日发(作者:广告联盟赚钱吗)

SetupFactory7 功能函数脚步

--获取系统版本号

function GetOSVersion()

local OS_Ver =

local Result = ersionInfo();

ersion.."."..ersion

return OS_Ver

end

--获取WindowsInstaller版本

local WIVer=0;

local

function GetWindowsInstallerVersion()

WindowsInstallerFilePath=("%WindowsFolder%").

.""

if(ist(WindowsInstallerFilePath)) then

WinInstallerInfo =

sionInfo(WindowsInstallerFilePath)

ver=rsion;

if(ver~="") then

WIVer=er((ver,1));

end

end

return WIVer;

end

--判断是否存在.NetFramWork2.0

function ExistNetFW2()

DotNet_Registry =

yExist(HKEY_LOCAL_MACHINE,

"mework");

if (DotNet_Registry == false) then

return false;

end

DotNet_Install_Location =

ue(HKEY_LOCAL_MACHINE,

"mework", "InstallRoot", true);

Does_File_Exist =

DotNet_Install_Location.."v2.0.50727aspnet_";

if(ist(Does_File_Exist))then

return true;

else

end

end

--返回本机存在的Excel版本

return false;


本文标签: 存在 获取 赚钱 脚步 广告