Hello,
Due to a security policy, our uninstaller.exe can only be launched from a "My Personals Tools" folder inside the Users\--user--\Documents.
When launched through double click on uninstaller.exe, I did observe that the uninstaller creates a set of Un_A.exe... Un_B.exe .... Un_Z.exe in the %TEMP% (User/AppData/Local/Temp/~nsu.tmp) folder, before failing with a Message Box with header "NSIS Error" and a cross icon beside the text "Error launching installer".
Please note that we are running Windows 7 and a NSIS 3.03 Portable version.
I had to migrate from NSIS version 2.45 in order to support both installation on Windows 7 and Windows 10, hence be able to detect ${IsWin10}.
Please note that the installer created with NSIS 3.03 Portable version works like a charm.
Question : Is there a way to have more DEBUG traces in order to investigate the issue.
Thanks for your help
Robert
NSIS Error - Error launching installer
5 posts
The uninstaller creates a copy of itself and then tries to run that copy. It does this because a running exe cannot be deleted and you want to be able to delete the uninstaller in $instdir.
The security policy is the problem.
Start cmd.exe and do something like:
The security policy is the problem.
Start cmd.exe and do something like:
Set tmp=%userprofile%\documents\my personal tools
Set temp=%tmp%
Uninstall.exe
Hi! Can I change text "error launching installer" at something other text? I want add some "recommendations" for users, if they get NSIS Error. Unfortunately, I can't change my installer to Unicode (some big plugins ansi-only). Thank's for answer! Sorry for my English.
If you want to edit the existing text then you can use a hex editor on the stub. If you want to make the string longer then you have to re-compile NSIS yourself.
Anders, thank you!