installer

Setupbld not performing as required

Hi... I am using "setubld.exe" (by wix) to merge .exe and .msi file It executes pre-requisite file .exe file and then it throws error that Setup.msi file not found. Can anyone please guide me on this. ...

How do I do whatever it was that the Windows Installer CleanUp Utility did?

Microsoft's "Windows Installer CleanUp Utility" could be used to help fix broken installations of MSI-installer based products. When the installer failed in some strange way and left corrupt data behind, so bad that even Add/Remove Programs couldn't help, you could often fix things by running this utility and then running the applicatio...

Using NSIS, how to let user choose option on uninstall?

I'm using NSIS and the Modern User Interface 2. During uninstall, I want to let the user select whether to delete saved application data or not by clicking a checkbox... What is the best way to do this? ...

How do you make a really nice installer like Visual Studio's?

What are installers like the installer for Visual Studio made in? How do they make such a nice installation experience? I know InstallShield can emulate this, but does Visual Studio use InstallShield, or did InstallShield copy it? ...

Can't install Prism...??

Should have been simple but I guess not.. I downloaded the Prism 2.2 source and the Prism Prism 4.0 Drop 3 source and they both do the same thing. I run the installer and click "Yes" to agree to the terms and then it loads but no files are put on my computer. Anyone? ...

How do I package up a windows driver for deployment?

I have a windows driver which is sys and inf files which I need to package up for deployment on end user systems. How do I do this and what tools can I use? ...

WiX service installer and custom install events...

I have an existing (C# based) windows service that is derived from the Installer class and I currently use the MS supplied, command line InstallUtil to install it and uninstall it. This works fine and as part of my system I have attached event handlers to the AfterUninstallEventHandler and CommittedEventHandler events. In my case I sim...

Packaging C# Applications with third party libraries?

New to C# here. So I have an application that utilises the BouncyCastle framework, how can I package this application so that I dont have to manually put BouncyCastle's .dll on others computers? I'm assuming that this can be done with an install or something? And where do applications look for referenced third party libraries by default?...

Wix Woes: Chaining MSIs, but installing conditionally?

I am new to WiX (and installers in general), and am finding the whole process quite overwhelming. What I want to do is this: I have a very large application with a working installer currently (VS2008 Setup Project) The application depends on SQL Server Express 2008 R2 to be installed, but if the machine already has a full version of SQ...

NSIS - How to copy recursively while excluding files?

I need to copy a directory recursively but exclude a couple of directories within it. The documentation for NSIS says the File command takes /r and /x parameters, but I cannot get them to work together properly. The structure of my directory containing my .nsi script is: parent-dir dir-to-exclude-1 setup.nsi dir-to-cop...

Setting Public Property in msi Custom Action

Is it possible to set a public property (say MYPROPERTY) from a C# custom action? I can read properties with Context.Parameters["MYPROPERTY"] that I pass into the custom action data but is there a way to set them too? Thanks. ...

The main differences between IIS6 and IIS7

Hi, I am writing a installer using WiX that will create a website and virtual directory, amongst other things, in IIS. I have been having trouble ensuring that the installer will work on both Windows Server 2003 with IIS6, Windows Server 2008 with IIS7 and Windows Server 2008 R2 with IIS7.5. One of the first problems that I came across...

How to implement web-based installer?

Guys how can I implement a web installer for my application? ...

How to read a command line parameter given to an uninstaller?

Using NSIS, how can I read a (optional) command-line parameter provided to an uninstaller? I don't need to read it by name-- just reading the first parameter given could be enough. ...

How to wait for uninstaller to finish?

Using NSIS, I want to launch an uninstaller and wait for it to finish before proceeding with my installer. The problem is the uninstaller is returning immediately, even though I'm using ExecWait. I saw this page here: http://nsis.sourceforge.net/When_I_use_ExecWait,_it_doesn%27t_wait which mentions why it's happening, and then offers ...

Detecting if SQL Server 2008 is installed

I am using dotNetInstaller as a bootstrapper and I need to detect if SQL Server 2008 or above is installed as a prerequisite. Currently I am using this registry to detect the installation: HKLM\SOFTWARE\Microsoft\Microsoft SQL Server 2008 Redist\SharedManagementObjects\1033\CurrentVersion\Version If the value of Version is 10.0.0 or h...

Is it safe to do "RmDir /r $INSTDIR" in NSIS?

I noticed this warning in the documentation for NSIS's RmDir method: Warning: using RMDir /r $INSTDIR in the uninstaller is not safe. Though it is unlikely, the user might select to install to the Program Files folder and so this command will wipe out the entire Program Files folder, including other programs that has noth...

How do I create an installer for a .NET winforms application so it doesn't need to install?

I'm responsible for an in-house application that is deployed as a ClickOnce application. We run into issues reasonably frequently when a developer runs the tool after a a several new versions have been published (due to new features, bug fixes or whatever) and the output of the tool no longer conforms to what the developer is expecting...

32bit MSI: Converting shortcut target path of 64bit app to 32 bit Path

Hi I'm working on a deployment project (Wix based) which is used to deploy an application to run with AutoCAD and create shortcuts of AutoCAD's acad.exe while passing its own argument. To achieve this, there is a Custom Action dll (C++) which iterate through Autocad's registry keys and get the "acad.exe" location and create/update the ...

Air sub applications.

Hi Is it possible for an Adobe Air application to install, upgrade and execute other Adobe-Air files. The basic use case is for a launcher application. It launches and manages other applications at user request, however doesn't need to install the runtimes until such a point as the user intends to execute it. EDIT: A good starting poi...