Search code examples
installationwixinstallshieldnsis

Create an installer program: read a path to install to, from registry key (something like wix/installshield/nsis)


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.

  1. 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.

  2. 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?

  3. I have to install files from point 2 into a registry key. That's why I was using wix

I played with nsis long time ago and I liked it, but the language is not so nice.

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.

Any suggestion?


Solution

  • 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.

    Running other installers and registry settings are also easily done with NSIS.