Questions tagged [nsis]

21 questions
6
votes
3 answers

Temp folder is not writeable for some applications, resulting app crashes

I dont know why, but suddenly many applications in my computer can't start. For example Chrome Portable shows this error on execution: NSIS Error Error writing temporary file. Make sure your temp folder is valid Many other applications just show a…
Alireza
  • 93
6
votes
1 answer

Unpack NSIS executable

I am trying to decompress a NSIS executable. With the GUI version of 7zip I am able to do this and the exe is listed as: Type = Nsis Method = LZMA:25 Solid = + With the command line version 7za I am unable to do this, but it is strange, since it…
antonio
  • 1,037
3
votes
2 answers

How can I get my NSIS context menu options back after associating a program with .NSI files?

I associated .nsi files with a text editor recently, and as a result lost all of the special NSIS context menu options for, eg., "Compile NSIS Script". How can I get them back?
ladenedge
  • 525
2
votes
2 answers

Why might an application fail to start on Windows 7 x64 with faulting module GDI32.dll?

I'm attempting to run NSIS.exe on Windows 7 x64, but it's crashing on start, and leaving this in the event log: Faulting application name: NSIS.exe, version: 0.0.0.0, time stamp: 0x4b1ae3a1 Faulting module name: GDI32.dll, version: 6.1.7600.16385,…
Nick Bolton
  • 3,660
2
votes
1 answer

How to change installation directory path with command line of NSIS installer of new VLC player?

I want to silently install NSIS in D:\VLC. I can do that with old VLC version i.e. VLC 1.1.9. But I cannot do the same for VLC 2.0.5. Here is the command line I am using vlc-1.1.9-win32.exe /D=D:\vlc\ Result: Command for 2.0.5 vlc-2.0.5-win32.exe…
1
vote
1 answer

How do I add customer data to the end of a NSIS installer

NSIS allows you to insert data on to the back of their exe files and then allows you to be able to read that data back during installation: http://nsis.sourceforge.net/ReadCustomerData How do I append my exe file with text data in a linux server…
arcanine
  • 111
1
vote
0 answers

How to use GetFileSecurity to check if the current user has write access to a directory in nsis?

Nsis installer needs to check the folder write access permission before proceeding with the installation, How to achieve this? I read online about GetFileSecurity, Could anyone please let me know how to use this win api?
Guest
  • 11
1
vote
2 answers

mysql silent install and configure in nsi

I want to silently install MySQL 5.0 in NSI. I tried the following code in NSI: ExecWait 'msiexec /i "$INSTDIR\mysql-essential-5.0.27-win32.msi" /qn' ExecWait "C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqlinstanceconfig.exe -i -q…
pradnya
  • 113
1
vote
1 answer

Starting a service which may have port conflicts with existing service

Is there any way to start a service and force a service that is already running to stop if it uses the port that the service I want to start is going to be using? I'm going to be installing apache and mysql, and want the services to be running…
Michael
  • 201
  • 3
  • 8
1
vote
1 answer

How can I protect my installer against extraction?

In the image below, the installer can be easily extracted with the UniExtract program enter image description here How can I prevent this? What tool should I use so that it can not be extracted at the time of extraction like the image below? Help if…
john
  • 25
1
vote
1 answer

Windows: update custom software installed on Program Files

Im the developer of a Windows software application which I currently release as "portable", meaning the user needs to extract it somewhere into his disk. Along with it I ship a small update tool (external app / python script converted into an .exe…
cidadao
  • 111
1
vote
1 answer

How to get rid of program whose uninstall throws NSIS error?

I installed OpenVPN 2.4.x on Windows 10 and the latest version was too unstable so I wanted to uninstall it to go back to a stable version. However, uninstalling it from both the the uninstall.exe that came with the install and Control Panel both…
amphibient
  • 2,243
  • 10
  • 33
  • 44
0
votes
1 answer

NSIS installer - change path based on dialog

Im trying to create an installer using NSIS, using "installer based on zip file". I'd like to create a dialog box at the beginning of install that gives the user 2 choices (32, 64), then depending upon the choice they made, to change the path…
Ke.
  • 343
0
votes
2 answers

NSIS installer not working with InTune

So, I've reviewed as much documentation as I can about InTune and NSIS and I can't seem to figure this out. I have an NSIS silent installer that (when executed locally, even as system via psexec) runs without any issue at all but seems to do…
A_Elric
  • 155
0
votes
1 answer

Unable to execute program from installer

I created an application (exe file) and in order to deploy it I am using two ways: Using zip file: I zipped the entire contents including executable. This method works and the end user is able to execute the program successfully ! Using 3rd…
1
2