Questions tagged [nsdialogs]

nsDialogs is a plugin plus a set of macros that allow the creation of custom pages in an NSIS installer on top of the built-in pages, with any type of controls in any order and arrangement. nsDialogs was introduced in NSIS 2.29 as a replacement for InstallOptions.

40 questions
0
votes
2 answers

nsis drag and drop for nsdialogs

i want to drag and drop the window by image , i mean : you hold the mouse1 on main image or on a little label to get drag and drop on the window(left right , up down ) . i have already tried code like this: System::Call…
DIMM_V2
  • 105
  • 1
  • 9
0
votes
1 answer

Multiple nsDialogs image-icons in one custom NSIS page

I'm trying to put various images (as icons) in a single custom page using nsDialogs. This example i provided do that, but it only shows the first image. But if i comment/delete the code for the first image, shows the second one, if i do the same…
0
votes
1 answer

A way to warn the user about a little freeze by a function doing calculations in a NSIS installer

I'm doing my first NSIS script but i found a bump in the road. In fact i think is hard to explain only in the title, (maybe someone can help with that to) so let me explain fully: I'm creating a installer that uses a few custom pages because i want…
0
votes
1 answer

Using nsDialog's listview to install files

I have a .txt file with this lines: app1 app2 app3 ... appN Also I have this files at the ${srcdir} before I make an installer: ${srcdir}\app1 ${srcdir}\app2 ${srcdir}\app3 ... ${srcdir}\appN List of files always changes so I need to manually…
Alex
  • 3
  • 2
0
votes
1 answer

NSIS SelectFileDialog filter not being applied

I have used the following line in an NSIS script: nsDialogs::SelectFileDialog open "C:\temp.rar" "*.rar" When I run the resultant installer (in Windows 10) the file dialog opens to C: as it should, temp.rar shows in the File name field, and *.rar…
0
votes
1 answer

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. The game itself is really old so it requires a few redisturables to be installed. [dxwebsetup0411 / dotNetFx35setup /…
0
votes
1 answer

Customizing an exsisting NSIS MUI2 page using nsDialogs

I want to include custom controls to Finish Page, depending on IfRebootFlag is set or not, but I don't know why some of those are created but not displayed. The $hWnd is for each added control a number != 0, so it means all the controls were…
Jumpy73
  • 75
  • 1
  • 8
0
votes
2 answers

Handling keyboard navigation in nsDialogs

I'm using nsDialogs to create a custom page in the installer of my app, where users can decide between standard and portable installation. For this, I create two radio button controls via NSD_CreateRadioButton so that users can decide between the…
fhe
  • 6,099
  • 1
  • 41
  • 44
0
votes
1 answer

Attach an OnChange handler to existing textbox control NSIS

I'm trying to attach an onchange event handler to the existing Install directory textbox in NSIS. However, it never seems to trigger. Any ideas how I can do this? GetDlgItem $TextControl $HWNDPARENT 1019 GetFunctionAddress $R0…
0
votes
1 answer

NSIS installer nsDialog checkbox not appearing as I think it should

I'm adding a custom page to an NSIS installer and I'm having trouble adding a checkbox. All the examples I've seen look the same, which is what I'm doing, but I can't see what could be wrong. (I've only been using NSIS for an hour or so!). !include…
Dan
  • 2,304
  • 6
  • 42
  • 69
0
votes
2 answers

nsDialogs::Show accepts ENTER key even if all buttons from UI are destroyed

I have a small bootstrapper with custom UI, which contains two pages, one to configure the install, and the other showing a progressbar for the download and install of the payload. My problem: If the user presses Enter key when in the second page,…
0
votes
1 answer

Conditional Installation with NSIS

I need to make an installer that will also act as a repair/uninstall program if the concerned software is already installed. I managed to make a custom page that check if the program exists and display buttons depending on that (the registry key…
Jay Zus
  • 573
  • 5
  • 19
0
votes
0 answers

nsis - how to set "Next" button as default button

I have two custom pages. In the first custom page, the default button (triggered on ) is the Next button. In the second custom page, I set the default button to a different button: SendMessage $HWNDPARENT ${DM_SETDEFID} 1221 0 But when I…
Obay
  • 3,135
  • 15
  • 55
  • 78
0
votes
1 answer

nsDialogs invalid command

I have a problem with my NSIS script in which i try to a custom page where the user insert a ClientId through the use of a textbox. The problem I get so far is that my compiler gives my this error: Invalid command: nsDialogs::Create Error in…
krispig
  • 1
  • 1
0
votes
1 answer

Jump to Next Page

I am trying to jump forward 1 page in my installer. I have a custom page in my NSIS installer. This custom page prompts the user to input a serial number. If they are valid I will jump the installer forward to the next page (the welcome page) if not…
Mack
  • 593
  • 1
  • 5
  • 7