windows-installer

Disable Advertised File Associations in VS Setup (Installer) project

I'm using a Setup project in VS 2005, and I've learned all about the "joys" of advertised shortcuts. My project creates shortcuts to the program on the Desktop and Start Menu, and whenever those are run, the MSI re-installs the application (because installed files have changed). I've also created a file association for my application,...

How do I get the ARP to run my installer's bootstrap app for a modify install?

I'm working on an installer project that consists of an MSI file and a bootstrap application that manages the prerequisites; and since the need for some of the prerequisites depends on what features the user chooses to install, the bootstrap app also provides the UI. I want to be able to force the Add/Remove Programs (or Programs and Fea...

MSI install sequence - run DB scripts before services start

Folks, we're running into some sequencing troubles with our MSI install. As part of our app, we install a bunch of services and allow the user to pick whether to start them right away or later. When they start right away, they seem to start too early in the install sequence - before our database manager had a chance to update the datab...

Are there any limitations with Visual Studio Setup Projects?

Are there any limitations that I might face when using VS Setup Projects? I plan to use them, but am not sure if this would be a good idea. ...

Detecting x86/x64 and installing correct .msi

I am finalizing an application that will soon be submitted for Windows Logo Program validation. One of the requirements is x64 compatibility. Specifically, Crystal Reports 2008 must work under x64. My problem is that Crystal Reports basic 2008 (the one packaged with Visual Studio 2008) has no merge modules and must be installed using ...

What are the VS SDK 1.1 MSI Installer Properties?

My problem is this: I am getting a TFS build failure that I have tracked back to what appears to be a missing Registry key under SOFTWARE\Microsoft\VisualStudio\9.0Exp. This machine had the VS SDK 1.1 installed via a command line: msiexec vsski.msi So, I am guessing that I need to pass some properties to the msiexec to tell it that it ...

How to revert an installed feature to be advertised?

I have a feature in my product that I would like to be installed on demand via assigned advertising (i.e., it's installed for real when an advertised file, shortcut or COM class is accessed). There are some security implications associated with installing this feature, which is why I would like it to be only installed when it's required...

TerminalServer Property in MSI Installers

Hi Folks, we are trying to create an MSI Installer for an app which under Windows Server 2003. The app needs users to be able to log on via Remote Desktop. Using the "TerminalServer" property looked like the correct test to ensure that's the case, but this returns "false" on machines which do have the right OS with Terminal Service runn...

Using WiX, how to install single file to (potentially) multiple sub-directories, based on what is available at install time?

I'm using WiX, and would like to know the .wxs necessary to take a file and install it to every available sub-directory of a particular location. This could mean 0 or more final installation locations, determined at install time based on the currently existing directory structure. For example, if I started the install with: \target \su...

security in sql server 2000

How to create user and connect user in sql server 2000? ...

Removing text in the banner in a Windows Installer project

Hi, I'm using the standard Visual Studio deployment project and want to remove the text in the banner (the text that says "Welcome to the Your Project Setup Wizard". I want to remove it because I want a custom banner and don't want the text written over the banner. I can't see any properties in VS to allow this. Can it be done witho...

MSI Install-on-demand best practices?

I'm working on a new feature for our product, a component of which has some fairly major security implications: it runs as a WCF service, and performs some highly-privileged actions. As such, I'd like that component to only be installed when the user requires it (and removed when it's no longer required), and for the installation to be ...

How do you remove an advertised shortcut programmatically?

So I botched an msi installer and deployed it after only testing installation, not uninstall (bad I know, added running of an exe after install, but forgot to specify that it should only occur on install not uninstall). I found the Windows Installer Cleanup util, and the related msizap that I'll use to automate the process. The proble...

How to resolve merge module dependencies

Hi! I'm trying to add a merge module to my windows installer 3.1 project. It turns out that it has a dependency to another merge module ... which I also have added. But it seems like the first module doesn't register that this new merge module has been added, so I still get a warning that says: "Unable to find module dependency with sig...

How to fix a botched MSI installer that won't uninstall

As a followup to this question and after reading Rob Mensching's blog post that was referred to from this answer, it seems the way I'm trying to do it with msizap is a bad idea and I'm seeing some problems with it in testing. In his post under what he'd do differently, he said: With the data build a solution. I expect that a new M...

Nant build MSI file

how do i use NAnt to build the msi file thanks ...

What are good InstallAnywhere replacements for installing a Java EE application?

Which (commercial or free) installer tool would you recommend to replace InstallAnywhere as the installer for a Java EE application? What do you specifically like about it, and what are its downsides? Some requirements: Must support running custom Java code as part of installation procedure Must support Windows, including latest 64-bi...

Detect if an assembly is in the GAC via WiX 3?

I'd like to detect in WiX 3 (preferably via a Condition) whether a particular assembly is in the GAC. I know the name, version, and public key token of said assembly. Is there any built in way to do this, or will I have to write a CustomAction to do it? And how would I go about setting up that CustomAction? (This would be before the inst...

How can I install a third party MSI using a custom action?

I have a Visual FoxPro installer (exe) that I want to launch using a WiX custom action. However, I think the VFP installer is a wrapper for an MSI as I'm getting "Error 1500" which seems to denote I'm trying to run two installers at the same time. How can I bootstrap this third party MSI from my own MSI? I'm currently launching the VFP...

WiX - trying to figure out install sequences

I'm installing a large app, and part of it is a custom written tool called "DbUpdateManager" to mass execute SQL scripts against our target database. Right now, the WiX 2.x install works - but it has one flaw: during install, I also install a couple of Windows services, which can be optionally started right away. Those however will fail...