nsis

Missing welcome image in NSIS/MUI2

Hello, I'm struggling to add an image to the first page of an installer written with NSIS/MUI2. Here's a trimmed down version of the code I'm using. !include "MUI2.nsh" !define MUI_HEADERIMAGE !define MUI_HEADERIMAGE_BITMAP nsis-header.bmp !define MUI_WELCOMEFINISHPAGE_BITMAP nsis-welcome.bmp OutFile "Setup.exe" # Set language...

NSIS - Silent Autoupdate Application

Hello, I have an NSIS install kit for my .net c# application. Is there a way to silently autoupdate my application, considering that I already downloaded the new update (new NSIS app version) to local computer ? Thanks! :) ...

When using NSIS, how do I create an uninstaller with custom pages?

I would like to have an uninstaller with custom NS pages. How do I do that with NSIS? ...

NSIS:Detecting whether VS2005 runtimes are installed

Hi, 1)Which is the best way to detect whether vs2005 runtimes are installed in a system using NSIS installer? 2)If runtimes are not detected which is the best way to add run time libraries- a)running an embedded vcredist or b)copying dlls to the installation folder Thanks ...

NSIS installer that checks for .NET Framework

I want to create an NSIS installer that checks for the .NET Framework and installs it if it's not there. Can you point me to a script for this? I'm very new to NSIS. ...

Installshield vs Wix vs NSIS for website and windows services deployment?

Hi, the company I work for is looking at different options for installers. The product consists of a ASP.NET web site, some web services, and windows services. We'd like to be able to install everything in one go, but be able to uninstall or update services individually. We'd also like to be able to configure/edit xml files (like app....

Identifiy IIS 7 using NSIS

Is there a way to identify the current version of IIS / using NSIS? I need a way to add some special behaviour to my installer in case of IIS 7. ...

NSIS InstallDir in Vista / XP

I created installer via NSIS. "c:\program files\myapp" is default folder for my application. But I need another default folder (for example c:\users\\AppData\myapp) in Windows Vista. I found lot of Functions to determine Windows version, but I cannot call them before defining InstallDir variable. Any ideas how to do it? ...

How to Add a Desktop Shortcut Option on Finish Page in NSIS installer?

I'm trying to create an installer using NSIS Modern User Interface for the first time. I would like to know how I can add an option (checkbox) for users to select to have a desktop shortcut created on the Finish Page (the last screen of the installer) in addition to the "Run XXXX" option that's already there. ...

NSIS - Define InstallDir depending on FileExists

What I want to do with this script is to copy a file in a folder who already exists. But it can be at the root (C:) or in the program files. There what I want, but this script doesn’t work: ${If} ${FileExists} "C:\Cisco Systems\VPN Client\Profiles" InstallDir "C:\Cisco Systems\VPN Client\Profiles" ${ElseIf} ${FileExists} "$PROG...

How to hide all windows until I need them in NSIS

I have a NSIS installer I want to be totally silent unless it needs to download additional files. I can make it totally silent with SilentInstall, but then i can't make my download dialog appear (i'm using InetLoad::load). I would like to tell NSIS not to show any windows until I say so. The best I can come up with is HideWindow. Unfor...

Methods for debugging NSIS installers?

Although NSIS allows you to build quite powerful installers, the "so low level language that it reminds me of assembly" that NSIS uses is quite prone to making mistakes and therefore, when you want your installer to do something more complex other than writing files, debugging is a must. Until now I've used the following Dr Printf-like ...

NSIS: Task Scheduler: Run only if logged on checkbox

I am having issues with setting up a scheduled task with NSIS. I will not know all of the passwords for the users I am setting up tasks for therefore I need the Run Only if Logged On checkbox checked to get around that. I do not have access to install other pieces of software onto the computer other than setting up the task so I have t...

Defragmenting Windows Drives as part of an NSIS installer script?

I need to install a piece of software with a lot of files. Our experience showed, that on highly fragmented hard drives that leads to very poor performance. So I want to include automatic disk defragmentation into my installer (which I plan to write using NSIS). How can I include a defrag command and read the results as part of my instal...

NSIS: How to check whether *.dll from my installation is in $SYSDIR?

Hi, I'm very new to NSIS and to stackoverflow.. so let me start with a "basic" question. I wanted to write an *.nsi script, let's call it for now setup.nsi, and check if several *.dll (from where I am copying the files) exists in $SYSDIR Let me emphasize on the word "several" What I understand from nsis IfFileExists documentation is...

Is it possible for 32 bit NSIS to launch a 64 bit program?

I'm porting a windows program from 32 -> 64 bit. It has a 32 bit installer which is written using NSIS. Can I launch one of my new 64 bit exes using the 32 bit NSIS installer? I don't think there is a 64 bit version of NSIS... ...

nullsoft installer to install silverlight

Does anyone know if silverlight can be packaged into an installer such as NSIS? ...

How to clear IconCache in windows7 via NSIS

Hi folks! I have a problem with installing of my application via NSIS in windows 7. Application installs successfully, but instead of myApplicationsIcon windows shows generic icon. I know how to fix this problem manually(delete IconCache.db in AppData\Local), but how can I do this with NSIS-script? Regards, Dmitry. ...

Writing upgradeable msi packages using WiX

I am writing a installer for an existing product, for which an earlier installer was written in NSIS (Nullsoft Scriptable Install System). I have to write an msi based installer for this product using WiX. I have certain question regarding this :- How to detect whether my application is installed or not on a target machine? The applica...

Build NSIS script as a MSI package

Hello, I was just wondering if there's any way how to compile the Nullsoft Installer Script (NSI) setup as a MSI package instead of an EXE. Thanks. ...