I'm developing an NSIS installer, to update a program that runs in background. Obviously, I'd like to send the program termination signals, because otherwise I repeatedly get a "can't write" error. How can I do this, with a limited overhead on installer size?
...
How do I flag an app in Windows Vista/Seven to disable desktop composition thru registry or NSIS script?
Normally it´s done in Compatibility settings in app´s properties.
...
From an NSIS script (located at C:\nsis\ for example), I execute an external program (let's say something.bat) with some paramerters:
Exec '"Z:\draft\something.bat" $param1 $param2'
something.bat is suppoed to rename the directory C:\nsis. My question is, how can I tell Exec to launch something.bat inside Z:\draft\ and not C:\nsis\? B...
I have a third party application I would like to silent install from the command line.
The application is PPLive available at: http://www.pptv.com/en/
It is an NSIS installer, and currently when silently installed, installs toolbars, and additional pieces of software, launches on completion etc.
Without repackaging it, how do I contro...
During my NSIS setup script for a WinForms app, I use the following CACLS command to give the Users group full rights to a subfolder:
Exec 'CACLS "$INSTDIR\SubFolder" /E /T /C /G "Users":F'
So in effect the CACLS command executed is something like:
CACLS "c:\Program Files\MyApp\SubFolder" /E /T /C /G "Users":F
When I then look at t...
I've written an HTA file frontend for our web app that allows the web app to run without web browser status bars etc, and allows it to access the local system for certain tasks.
I need a way to deploy this to customers. I need an installer to supply an hta file, an ico file, and add a link to them in the start menu and on the users desk...
I need to make an installer for a MySQL 5.1 Database, but I'm totally a noob when it comes to installers.
I've been looking at NSIS and learned a little but I don't really know how to use it to just to execute a script.
Anyone out there has experience installing database schemas in multiple computers?
thanks
...
I'm looking to create an installer that will add a handler for a MIME type in Firefox and Explorer. The installer I will be using will be either INNO (a.k.a Oh Nooo!) or NSIS.
How do Mozilla and Microsoft recommend adding a handler. So far all I have been able to find for Firefox is how to Add/Remove/Augment manually which no matter how...
I'm looking to create an installer that will add a handler for a MIME type in Firefox and Explorer. The installer I will be using will be either INNO (a.k.a Oh Nooo!) or NSIS.
I'm looking for for how Mozilla and Microsoft recommend adding the handler. So far all I have been able to find for Firefox is how to Add/Remove/Augment manually ...
NSIS has a Name variable that you define in the script:
Name "MyApp"
It defines the name of the installer, that gets displayed as the window title, etc.
Is there a way to pull the .NET Version number out of my main EXE and append it to the Name?
So that my installer name would automatically be 'MyApp V2.2.0.0" or whatever?
...
I have a setup/deployment project that I've built in Visual Studio for packaging my WPF app. I now want to build an installer in NSIS for packaging my app. Is there any tool through which I can import my VS setup project into NSIS?
...
I have 2 versions of the same exe file for my project. The installer is supposed to pick one of the 2 versions depending on some conditions.
In a normal case i would do File executable\myExe.exe. Because i now have 2 versions of the file, i would have to do something like File "${ExeSourcePath}\myExe.exe", and $ExeSourcePath is determine...
I have an IE BHO which I was packaging through the Visual Studio setup and deployment project. I now want to the package it through an NSIS installer.
My BHO was registering in the following way:
[ComRegisterFunctionAttribute]
public static void Register(Type t)
{
string guid = t.GUID.ToString("B");
Registr...
i try installing a driver in a Windows 7 x64 environment, by using cmd, and a nsis installer made from a script
from cmd i do for example:
InfDefaultInstall C:\kit\driver\win7-64\my_driver.inf
from nsis i do (this is the line from the script):
Exec 'InfDefaultInstall $INSTDIR\driver\win7-64\my_driver.inf'
the inf file should cop...
I'm making installers for windows using NSIS and have a number of custom install options that the user can specify using the command line, for example:
installer.exe /IDPATH=c:\Program Files\Adobe\Adobe InDesign CS5 /S
What I want to do is show these options to the person installing. I can easily enough parse the /? or /help parameter...
I have a NSIS script with a number of sections and a section group. This is purely for display purposes, e.g.:
SectionGroup /e "ERP Integration"
Section /o "Exact" SEC_EXACT
; section stuff
SectionEnd
Section /o "Navision" SEC_NAV
; section stuff
SectionEnd
SectionGroupEnd
Now, I want to check if a par...
I want to include an installer created by NSIS into a Java project organized with Maven2. How can I incorporate this so that the installer is automatically built each time I use maven to create a distribution? I've tried the following:
http://mojo.codehaus.org/nsis-maven-plugin/plugin-info.html
The only way I could include the plugin ...
I'm using NSIS to write an installer. I'd like to copy the 'lib' directory contained in a zip. Is it possible to specify that the contents of sampleZip.zip/lib is copied to, say $INSTDIR\lib?
The basic idea of what I want is this, though it obviously doesn't work:
File /r sampleZip.zip\lib\*
Any ideas on how this can be done?
...
Currently the product I work on uses NSIS to create it's installer. It works great, we love it.
But now, with some of the issues arising with manipulation of data in program files on Windows 7 and such, we would like to have to separate destination folders during install. One destination will be where all the program files are held, whi...
I'm working on an NSIS script in which I have two directory pages. One gets the directory for the program install, and one gets the directory for putting any data.
The reason for this, is that with some of the control issues in windows 7 and vista involving the Program Files folder, I want the data to be placed outside of the Program Fi...