installer

How best to define a custom action in WiX?

I have a wix installer and a single custom action (plus undo and rollback) for it which uses a property from the installer. The custom action has to happen after all the files are on the hard disk. It seems that you need 16 entries in the wxs file for this; eight within the root, like so: <CustomAction Id="SetForRollbackDo" Execute="imm...

Anyone know of a solid .NET Framework 2.0 installer script for Inno Setup?

I've spent a good part of the day searching, writing and finally scrapping a script that I can use with my Inno Setup install script that will download and install the appropriate .NET 2.0 Framework if needed. There are definitely a number of examples out there, but they: Want to install Internet Explorer if needed which I wouldn't da...

Free Install Wizard software

Is there something like install shield that I can use for free? ...

Free mulitplatform installer

Expanding on http://stackoverflow.com/questions/137657/free-insaller I am looking for a cross platform installer. We support something like 27 platform variations and most of the installers mentioned in the other question are windows only. We are looking for something portable, possibly java based but I suppose any scripting language w...

How to change directory security attributes using InstallShield?

Hello all, I'd like to change the security attribute of a directory that InstallShield creates under the CSIDL_COMMON_APPDATA - can someone please advise on how to do that during the installation process? It's a script-defined folder. Thank you. ...

How to register file types/extensions with a WiX installer?

I didn't find an explicit answer to this question in the WiX Documentation (or Google, for that matter). Of course I could just write the appropriate registry keys in HKCR, but it makes me feel dirty and I'd expect this to be a standard task which should have a nice default solution. For bonus points, I'd like to know how to make it "sa...

Installer gives 2732 error :Directory Manager not initialized

Hi all, I has an msi installer which was working fine. I added an extrenal merge module . There were some directory merge errors during compilation. I removed the directories causing the error from the directory table of merge module. I am getting the error MSI error 2732 error :Directory Manager not initialized Please help in solvin...

Using InstallUtil and silently setting a windows service logon username/password

I need to use InstallUtil to install a C# windows service. I need to set the service logon credentials (username and password). All of this needs to be done silently. Is there are way to do something like this: installutil.exe myservice.exe /customarg1=username /customarg2=password ...

NSIS get path of current installer file that is running

Is there an NSIS var to get the path of the currently running installer? ...

Windows Installer - upgrade resuming after reboot

I have a Windows Installer MSI package that installs drivers which sometimes require a restart before they can be upgraded; the drivers are installed by a deferred custom action after WriteRegistryValues. When a reboot IS needed there's a rollback and the user is told to reboot and run the install again. In the InstallExecuteSequence ...

Windows .url links that point to same address when copied over or deleted

This is really annoying, we've switched our client downloads page to a different site and want to send a link out with our installer. When the link is created and overwrites the existing file, the metadata in windows XP still points to the same place even though the contents of the .url shows the correct address. I can change that URL p...

How can I determine that Windows Installer is performing an upgrade rather than a first time install?

I have an install that upgrades a previous version of an app if it exits. I'd like to skip certain actions when the install is upgrade mode. How can I determine if the install is running in upgrade mode vs. first time install mode? I'm using Wise Installer, but I don't think that matters. I'm assuming that Windows Installer has a proper...

How to deploy complex SQL solutions through an installer?

Part of the setup routine for the product I'm working on installs a database update utility. The utility checks the current version of the users database and (if necessary) executes a series of SQL statements that upgrade the database to the current version. Two key features of this routine: Once initiated, it runs without user intera...

What is the best way for a website to check if a user has installed a client app?

Let's say I've got a website that works better if a client has installed and logged into a desktop application. I'd like to be able to do 2 things: Alter the website if they haven't installed the app (to make it easy for them to find a link to the installer) If they've installed the app on a couple of machines, determine which machine...

How to detect an update using .NET 2 System.Configuration.Install?

I created a class derived from System.Configuration.Install for my installer. But the code in Uninstall() is being called when I try to update the application. How can I detect that the user is trying to update instead of uninstall? Maybe this post explains it better than me: My problem boils down to: when the user performs an upd...

Set ASP.Net version using WiX

I am creating an installer for an ASP.Net website using WiX. How do you set the ASP.Net version in IIS using WiX? ...

Windows hangs during headless build

We are trying to automate a build of one of our products which includes a step where it packages some things with WISE. At one point WISE pops up a window with a progress bar on it to show how it is doing. If one is connected to the machine with remote desktop the build works fine but if one is not connected the build stalls until you ...

API for creating installers on Windows

There are lots of tools for creating installers on Windows (InstallShield, InnoSetup, NSIS, just to name a few). All tools I've seen fall in one or both of these categories Point-and-click. Nice GUI for creating the installer, but the installer definition/project file can not be manually edited. Textfile: No (official) GUI. The install...

How to run a script in WiX with a custom action - simplest possible example?

Newbie WiX question: How do I 1. Copy a single-use shell script to temp along with the installer e.g. <Binary Id='permissions.cmd' src='permissions.cmd'/> 2. Find and run that script at the end of the install. e.g. <CustomAction Id='SetFolderPermissions' BinaryKey='permissions.cmd' ExeCommand='permissions.cmd' Return='igno...

Best Windows Installation file Creator?

I'm not the best programmer so I found it was much easier to write a program as several separate executables, which occasionally call each other. But now I need an easy way to actually run them without writing detailed instructions like Run file one, wait until its completed and no longer in process manager before running file two, file...