|
|
#1 |
|
Junior Member
Join Date: Jul 2012
Posts: 2
|
Simple Installer - Just want to provide an option.
Hello. I am new and have poured through the docs trying to understand this software. Please help me achieve a simple goal.
I want: page 1 - Welcome, blah blah page 2 - Please choose A or B page 3 - install If chose A install file A If chose B install file B How do I set up this option. I am this far. code: This works, it writes the file where I want it. I cannot figure out how to set up an options page. I have also done this using HM NIS Edit: code: I have no idea how to incorporate this or if I am barking up the wrong tree. Please help. |
|
|
|
|
|
#2 |
|
Junior Member
Join Date: Jul 2012
Posts: 2
|
[Solved]
Okay, I got it. Boy, this stuff is difficult when foreign. I had come to think, over the past few weeks, this would be insurmountable. I got it. For anybody curious, here was the solution.
team_credential_template_installer.nsddef code: team_credential_template_installer.nsdinc code: and finally, team_credential_template_installer.nsi code: |
|
|
|
|
|
#3 |
|
Major Dude
Join Date: Oct 2006
Posts: 1,841
|
If you're using nsDialogs anyway, you should use MUI2 instead of MUI. You can then also remove the MUI_RESERVEFILE_INSTALLOPTIONS macro.
|
|
|
|
|
|
#4 |
|
Moderator
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,202
|
Yes just for clarity MUI2 uses nsDialogs instead of InstallOptions for its welcome and finish pages. Your new dialog is built using nsDialogs and therefore you are adding additional overhead by using MUI1 (InstallOptions). Change !include MUI.nsh to !include MUI2.nsh and remove !insertmacro MUI_RESERVEFILE_INSTALLOPTIONS.
Stu Need an installer? http://www.afrowsoft.co.uk |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|