最新消息:

GetVersion是NSIS获取系统版本信息的插件

nsis 永恒心锁 2225浏览 0评论
/*
GetVersion是NSIS获取系统版本信息的插件
GetVersion是一个可以获取系统版本信息如系统名,类型,版本号,服务名,补丁包等.
WindowsName:系统名如何windows7则会显示7.
WindowsPlatformArchitecture:系统位数:如32位,64位
*/
OutFile "GetVersion.exe"
ShowInstDetails show
Page InstFiles
Section
 GetVersion::WindowsName
 Pop $R0
 DetailPrint "WindowsName:"
 DetailPrint " $R0"
 GetVersion::WindowsType
 Pop $R0
 DetailPrint "WindowsType:"
 DetailPrint " $R0"
 GetVersion::WindowsVersion
 Pop $R0
 DetailPrint "WindowsVersion:"
 DetailPrint " $R0"
 GetVersion::WindowsServerName
 Pop $R0
 DetailPrint "WindowsServerName:"
 DetailPrint " $R0"
 GetVersion::WindowsPlatformId
 Pop $R0
 DetailPrint "WindowsPlatformId:"
 DetailPrint " $R0"
 GetVersion::WindowsPlatformArchitecture
 Pop $R0
 DetailPrint "WindowsPlatformArchitecture:"
 DetailPrint " $R0"
 GetVersion::WindowsServicePack
 Pop $R0
 DetailPrint "WindowsServicePack:"
 DetailPrint " $R0"
 GetVersion::WindowsServicePackBuild
 Pop $R0
 DetailPrint "WindowsServicePackBuild:"
 DetailPrint " $R0"
 GetVersion::WindowsServicePackMinor
 Pop $R0
 DetailPrint "WindowsServicePackMinor:"
 DetailPrint " $R0"
 GetVersion::WindowsServicePackMajor
 Pop $R0
 DetailPrint "WindowsServicePackMajor:"
 DetailPrint " $R0"
SectionEnd
永恒心锁,版权所有丨如未注明,均为转载丨本网站采用BY-NC-SA协议进行授权

转载请注明:永恒心锁-分享互联网 » GetVersion是NSIS获取系统版本信息的插件

您必须 登录 才能发表评论!