windows-installer

Uninstalling demo/trial of Visual Studio 2008 Team System

I wish to uninstall the trail copy of VS 2008 Team System, as the trial is coming to its end. I had VS 2008 Professional Edition installed on the machine to start with and it still shows up in Add/Remove Problems. I am hoping that when I uninstall VS 2008 Team System I will be left with a working VS 2008 Professional Edition. When I t...

What is a sequence of actions in a default MSI installation (not custom)?

Hello. An MSI installer calls a lot of pre-defined actions during install - FindRelatedProducts, CheckVersion, etc. Different actions are called during different install types and sequences: admin, unattended, user, execute, deffered... and custom actions are queued 'before' or 'after' these predefined MSI actions. Is there a complete ...

VS2005 Setup and Deployment - MSI Installer on reboot

Hi I built a VS 2005 Setup and Deployment project and i'm able to install the setup without any problems. But, if I reboot my computer, the setup utility is being run again, asking me to install the software again (It already exists). I have not run into this problem before, any help would be greatly apperciated. Thanks! ...

Setup and Deployment Project - VS2005

Hi I built a VS 2005 Setup and Deployment project and i'm able to install the setup without any problems. But, if I reboot my computer, the setup utility is being run again, asking me to install the software again (It already exists). I have not run into this problem before, any help would be greatly apperciated. Thanks! This is what I...

Automatically create new user and silently use for Windows service installation using Visual Studio Installer

I have a Windows service that is installed using the Visual Studio (2008) installer. I wanted to avoid running as System, so I have been manually 1) creating a new Windows account on the computer and 2) entering in the computername\username and password during installation. I would like to have this require little user intervention, ...

How do I provide a UI to allow a user to specify an install path using WiX?

Hi all, I need help with the question above. Also, how can I ensure that the application installs for all users using the machine? I haven't really used WiX before. ...

Is it possible to do a Windows Installer minor upgrade when a file changes

Do you have to trigger a Major upgrade with a Windows Installer if one of the files has changed since the previous install? ...

Can windows installer default a program to use XP compatibility mode?

Hello, A client is having problems with an application we wrote but only when he runs it in Vista. It works fine however if he runs it in XP compatibility mode. While we get to the bottom of the Vista issue, is it possible to update our installer (Visual Studio 2008 windows forms installer for an app using .net 2.0) so that the installe...

Stop merge module from rebuilding when nothing has changed

I have a solution that builds an .msi. That installer project depends on a merge module project which assembles various data files that need to be installed alongside the binaries. Even if I make no changes to the contents of the merge module, it insists on rebuilding (which is time consuming) every time I want to rebuild the binary + in...

Should I be changing the ProductCode in my .vdproj file on each build?

At the moment our build automatically updates the version number in the deployment project file (VS2008) and changes the ProductCode and the PackageCode. We don't use much MSI functionality at all, it's more of a packaging method and a way to run custom actions which do some activity depending upon a definition file which is shipped a...

What is the best way to detect if Excel 2003 is installed?

I'm using Wix v3.0 (which boils down to an MSI installer) and I'm trying to author a condition to ensure that Excel 2003 is installed. What is the best (most robust) way to detect the presence of Excel 2003 on a machine? I've seen lots of different suggestions, but no definitive or authoritative answer. ...

Get product name from msi file in C#

Hi, I have an msi file that installs an application. I need to know the product name of that application before the installation starts. I tried the following: { ... Type type = Type.GetType("Windows.Installer"); WindowsInstaller.Installer installer = (WindowsInstaller.Installer) Activator.CreateInstance(type); installer.OpenDatab...

Wix installer and disabled features

I'm using Wix3 beta with Feature Tree UI. I'm installing several assemblies as separate components into a custom subdirectory inside ProgramFiles, as well as into GAC. Additionally I would like to package DEBUG versions of the same assemblies as one component and let the user decide whether to install them or not. Now this feature with d...

Questions about using the Background Intelligent Transfer Service

I have a few questions in regards to using the Background Intelligent Transfer Service (BITS) as a scheme to add auto-updating capabilities to a windows application. 1 - If a user disables the Windows Update process, does Windows disables BITS? 2 - How does BITS interact with firewalls (hardware and software)? For example, I install ...

MSI does not install all files when RemovePreviousVersion is run

I have a MSI build using WiX version 3. All previous installers for the product we are deploying worked fine with the configuration specified (that is: if previous version exists, remove, then install the new version) - however, the new MSIs we build don't install all files when it runs through the 'remove first' path. If we manually r...

How to extract data (file count) from MSI "File" Table

In our build process there is currently the potential for non-code based files (such as image files) to be added to our web project, but not included in the MSI installer built by WiX. To help prevent this, I want to perform the following in the AfterBuild target for our WiX project: Get a count of all files built (output from web de...

.NET setup projects using Visual Studio 2008

When you create a Setup project for a Windows/Console application, you find that there are two outputs. Setup.exe .msi What does setup.exe and .MSI do? Which one should be used for installation? I have seen that I can install the application using both. But Setup.exe is fairly small file compared to the .MSI file. Questions If I...

WMI "installed" query different from add/remove programs list?

Trying to use WMI to obtain a list of installed programs for Windows XP. Using wmic, I tried: C:\Documents and Settings\romandas>wmic wmic:root\cli>/output:c:\ProgramList.txt product get name,version and I get a listing of many of the installed programs, but after scrubbing this list against what "Add/Remove Programs" displays, I se...

Installshield multi-language issues

I've drawn the short straw at work and I have to support the Installshield 2009 setup application. When I open the .ISM file in InstallShield 2009 Professional I get this message: The following languages will be disabled as they were included in this project but are not installed on this system: Chinese (Traditional) German French (Fra...

How do I deploy a .inf based driver?

I would like to deploy a .inf based USB driver with my installer. I guess the .inf needs to be placed in %SystemRoot%\inf, but there is also a .cat (WHQL certification I guess?), and .sys files. What do I do with those? EDIT: Resolved, thanks to the helpful answers. I was able to P/Invoke the function, so I have a post-install action ...