2,643 questions
0
votes
1
answer
18
views
NSIS string sanitizer removing forward slashes from $INSTDIR
I ran into an issue where NSIS sanitizes forward slashes in input paths by just deleting them, e.g. C:\Foo/Bar becoming C:\FooBar. For users who aren't that computer literate that's rather confusing ...
0
votes
0
answers
72
views
electron-builder custom install path
I have the below build script:
"build": {
"appId": "com.yourcompany.gamelauncher",
"productName": "My Game",
"directories": {
...
0
votes
1
answer
65
views
How to correctly launch my app from NSIS installer script
I have a test C++ GUI app created in Visual Studio using Desktop wizard, which I want to launch during setup. For testing purposes I launch Notepad, Paint and my app. Notepad and Paint launches ...
0
votes
0
answers
39
views
How to get a progress bar for the initial decompress of an NSIS installer?
I've enabled compression for my (large-ish, ~1 GiB uncompressed) installer.
SetCompress force
SetCompressor /SOLID LZMA
When I launch the installer, none of my stuff runs, and there's no GUI until ...
-1
votes
2
answers
115
views
How to get cmake + cpack to use nsis plugins
I am using cmake + cpack + nsis to create an installer for windows (10 and later). In the installer creation phase, I would like nsis to use one of its plugins (ZipDLL in my particular case).
How can ...
0
votes
0
answers
57
views
Create context menu entry with CPack and NSIS
Is it possible to create a context menu shortcut for my program in CPack for Windows? Namely, I want to create a shortcut "run MyProgram here".
I have found only how to create start menu ...
-1
votes
1
answer
41
views
EstimaterSize registry entry is not usd on Windows11
I am making NSIS installer and I want the size of the app (ideally, without the size of one subfolder that is installed inside) to be visible in the "Installed Apps" menu.
I have found ...
0
votes
0
answers
52
views
Cordova electrong app ignore "build": { "nsis": { "include": "uninstaller.nsh" } }, when uninstall app
I have cordova electron app on the package.json I have added build section
"build": {
"nsis": {
"include": "uninstaller.nsh"
}
},
...
0
votes
1
answer
33
views
How to check if a specific string exists in a semicolon-separated registry value in NSIS and append it if not?
I have retrieved a string from the registry using NSIS that contains several semicolons as separators, for example: ABC;123;XYZ. I want to check if a specific substring, let's say "123", ...
0
votes
1
answer
38
views
NSIS - Please tell me how to use 'NSD_SetIconFromInstaller'
I want to display the icon in the window.
How can I make the setup icon appear inside the window?
Here is the code.
Name "Project 1"
OutFile "Setup.exe"
XPStyle on
Icon "C:\...
0
votes
1
answer
67
views
How to remove icon from message box of NSIS installer?
I want to remove icon from title bar of message box window that appears during installation.
(Image 1)
I want to remove the icon like this window.
(Image 2)
Is there any other way I can try with the ...
0
votes
1
answer
88
views
Issue with Changing Form Size in NSIS: Part of the Form Not Rendering on Smaller Displays
I am developing an installer using NSIS (Nullsoft Scriptable Install System) and encountering an issue. My goal is to change the size of the form in my application, but when the form size exceeds the ...
0
votes
0
answers
38
views
NSIS Progress Bar Appearing Behind Status Bar in Korean,Japanese and Chinese OS Languages
I'm working on an NSIS installer and encountered an issue where the progress bar appears behind the bottom bar (status bar) when the installer is running in Korean,Japanese and Chinese OS Languages.
...
-1
votes
1
answer
34
views
NSH gives me error when i'm building electron app
i'm trying to include font installation with myproject.exe , everything is working until i include nsh script, what could be the problem?
!macro customInstall
# Set the font directory path
...
1
vote
1
answer
56
views
NSIS installer failure. CMD Error Basic command not found [closed]
I try to call CMD to run the script after unpacking rEFInd
The manually executed script works, but if it does nisis fails with "bcdedit" not a valid command.
What is the problem?
This is my ...
0
votes
1
answer
486
views
Can I check if it's an ARM64 system in NSIS setup?
I am currently using NSIS 3.10 version.
I was watching NSIS news, and from 3.04 version
I have seen the following.
NSIS 3.04 improves Windows 10 and ARM64 detection along with
the usual collection of ...
0
votes
1
answer
33
views
Skip a page based on Radio Button choice
I am new and didn’t know what NSIS was a few days ago. However, I decided to look into it. I know that similar questions have been asked before, but even reading the answers given by users, I still ...
1
vote
1
answer
45
views
Is it possible to change the button image as a mouse event for the next button in NSIS?
(Using NSIS 3.10v, window 10, MUI2.nsh)
Is it possible to change the button image as a mouse event for the next button?
(I've tried using graphics-installer(1hour),
but I already have a lot of (UI) ...
0
votes
1
answer
87
views
Is it possible to modify the font of NSIS Setup (without installing the font)?
I tried using the font from NSIS as shown below.
CreateFont $0 "Fonts installed on the system" 9 "500"
What I want to do is as follows:
Font files(.ttf) are included in the setup.
...
0
votes
1
answer
164
views
NSIS uninstall previous app before proceeding with installation
Before proceeding with installation I would like to give the user the option of uninstalling the app, if it has previously been installed. Here is my attempt below:
Function .onInit
; $R0 ...
0
votes
1
answer
32
views
NSIS: Failing to Read Environmental Variable Set with Setx During Compile Time
For the following script:
!define API_LOCAL_SETUP_LOCATION "C:\Temp\Some.exe"
Function API_CHECK
!system 'for %a in (${API_LOCAL_SETUP_LOCATION}) do setx x1 "%~ta"'
!if "$...
0
votes
0
answers
39
views
.exe installer not responding/disappears from windows screen while installing some packages
I have a flask app which is converted to .exe using NSI compiler. Now when every time user runs the .exe file the exe is looking on some network drive for the packages to install and installing it on ...
0
votes
0
answers
53
views
How to create mutil dialog with nsDialogs::Create 1018, when my install need mutil dialog
Page custom Page1Create Page1Leave PAGE_CUSTOM_FIRST
Page custom Page2Create Page2Leave PAGE_CUSTOM_SECOND
Page custom pgPageCreate pgPageLeave PAGE_CUSTOM_THIRD
Function Page1Create
nsDialogs::...
1
vote
0
answers
108
views
makensis compile error #12345: GrowBuf realloc/malloc(543160296) failed
I have a large NSIS installer project which has recently started failing to compile with the following error:
Internal compiler error #12345: GrowBuf realloc/malloc(543160296) failed.
Note: you may ...
0
votes
1
answer
59
views
Is it possible to add a confirmation popup to a license page before moving to the next page with NSIS?
The behavior I am hoping to achieve is as follows:
EULA is displayed (!insertmacro MUI_PAGE_LICENSE "${license}")
Once the user scrolls to the bottom of the EULA the continue button will ...