Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
31 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 ...
reza khademi's user avatar
0 votes
1 answer
26 views

Why NSI script doesn't show the folders inside $SYSDIR\config\systemprofile\AppData\Roaming

I develop an app which creates a Windows Service that creates a folder inside C:\Windows\System32\config\systemprofile\AppData\Roaming, called MyApp. I use NSIS to create the installer of my app. ...
Mateut Alin's user avatar
  • 1,285
0 votes
0 answers
26 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. ...
Abhiroop Saha's user avatar
0 votes
1 answer
40 views

NSIS installer says environment variables are empty at runtime

Create basic.nsi to read an environment variable at runtime using ReadEnvStr: !include "LogicLib.nsh" Outfile "TestInstaller.exe" Name "Test Installer" InstallDir $...
user236529's user avatar
0 votes
1 answer
26 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 ...
Luka Kavtaradze's user avatar
0 votes
1 answer
32 views

Flicker Phenomenon When Switching NSIS Custom Pages

I created several Custom pages as below. For each page custom function, do 'nsdialog::Create~nsdialog::show'. And call the LoadBannerImage function every few pages Images are placed in fixed positions ...
tux Neoh's user avatar
1 vote
1 answer
34 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 ...
Marco Rota's user avatar
0 votes
1 answer
33 views

ExecDos plugin artifact id, group id, version

I need to upload the https://nsis.sourceforge.io/ExecDos_plug-in in our official nexus repository, is there any way I can find the artifact id, group id or version of this plugin. I don't see anything ...
ckmb's user avatar
  • 75
0 votes
1 answer
72 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 ...
tux Neoh's user avatar
0 votes
1 answer
27 views

Among NSIS's email validity plug-ins, there is a script that is curious about its intent or meaning

The nsh script is as follows. I'm curious about the lbl_check part, and the part that declared the macro inside the function that starts in the fourth line below inside the CheckUserEmailAddress ...
tux Neoh's user avatar
0 votes
1 answer
23 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 ...
user26378046's user avatar
-1 votes
1 answer
22 views

Anaconda Windows Installer UAC NSIS flag

When I manually execute the Windows installer for Anaconda to install it for "All Users (required admin privileges)", the following parameters are specified by the manufacturer: /UAC:301B0 /...
Lenz's user avatar
  • 11
1 vote
1 answer
32 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) ...
tux Neoh's user avatar
0 votes
1 answer
85 views

Is it possible to change the size of a specific dialog control at runtime in NSIS?

I created 5 custom pages. While setup is in progress, I want to change the x, y coordinates or size of a specific control. I tried the following but to no avail: For example, change the y coordinate ...
tux Neoh's user avatar
0 votes
1 answer
61 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. ...
tux Neoh's user avatar
0 votes
1 answer
54 views

NSIS uninstaller deleted on reboot

This is a follow up to a previous question. I am writing an NSIS installer that first checks if the app has already been installed and prompts the user to uninstall before proceeding. The problem is ...
Olumide's user avatar
  • 5,769
0 votes
1 answer
59 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 ...
Olumide's user avatar
  • 5,769
0 votes
1 answer
51 views

NSIS IfFileExists effectively returns False even though file exists according to ReadRegStr

I am struggling to understand why IfFileExists essentially returns False even though the uninstall executable file $R0 returned by ReadRegStr below exists. ReadRegStr $R0 HKLM "Software\...
Olumide's user avatar
  • 5,769
0 votes
1 answer
29 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 "$...
Dash's user avatar
  • 308
0 votes
1 answer
45 views

NSIS $AppData pointing to a different folder on uninstall. Hot to fix it?

In my installer script I have: Section "Installer Section" SecInstaller LogSet on ... LogText "$APPDATA\MyDir" SetOutPath "$APPDATA\MyDir" File &...
Paulo Santos's user avatar
  • 11.5k
0 votes
0 answers
32 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 ...
yasin's user avatar
  • 5
1 vote
0 answers
24 views

Nsis problem: Error in macro GetVersion on macroline 14

