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;
版权声明:本文标题:setupfactory7功效函数足步[整理] 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://roclinux.cn/b/1711405710a592448.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论