创建一个安装程序:从注册表项(类似于wix/installshield/nsis)读取要安装的路径 [英] Create an installer program: read a path to install to, from registry key (something like wix/installshield/nsis)
问题描述
我想创建我的程序的安装程序. 但是,由于安装非常复杂,因此我需要比installshield限量版更高级的东西.
I would like to create an installer of my program. However because the installation is quite complicated, I need something more advanced than installshield limited edition.
-
我必须从我当前的安装程序中运行另一个安装程序.用户按下取消"或安装程序都没有关系,我只需要运行它即可.
I have to run another installer from my current one. It doesn't matter if the user press "cancel" or installs the program, I just need to run it.
我必须在用户计算机上安装具有很多文件的目录结构,这就是为什么我要对wix感到生气:100个文件,我应该用手将所有这些文件都写在该xml文件中吗?我们生气了吗?
I have to install a directory structure on user computer which has a lot of files, that's why i'm going mad with wix: 100 files and I should write all of them with my hands in that xml file? Are we mad?
我必须将第2点中的文件安装到注册表项中.这就是为什么我使用wix
I have to install files from point 2 into a registry key. That's why I was using wix
很久以前我曾与nsis一起玩过,但我喜欢它,但是语言不是很好.
I played with nsis long time ago and I liked it, but the language is not so nice.
Wix具有类似"问题.我很想使用C#之类的东西,否则我会坚持使用wix,但是我需要一种将文件更快地添加到xml文件的方法,不能手动添加100个文件.
Wix has "similar" problem. I would love using something like C# and things like that otherwise I'll stick with wix but I need a way to add files faster to xml file, can't add 100 files manually.
有什么建议吗?
推荐答案
I would go back to using NSIS, if you use the HMNSIS editor http://hmne.sourceforge.net/ to write your scripts you can use the Wizard mode to make a list of the files and directory structure you will use in your installer.
使用NSIS也可以轻松地运行其他安装程序和注册表设置.
Running other installers and registry settings are also easily done with NSIS.
这篇关于创建一个安装程序:从注册表项(类似于wix/installshield/nsis)读取要安装的路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!