I have been having this issue for a while and just cant figure it out. I would be eternaly gratefull if someone could help me with it. This is the error: Usage: StrCpy $(user_var: output) str [maxlen] ...
Melis's user avatar
  • 11
0 votes
0 answers
44 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::...
李朋涛's user avatar
0 votes
0 answers
24 views

NSIS Removing Unknown Registry Key

I'm creating an installer for an Excel Add-In. The install adds a value to the Excel Registry tree at: HKCU\SOFTWARE\Microsoft\Office\16.0\Excel\Add-in Manager With is simply the path to the add in, ...
Paulo Santos's user avatar
  • 11.5k
1 vote
0 answers
35 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 ...
Aaron Friesenborg's user avatar
0 votes
1 answer
30 views

is it possible to add a link to MUI_LICENSEPAGE_TEXT_BOTTOM?

I am attempting to add a hyperlink to the bottom text of the license page. For example: !define MUI_LICENSEPAGE_TEXT_BOTTOM "Click this link -> http://www.google.com/" !insertmacro ...
Robert Higgins's user avatar
0 votes
1 answer
42 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 ...
Robert Higgins's user avatar
0 votes
1 answer
62 views

Get differnt UAC_GetIntegrityLevel value with current NSIS installer version

After upgrading NSIS installer software from version 2.46 to 3.09 and usage of the same scripts on same computer we get different UAC_GetIntegrityLevel value: NSIS 2.46: UAC_GetIntegrityLevel=0x3000 ...
Frank's user avatar
  • 3
0 votes
1 answer
59 views

Change the color of the Button

!include "MUI2.nsh" !include "nsDialogs.nsh" OutFile "Test.exe" !define MUI_WELCOMEPAGE_TITLE "Welcome to the Example Installer" !define MUI_WELCOMEPAGE_TEXT &...
Jerlin Cs's user avatar
0 votes
0 answers
46 views

NSIS nsExec returns command it self

Function .onInstSuccess ExpandEnvStrings $R0 %COMSPEC% ExecWait '"$R0" /c reg save "HKEY_LOCAL_MACHINE\${RegUninstall}" "${SettingPath}registry.dat" /y' nsExec::Exec '&...
Joo Hwan Lee's user avatar
0 votes
1 answer
30 views

How to remove files in the post-installation phase of an NSIS installer generated by CPack

My project's main CMakeLists.txt contains instructions to generate an NSIS installer. One of these instructions is set(CPACK_NSIS_EXTRA_INSTALL_COMMANDS " nsExec::Exec '\\\"\\\$...
dde's user avatar
  • 172
0 votes
1 answer
42 views

How to make a POST request with headers using inetc::post in NSIS script

I need to make a POST API call when the user installs/uninstalls the program using NSIS script, but I don't know how to achieve this with headers consist of two keys AppId and AppKey. Here is my code ...
May Nguyen's user avatar
0 votes
1 answer
46 views

Nsis search folder with part of directory on all drives

I have this really niche problem, I am an assetto corsa modder, I make add-ons based on cars already in the game. I can't give it all the files because it could give people dlc's they haven't bought. (...
Vismonger's user avatar
0 votes
0 answers
44 views

Installer crashes after selecting Korean Language

I have an installer that is translated into many languages. They are displayed in the standard Droplist in their own language and it works good. I wanted to change the Droplist to a ListBox, or a ...
Endrit's user avatar
  • 11
0 votes
1 answer
50 views

How can I to know who uninstalled WPF app

I have a WPF app which is deployed into one single exe using command dotnet publish -r win-x64 /p:PublishSingleFile=true /p:IncludeNativeLibrariesForSelfExtract=true --self-contained true --output &...
May Nguyen's user avatar
0 votes
2 answers
54 views

unable to read the path environment variables in nsis

have to get the path environment variables to notepad using nsis script. but i was getting an empty string with the following code Section Readregstr $0 HKLM "SYSTEM\CurrentControlSet\Control\...
revanth reddy's user avatar
0 votes
1 answer
27 views

can anyone help me for NSIS Script I have a case where I need to check cases can be 3.3 3.42 23.5 23.56w 3.467 999.999 999.99a but not 1.b or 8..a

