Questions tagged [nsis-mui]

Modern User Interface which is included in NSIS. It is used to create a customized installer UI. Use with the [nsis] tag

22 questions
0
votes
1 answer

Adding custom labels in NSIS dialog pages, showing and hiding labels in NSIS MUI Directory pages conditionally, how to get the ids of labels

How to hide a Custom LABEL added on the Directory Page Dialog of the NSIS installer. The LABEL is added using the Resource Hacker and its id is 1300 How to change the text of the LABEL conditionally? If user choses to install DEMO, then the label…
sqlchild
  • 8,754
  • 28
  • 105
  • 167
0
votes
1 answer

NSIS: How to get a finish- and a next-button?

I use the MUI_PAGE_INSTFILES. And this page has normally a finish-button, but I have a custom page after it. But I want that you could still finish the installer before the custom page and the next page is only optional. I could also show more code…
ikreb
  • 2,133
  • 1
  • 16
  • 35
0
votes
1 answer

Custom texts for uninstaller

So I made patch installer for certain game. It works nicely, dumb design decisions of NSIS notwithstanding. I use NSIS 3.03 with MUI2. Due to nature of patch (it is not separate application, just patch applied on already existing program) I had to…
Mader Levap
  • 455
  • 5
  • 15
0
votes
2 answers

With NSIS can I share values between MUI_PAGE_DIRECTORY pages?

I have two MUI_PAGE_DIRECTORY pages. The first stores the entered data to the default, $INSTDIR. What I would like to do is copy the value in $INSTDIR to the defined var $DataDir so that before the second directory page is displayed, $DataDir…
Rob
  • 3
  • 1
0
votes
1 answer

NSIS can't use a macro when using Modern UI

I have a file section-db.nsh containing: !macro uninstall_myrian Delete $APPDATA\Intrasense\settings\admin.txt Delete $APPDATA\Intrasense\settings\user.txt !macroend and test.nsi with !include "MUI2.nsh" !include "section-db.nsh" Name…
CharlesB
  • 86,532
  • 28
  • 194
  • 218
-1
votes
1 answer

NSIS: How to distinguish between Cancel and Close button

In NSIS, on a custom page, I want to skip the page when the user presses the Cancel button, but I want to exit the installer (with confirmation) when the user presses the window's X button. How do I do that? Currently, by using Modern UI and custom…
-2
votes
1 answer

NSIS Multiple components option

I am a newbie in NSIS. I need some help regarding the MUI Components page. I am adding 3 section Group and different sections inside the Section Groups. I need to do different actions based on the user selection. Users have the options to select…
Saanch
  • 1,814
  • 1
  • 24
  • 38
1
2