installer

Downloading the JRE programmatically?

Sun's Deployment Toolkit contains a function for installing a specific JRE version, but it requires the use of a web browser. How can a desktop application download the JRE programmatically (without the use of a browser)? ...

Using WiX to package an installer with many files

I have a WiX 3 project that has hundreds of files, and I can't seem to figure out how to include them all using a wildcard. I have tried this: heat.exe" dir ".\!Build" -gg -ke -template:fragment -out "Files.wxs" This produces a fragment .wxs file, but I'm not sure what to do with it. Any help would be much appreciated. ...

Automate an OS check, three installers, and two registry appends

I need to create a single installer that I can distribute to machines running one of Windows XP or Vista. The installer needs to do the following: 1) Check if the OS is XP SP3 or Vista. If it's vanilla XP or SP1, run an MSI. This will install Remote Desktop 6.1. 2) Run an executable. This is the installation file for a VPN client a...

Best Installer Packages in Windows

Hi guys, Can somebody give me a top 5 of Installer Packages Creator aside from WIX and MSI? The said installer creators has the folowing capabilities: Supports MSI Has scripting capabilities Custom/user-defined U.I. Has product-key or authorization-key capability Has a boot-strap loader for .NET frameworks Thanks in advance, Glenn ...

How can my UnInstaller tell it's being called during a version upgrade?

Hello everyone, We are using VS2008 native Installer to set up our product. During both installation and product removal, we use Custom Actions to ask the user if he would like to keep his existing DB and settings (if detected). The arises when the user is upgrading: the Installer starts, recognizes there is a previous version installed...

Source file X is under Windows System File Protection in c#?

I got an error during creating a installer for my web application(c#). The error is Error 19 'msado20.tlb' should be excluded because its source file 'C:\Program Files\Common Files\system\ado\msado20.tlb' is under Windows System File Protection. what does mean? ...

Editing a custom configuration section in an installer class

I am trying to update a custom configuration section of a web.config file during the installation of my product in a custom action. I wanted to use the actual configration classes to do this however when the installer runs it loads my installer class but then the Configuration.GetSection throw a File Not Found exception as it is trying ...

.Net 2.0 Prerequisite Installer

What is the best way to ensure that a user who wants to install my application has .Net 2.0 installed on their computer? I don't really want to use a normal setup project created using Visual Studio, because my application is a portable application and does not use the registry or need an Add and Remove Programs entry. It needs to be a...

Install Firefox extension using windows registry

I have followed the instructions here [MDC - Adding Extensions using the Windows Registry], but haven't been able to get Firefox to automatically install my extension when I restart it. I have written an application that is half windows service and half FF extension. I have built an installer and want it to be able to install the Firef...

How does the savedState Dictionary work in the Installer?

I'm struggling to find documentation on how the stateSaver/savedState Dictionary works for the Windows Installer, in the Install and UnInstall overrides, can someone help. In my installers CustomAction I've been writing to registry entries, each time I do I add some of it's detail to the stateSaver. I had presumed this was taken into ac...

NSIS Integration with Windows Games Explorer

I'm trying to get the NSIS installer for my game to register the game with the Games Explorer in Vista/Win7. In all other respects, my installer is working fine - but I've had a difficult time identifying the 'right' way to integrate with the Games explorer. In my searching, I've found the following resources: Game Explorer with Help...

WiX: Invalid Language Id

Some executable files have resources marked "language neutral". Is it possible to package these binaries using WiX? The error I receive is: error LGHT0204 : ICE03: Invalid Language Id; Table: File, Column: Language, Key(s) Setting the Product.Language attribute to '0' does not fix the problem. ...

Installing assemblies to GAC with Windows Installer

I am creating a Windwos Installer project just for the use of installing our third party assemblies into the gac of the users computer. The problem i am running into, is when i make an update to the assemblie and increment it's version number, i get an error saying: "Another version of this product is already installed. Installation of ...

How to install/run a .Net activeX control at the default IE security level? Authenticode cert not working?

So after a lot of searching, trying and failing I've finally got the recipe down for creating a COM visible .net dll file, signing it and installing it (via cab and an exe) via IE such that you can use the control inside IE. Problem now is, it won't run at the default IE security level (Vista/Windows7). I got a thawte Authenticode cert...

Adding Custom prerequsites to visual studio setup project

I have a setup project that I need to install a redistributable that is not available in the default prerequisite list. Is it possible to add this redistributable to the bootstrapper that the setup project creates? ...

WCF service not working after program update

I have recently added a WCF service reference to my program. When I perform a clean install of this program, everything seems to work as expected. But, when I install the program on a client which already has a previous version (without the new service reference) installed, I get a exception telling me the default endpoint for this parti...

Web setup MSI fails on Windows Server 2008

I have built a web setup project in VS2008 which installs my ASP.NET/Silverlight app into IIS. This works fine everywhere except on Windows Server 2008. I get this error message in the MSI installer log file: MSI (c) (C8:D8) [15:02:21:067]: Invoking remote custom action. DLL: C:\Users\ADMINI~1\AppData\Local\Temp\1\MSIB7DD.tmp, Entrypoi...

Launching a program in different creds or HKCU and installers

I have an installer that needs to a person to be an admin ( well at least drop stuff in the c:\program files\app dir ) I also need to create a bunch of entries in HKCU the thing is if if the installer is running as admin where will the HKCU go , presumably the admin. But I want the HKCU of the logged in user, so I would like to launch an...

Suppress the reboot prompt for the .NET 3.5 SP1 redist

I have an InstallShield 2009 Basic MSI project that I've modified to load the 3.5 SP1 redistributable for the .NET framework. It loads fine but as soon as it finishes it displays a prompt saying the system has to reboot, and you can either say yes and it will reboot, or no and it will stop the install. I then went in and edited the .NET...

How can I require at least one of two optional components in WiX?

I am using WixUIFeatureTree to offer the user an option of what components of my application they want to install... One of my features has two optional features within it, at least one of which must be installed for the program to work. I don't want to force the user to install either particular one, but I'm at a loss as to how to fo...