nsis

How do I require user to uninstall previous version with NSIS

I have just started using NSIS. It works very well but I find the documentation a bit unstructured. How do I require user to uninstall previous version before installing a new version with NSIS? NSIS (Nullsoft Scriptable Install System) is an open source system to create Windows installers. ...

Using nsis to retrieve choices from checkboxes

Hi there, I'm using nsis for an installer of a webapplication. In one page of the wizard i want the user choice one of three checkboxes: each of them has to set two variables in different ways. Here is the code i'm trying to run: !define DATA_ONE data_one.zip !define DATA_TWO data_two.zip !define DATA_THREE data_three.zip Functio...

TeamCity - How to create an installer package?

I'm pretty new with TeamCity but have 2-3 years experience with CC.NET-t. I'm familiar with MSBuild but maybe TeamCity has other ways to build things. I see that TeamCity has a nice UI and great plug-in framework. But I have no idea how can I configure an installer package build. My questions: I've checked out the source and built th...

Is it possible to silently run an NSIS installer in VISTA?

I made an updater which silently runs in XP and works just fine. But when it comes to Vista, the idea of silent installation gets ruined when UAC prompts the user to cancel or allow the user from running the program. Is there anything at all we can do about this? Thanks... ...

How to install a Firefox Addon with nsis

How can I install a Firefox addon via nsis installer? When I call Firefox with the .xpi extension it doesn't work and xpi extensions are not associated with Firefox either. If I drop it to "C:\Program Files\Mozilla Firefox\extensions" then it tries to install every single time a user opened the Firefox. Never deletes the original xpi ...

How do I detect which kind of JRE is installed -- 32bit vs. 64bit

During installation with an NSIS installer, I need to check which JRE (32bit vs 64bit) is installed on a system. I already know that I can check a system property "sun.arch.data.model", but this is Sun-specific. I'm wondering if there is a standard solution for this. ...

How to create a mock installer in NSIS?

I want to make a mock installer using NSIS so we can demo what our final install process will look like when it's done. I've gone through the wizard using the Eclipse plugin to create a classic installer. I want to add additional screens that have no back-end functionality but that would display a description of the data the user nee...

Install search provider [Internet Explorer]

This seems like a basic task, but I'm unable to find a solution for some reason. How can I programmatically install a search provider in Internet Explorer? I'm using NSIS for my installer. ...

NSIS license page

Hi All, Is there anyway you could resize the rich textbox in the license page of an NSIS installer? Thanks... ...

Is it possible to create an updater that downloads files from a web server using NSIS?

Hi all, I have created a mini installer in NSIS that installs patches for my application. I want to create an NSIS software updater that would download this mini installer from the web server. Is it possible? Thanks... ...

Call COM exe API from NSIS script

Is it possible to call an api exposed in COM exe server from NSIS script? I am not able to find any documentation for that. If anyone knows , please reply. ...

Saving NSIS Install Log

What's the easiest way to save the install log that is displayed in NSIS? I seem to remember reading somewhere that you can recompile the NSIS code with a special flag to enable it to save the log. Is there an easier way? ...

Is it possible to use http get and http post in NSIS?

Hi all, I have a local updater that is able to download a mini installer from the web server using the NSISdl plugin. Let's say I have a bunch of mini installer versions. Is there also a way for the local installer to check for the "LATEST" mini installer available from the web server . I've heard you can do that through a web servic...

How to divide an NSIS script among developers?

I'd like to divide tasks for the development of a NSIS installer among a couple of developers. How can I physically organize the code? Do they have to edit and merge the single .nsi script when they check into SVN? Is it possible to divide NSIS scripts into modular, separate files? This would be ideal. Thanks! ...

Invisible form fields in NSIS?

Is it possible to create invisible form fields in an NSIS installer? I'm using nsDialogs and currently have a checkbox that toggles some fields from to readonly/non-readonly by using: SendMessage $TextBox1 ${EM_SETREADONLY} 1 0 I'd like to make this control visible / not visible. Is this possible? How? ...

NSIS patching (multiple patches in one file)

I'm able to generate patch files from one version to another using NSIS' Vpatch. Let's say I have mydll.dll version 1, and I have a patch to update it to version 2. Then I have a new version again, thus I generate another patch to update it to version 3. What bothers me though is, what if user cancels updating to version 2 and so fort...

Installer for Windows application

I have to create an installation file for ActiveX components. This ActiveX components will be downloaded as an *.exe installer file, executing this installer file will install the required ActiveX components on the user's PC. To create such an installation file I came across two installer software - Install Shield NSIS (Nullsoft Scrip...

How to let user decide if he wants shortcut on the desktop in NSIS (Nullsoft Scriptable Install System)?

Hi, As in the question I want to let user decide if he/she wants desktop shortcut of my application or not using NSIS. I was trying to do it using custom pages, but no luck. Maybe someone did it before and will be willing to share the script? Thanks in advance :) ...

nsis: How do I create a start menu shortcut to open a folder?

My NSIS installer creates Start Menu links to run and uninstall my application. Using NSIS, how do I create StartMenu shortcut to open a folder in Windows Explorer? ...

How to "refresh" Windows 7 start menu from NSIS installer ?

Hi, I have an installer (NSIS) that creates shortcuts in start menu. When I remove the program uninstall removes the folder from: C:\Users\<username>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\ unfortunately the folder is still in start menu. Maybe it's just a matter of refreshing the start menu - but how to do it from NSI...