Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
479 views
in Technique[技术] by (71.8m points)

nsis - 电子生成器NSIS,嵌入其他安装程序(Electron-builder NSIS, embedding other installers)

I have created a little electron program for one of my friends, it is a patcher for a private metin2 server of some sort.

(我为我的一个朋友创建了一个小电子程序,它是某种私有metin2服务器的修补程序。)

The game itself is really old so it requires a few redisturables to be installed.

(游戏本身确实很旧,因此需要安装一些可重装游戏。)

[dxwebsetup0411 / dotNetFx35setup / vcredist_x86 ( i believe its a 2013 version) ]

([dxwebsetup0411 / dotNetFx35setup / vcredist_x86(我相信它是2013版)])

I want to include them as an option at the end of the install (or even before it, doesn't really matter).

(我想在安装结束时将它们作为一个选项包括在内(甚至在安装之前也没关系)。)

I have found a few examples how to do so but they are all for Standalone NSIS installers and when i try to include that script ( in the build/installer.nsh file ), the build process crashes, presumably because its not the main build script therefor adding Sections is prohibited (?).

(我已经找到了一些示例,但都是针对独立NSIS安装程序的,当我尝试将该脚本(包含在build / installer.nsh文件中)包含在内时,构建过程会崩溃,大概是因为它不是主要的构建脚本因此,禁止添加节(?)。)

Im really new to NSIS scripts and NSIS overall.

(我真的是NSIS脚本和NSIS整体的新手。)

So far i only figured out how to put checkboxes and labels and so on in, with the help of nsDialogs, but as i looked at its documentation, it seemed that there are no option where i could do this.

(到目前为止,我仅在nsDialogs的帮助下才弄清楚如何放置复选框和标签,等等,但是当我查看其文档时,似乎没有选择可以执行此操作。)

Any help would be greatly appreciated.

(任何帮助将不胜感激。)

  ask by Kováts Attila translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...