installer

Free software for windows installers: NSIS vs. WiX?

I'm need to choose a software package for installing software. NSIS and WiX seem promising. Which one would you recommend over the other and why? Feel free to offer something else if you think it's better than these two. ...

Trying to use EnsureTable in Wix to fix Validation Errors

I hit numerous errors in Wix 3.0 when I tried to use the msvbvm60.msm merge module: C:\[...]: error LGHT0204 : ICE03: Table: Registry Column: Registry Missing specifications in _Validation Table (or Old Database) C:\[...]: error LGHT0204 : ICE03: Table: Registry Column: Root Missing specifications in _Validation Table (or Old Database) ...

Hide the uninstaller in Add/Remove Programs?

I am creating windows installer project using Visual Studio 2005. Is there an option make it so that my project does NOT have an uninstall option in Add/Remove programs? One of my customers has asked me to do this.. Here's Why: Because the installer is a patch to an existing program. After uninstalling, the program no longer works beca...

Uninstall before installing a windows service

I am reading about how you can create an .exe that will install a windows service to the server. Say I already have the windows service installed and I want to perform an update. Is there a way for the installer to uninstall (stop the service, delete it, uninstall it) the currently running service and then install the updated version? ...

MSI Error Code 2869 on Vista

I have an MSI for a .NET application that I created using Visual Studio 2005 that includes a custom action to write some registry keys at the end of the install. I found that the installer works fine on Windows XP SP2 and SP3. However, when I try to run the installer on a Vista PC, the installer seems to get almost all the way to the e...

Creating a future proof .NET 3.5 SP1 installer prerequisite for setup.exe AND the .MSI

I've demanded .NET 3.5 SP1 a la http://stackoverflow.com/questions/88136/will-a-vs2008-setup-project-update-net-3-5-sp1. This makes the setup.exe check correctly. I've also added a "SP1" launch condition to my MSI so it doesn't let the user install my .NET 3.5SP1 app via launching the MSI (and replaced the [VSDNETMSG] in the Framework ...

How to create a multi-level subfolder in Start menu using Wix

Hi guys. How do I create sub folders (several levels deep) in the Windows Start menu, using Wix? Currently I am able to put my shortcut in the Start menu, but only in a folder immediately under Programs (Start / Programs / MyFolder), but I want to nest my shortcut deeper (Start / Programs / MyPlatform / MyProduct / etc). I tried differen...

Unwanted MSI appearance after installation

I used windows installer (msi project) and actually I have the msi file after installation it throws a shortcuts to the desktop. My problem is when i double-click on the shortcut for my application, it displays somthing like the installation then it runs my application. I don't want the installtion windows to appear where my application...

How do I create a conditional property in Wix? (Almost like an If-Then)

I have a Wix project that installs a few exe files. One is the 'Main' executable and the others are supporting programs to help diagnose problems. The main executable is optional, and the support programs will run on their own. Often, the end user will install a thrid-party program instead of my main executable. At the end of the wix i...

Wix major upgrade

How do I use WIX to prevent overwriting a config file during a 'Major Upgrade'? I want the file to be installed on the initial install, removed on uninstall, and left unchanged on a 'Major Upgrade'. Thanks ...

Detecting if the target volume is NTFS using NSIS

I'm creating an installer with NSIS for a program that needs to run on an NTFS volume. How do I detect if the install to path is on an NTFS volume and act accordingly (show a help/warning message)? ...

Does anybody create installers to deploy internal asp.net web applications?

I've always deployed my web applications via FTP (sometimes even xcopy), and then manually run database scripts myself. I started deploying this way in the 90's, but lately, I've seen a few web apps with installers. I'm starting to question, if I'm locked into an out dated process. I'm a consultant, my apps are usually internal, so ...

Is there any Glade3 installer for Windows?

I downloaded file: http://downloads.sourceforge.net/gladewin32/glade-3.4.3-win32-1.zip and when I extract it an run glade-3.exe from /bin folder, I get "no libxml2.dll" error. Now, I want to find installer (like GTK+ bundle for GTK+) that would install glade3 and all it's dependencies for Windows XP. ...

WinCE CabWiz error: "inf contains DirIDs, which are not supported"

When building the windows mobile cab for our product, the windows CE CAB Wizard (CabWiz.exe) sometimes returns the error: Error: File c:\docume~1\build\locals~1\temp\wiz3340.inf contains DirIDs, which are not supported This error can occur when using more than 998 files, ~260 directories, or when a % sign is unescaped (with a...

Self installing application or separate installer?

To get an application installed on a new computer there seems to be two major approaches in current use: Separate installer: Create a separate installer package that creates all directories, files, registry entries required by your application (ie an MSI, InstallSheild etc) and then finally copies your application to the target compute...

VS Installer Custom Action Question

If you have a web app merge module and an exe merge module included in the same setup-deployment project, the Context.Parameters["AssemblyPath"] value inside the custom action for each merge module gets messed up. Try creating a setup-deployment project that has a web project and an app project like this: Create a Web project Create a ...

If the user uninstalls your program, what do you do with the user data?

I'm a developer in need of ammo. If the user chooses to uninstall your program, what do you do with the data your program kept in HKEY_CURRENT_USER, and other parts of the user profile? The program stores user data (logs, etc) in the user folders. The client wants an uninstall to remove all those data...for all users. At the same time...

How do I distribute my slightly customized Linux in VirtualBox?

Suppose I've got some Arch Linux installation which I'd like to distribute among students with (sometimes very) basic Linux knowledge to make them able to compile C programs in an environment very similar to that in the university. (Things like Cygwin or MinGW seem to be inappropriate here.) I also choose VirtualBox as a holder for the ...

Creating an installer, error The Folder path '.' contains an invalid character.

I am trying to make an installer for a project I did not write, and I use the wizard to create the setup. Program Files Folder contains a favicon.ico, a custom dll, and Primary output from the project. Whenever I build the installer and try to run it I get a, "The folder path '.' contains an invalid character." and the installer aborts....

Running an installer or checking to see if a program is installed

I have a program that I want to use as an autorun. I want it to be able to do three things. It needs to check to see if a specific program is installed, if it is not, present the user with the option to install it. Second, if the program is installed, present the user with the option of running it and uninstalling it, third, present the ...