This script checks that: The version string is at least 3 characters long. The version string is not blank. The version contains a period. The characters before . Are digits. All characters except ...
Kanaparthi Jaya Krishna's user avatar
0 votes
2 answers
63 views

Can't use Pop to get control variable

Several examples show how to store a created control in a variable (Check Official documentation, or this answer for example). But in my script, the NSIS compiler is failing right at the pop. Here is ...
Mickaël C. Guimarães's user avatar
0 votes
1 answer
46 views

WPF app's icon not updated when the exe file is updated

I built a WPF desktop app (let's call this my_app.exe) and deployed using NSIS script to create an installer. When the users installed the app, the my_app.exe is located in C:\Program Files (x86)\...
May Nguyen's user avatar
0 votes
0 answers
28 views

Two electron applications installed but same desktop shortcut

I have two electron applications built with electron-builder. I'm on Windows 11 running "electron-builder": "^24.13.3". I install locally Application1 for all users. Everything is ...
SiliconValley's user avatar
1 vote
1 answer
194 views

NSIS Script - Check existence of .Net Framework 4.8 and install it

I am new to NSIS and learning to write a script that creates a windows installer using NSIS software utility tool. I have a requirement where i need to check the existence of .NET Framework 4.8, ...
Kamal's user avatar
  • 513
0 votes
0 answers
23 views

Integrate the nsis installer with electron application. But, Desktop application window not open

I'm creating electron desktop application. So, I have a idea with integrate the nsis installer and electron desktop application. Actually, I'm creating electron application exe and Installer exe. Then,...
Senthilkumar's user avatar
1 vote
2 answers
119 views

Registering COM Object on Windows 64-bit For Use In Excel-32 Bit Is Failing

I have an Excel application that uses a COM object. The COM object is VB.net and compiled in Visual Studio targeted to "Any CPU". I am registering the COM object for the current user only. ...
MatthewNYC's user avatar
0 votes
0 answers
24 views

Error: spawn ./assets/softwares/csharpSoftware.exe ENOENT

I got a problem with the NSIS Building and ElectronJS Script which I dont understand. I have a Button called "Open CSharp Software" in ElectronJS and If I debug, then the CSharp Software ...
DJ Mahir Nation TV's user avatar
0 votes
0 answers
24 views

Closing a Windows Background application with NSIS

I am currently trying to close all running processes on a server as admin, including those running in the background. It works great with my shell, but not with NSIS. Maybe someone can help me. Thank ...
manson95's user avatar
0 votes
1 answer
108 views

How to make an NSIS installer like Notion's?

I want to create the nsis installer like Notion's (desktop version on windows). I already know that Notion installer is created via nsis. It is not the default installer from nsis but one that is made ...
Gwitionin's user avatar
0 votes
0 answers
181 views

Electron Builder issue

electron builder - 23.6.1 node-14.15.0 Hi, I am trying to create exe (using electron.net) i was unable to do so. i Get the below error when trying the build the exe : /build error when building the ...
belinda viegas's user avatar
0 votes
0 answers
34 views

How can .NET Core installer projects depend on the publish output?

We have a solution containing several NSIS installers. For .NET framework we used Costura.Fody to combine the various DLLs into one executable, which it does as part of the build putting the result in ...
Fire Lancer's user avatar
  • 29.8k
0 votes
1 answer
179 views

How can I use NSIS to make an installer that will immediately unpack and run files?

How can I use NSIS to make such an installer? After launching, the application is immediately unpacked and launched. Is there any nsis script to create something like this? It's not the first time I'...
Qumanena's user avatar
0 votes
2 answers
87 views

How do I center the UI and stretch the shape over the entire resolution? NSIS

I put the MUI_PAGE_COMPONENTS form. Next, for the installer, I set the resolution to 1280 by 720. !define WIDTH 1280 !define HEIGHT 720 Function .onGUIInit GetDlgItem $0 $HWNDPARENT 1000 ...
MilkRen's user avatar

1
2 3 4 5
53