相关疑难解决方法(0)

使用NSIS检查.NET4.5 +

全部,我知道以下方法来检查NSIS中的框架版本.对于.NET4.0 +我目前使用

Function IsDotNetInstalled

    StrCpy $0 "0"
    StrCpy $1 "SOFTWARE\Microsoft\.NETFramework" ; Registry entry to look in.
    StrCpy $2 0

    StartEnum:
    ; Enumerate the versions installed.
    EnumRegKey $3 HKLM "$1\policy" $2

    ; If we don't find any versions installed, it's not here.
    StrCmp $3 "" noDotNet notEmpty

    ; We found something.
    notEmpty:
        ; Find out if the RegKey starts with 'v'.  
        ; If it doesn't, goto the next key.
        StrCpy $4 $3 1 0
        StrCmp $4 "v" +1 goNext
        StrCpy $4 …
Run Code Online (Sandbox Code Playgroud)

.net installer nsis .net-4.5

13
推荐指数
3
解决办法
1万
查看次数

带有.NET 4.0的NSIS安装程序

是否存在从NSIS安装程序自动下载和安装.NET 4.0 Framework的标准/首选方法(如果计算机尚未安装)?

有几个例子可以在旧版本的框架上使用它,但看起来它们都不适用于4.0.在我自己一起破解某些东西之前,我想知道是否有人知道那里已有的东西.

感谢您的时间.

.net nsis .net-4.0

11
推荐指数
2
解决办法
4749
查看次数

标签 统计

.net ×2

nsis ×2

.net-4.0 ×1

.net-4.5 ×1

installer ×1