nsis

NSIS - shortcut in the left side of the start menu

Hi All, Windows XP start menu is divided into two parts, the left and the right. I'm able to add to the all programs folder of the start menu, but how do you add a shortcut for your application on the left side of the start menu? Thanks! ...

Checking single instance of NSIS installer

Hi All, I have an Updater program written in NSIS. I just wanna make sure that when it's invoked twice or more, it won't create another instance of the updater, else there would be two or more updaters running. How do you restrict the updater from creating another instance if your updater is already running? So that only one updater ...

Empty box showing up in my installer? How do I remove it?

I'm using a pretty simple install script for my application and its showing an empty box on the section selection screen. I would like to remove it, or at least know what its for and fill it up. here is a screenshot and my install script ; example2.nsi ; ; This script is based on example1.nsi, but it remember the directory, ; has un...

How do i change the start in path of a shortcut for nsis?

I have an nsis installer script for the application im working on and it can place a shortcut on the desktop and in the start menu folder but each shortcut has the wrong start in path and as such the app saves data files to where the short cut is. Is there an easy way to change the start in path as the documentation was less than helpf...

How can I check free space during a NullSoft silent install?

In silent install mode the user is not asked about the installation target with the PageEx directory, and therefore the functions DirVerify and GetInstDirError are never called. This is also applicable to installs that hardcode the installation target (a bad idea) for the same reason as above: the PageEx directory is never invoked. ...

How do you make an update installer with NSIS?

I currently have a project with an installer I made with NSIS, but I would like to have an update to new versions that only has the changed files and will show a changelog. The target platform is windows. What methods/suggestions do you have to do this? ...

NSIS license file based on language selection

Not quite sure how to accomplish this... I'm using NSIS to build an installer for some apps, and the installer supports English and Japanese. How would I tell NSIS to use one license file (license.txt) if the user selected English, and a different file (license.ja-JP.txt) if they selected Japanese? ...

default and sdbarker_tiny GUI of NSIS

Hi All, I'm trying to modify and resize the windows of default.exe which you can find in the Contrib/UI subfolder of NSIS. However, after saving the modifications to it I'm not able to see the changes in my installer's GUI. I tried deleting default.exe only to find out that it's not the default GUI used by NSIS when you're not using ...

Making shortcuts run minimized in NSIS

In Windows, one can edit a shortcut's properties and choose whether it should start the target program's window normally, minimized, or maximized. I'm creating an installer in NSIS, and there are some batch files to which I would like to create shortcuts and have them start minimized. Does anyone what parameters to include in CreateShor...

Compiling a set of NSIS scripts using Eclipse

Hi All, I have a script having dependencies to two other scripts. I'm using Eclipse as my NSIS editor. whenever I have changes to script3, I have to compile script1 and script2 first. And I do it manually. Other than creating a batch file, is there a way you could tell Eclipse that everytime you compile script3, it has to compile scri...

.js files replaced with garbage (html content ) of exactly the same size while installing with NSIS

While the installation of our software, on at least one PC, some files are replaced by html content and python of exactly the same size of the previous file, the creation date is exactly the same as others files. I suppose the antivirus (AVG free ) might be at fault, it look like the antivirus allocate memory to analyse the file, fail to...

NSIS script condition compilation based upon existance of a file.

I have an NSIS based installer that I need to be able generate slightly different versions of under different conditions. The conditions are easy to establish at compile time, if a particular file exists on the disk then the alternative branding can be used. I know I could use a command-line option to the makensis.exe to provide this b...

Create NSIS package as part of build

Is there a way to compile a NSIS package as part of a build? I use MSBuild. Update: There is a command tool called makensis as part of the NSIS download. I just executed that from my build script and handed it my .nsi file. Example: <Target Name="MakeDistributable"> <Exec command="..\Tools\NSIS\makensis.exe MyDistScript.nsi" Worki...

NSIS visual studio color/font/intellisense

Does anybody have a color/font/intellisense add in for editing of NSIS files? ...

How do you check what files are inside an NSIS setup.exe?

In my NSIS script, I use this line: File "..\help\*.*" My problem is that I have the help directory in my subversion repository (its constantly updated as we add new functionality). This means that the help directory contains a .svn directory. I wish to view the contents of the setup.exe that NSIS created to verify that it does not ...

Code Signing for my Lauch4J/NSIS Installer on Windows XP?

What is the procedure for signing my code so that when user clicks on the installer it does not prompt unknown vendor. My Setup is, Application is java based. I wrap jar with launch4j Installer is based on nsis. My build platform is xp. One other thing when installation is finished i get a pop up saying installation was not succesful...

[NSIS] Custom radio-buttom INI page via Eclipse

I'm using Eclipse's create InstallOptions menu to create a custom INI page with radio-buttons for repackaging the Blackberry Desktop installer. There are 2 sections for each type: "Internet" and "Enterprise". I need a user to select 1 of the 2 options and depending on their selection, the page will carry over the selection chosen in th...

NSIS to set default program to launch specified file type

I am using an NSIS script to create an installer for my Java program. My executeable jar is launched from a BAT file. The installer works fine, but I want a specific file type (just for an example ".zip") to always use my app as the default. Right now if I double click the file, I have to browse into "Program Files > Company Name > bat f...

NSIS get caller file path

I have an altered Java Launcher exe file written in NSIS that launches a JAR file (http://nsis.sourceforge.net/A%5Fslightly%5Fbetter%5FJava%5FLauncher). I want to pass into the JAR a parameter, that parameter being the absolute path of the file which called the exe. In a BAT file I can use "start MyApp.jar %1" and that fills in the abs...

NSIS Integration with Windows Games Explorer

I'm trying to get the NSIS installer for my game to register the game with the Games Explorer in Vista/Win7. In all other respects, my installer is working fine - but I've had a difficult time identifying the 'right' way to integrate with the Games explorer. In my searching, I've found the following resources: Game Explorer with Help...