msi

Problems with Windows Installer Package

I have a client that is having problems with our the .msi installer for our application. Wix was used to create this installer. The application has installed just fine on dozens of other machines, but on his machine it displays the message: This installation package could not be opened. Contact the application vendor to verify ...

WIX Merge Module : Trying to use $(var.Project.TargetFileName)

I have created a simple Wix 3 Merge Module in VS 2005 ( .wxs ) <?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"&gt; <Module Id="TestMergeModule" Language="1033" Version="1.0.0.0"> <Package Id="ef2a568e-a8db-4213-a211-9261c26031aa" Manufacturer="Me" InstallerVersion="200" /> <Director...

Msiexec REINSTALL=ALL REINSTALLMODE=vamus not reinstalling anything

Basically I'm trying to upgrade my application, and to my understanding the following should unconditionally reinstall all components: msiexec /i myapp.msi REINSTALL=ALL REINSTALLMODE=vamus In the verbose log however I see: MSI (s) (A0:60) [15:40:10:948]: Component: A; Installed: Local; Request: Null; Action: Null MSI (s) (A0:60) [...

How to extract files from MSI package?

Can anyone advise a way, or utility that can extract the files from an MSI installation package. We have some old patches that we want to get the files from but don't wish to spend the time installing them to a machine. Much appreciated. ...

a problem with the installation package

Dear all, When I install my application using the msi file for the second time, I found 2 different behaviors: 1) Sometimes it displays a warning window informing me that there is a previous version installed in your PC. If you want to remove it, please go to control panel. 2) It displays a wizard which asks me if I want to repair or ...

How to update specific files via msi installation.

I want to make a installation which can be both new installation and update installation. When it was used as an update installation, I want some files to be updated regardless the version and modified datetime. And some files would never be updated. What I tried: Set the "REINSTALLMODE" to "amus". And set the "Never overwrite" property...

MSI dialog doesn't repaint correctly

I have an MSI dialog for validating an installation key. The dialog contains: a text field (for the user to enter the key) a label (to display error information, like if the key is invalid or expired) a button (the "Next" button) When the user clicks the "Next" button, the key is validated, and, if it is invalid or expired, the label...

How to replace nested installations on Windows Installer?

On this MSDN page it is stated that nested installations (also called concurrent installations) on Windows Installer are deprecated. I'm currently installing a third-party msi with custon action type 23. With what mechanisms can I install a third-party msi without using nested installations? I tried using a custom action of type 34 call...

Custom property for RemoveExistingProducts action

When the RemoveExistingProducts action is executed, the MSI sets two properties UPGRADINGPRODUCTCODE={...} REMOVE=ALL How to add a custom property for this action? ...

Custom "Repair" and "Uninstall" funtions for MSI installers (when called from the Control Panel)

The Add/Remove Programs (or Programs and Features) Control Panel applet usually allows to uninstall or repair a program. For a non-MSI installation it's easy to define what should happen, when a user clicks the "Change" or "Uninstall" button. Just set the appropriate keys in the Registry (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Cu...

Localization using msi file

Dear all; in my application i want to support 2 languages (English and arabic). For now i throw the english version of the help file in a cartain path what if i want the user choose the language he wants to install his application with and according to choise i'll throw the related chm file in that path. also another part of the Q, can...

Bootstrapper: How to compile the application and prerequisite in single .msi package?

I am creating an .msi package for the application which has a prerequisite for installation. I am using the Visual Studio 2005 Bootstrapper for this task. To this end, I did the following: Located the folder C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\ and created a folder for my prerequisite (made it same s...

Typelib Generation and Installation with WiX

After asking about what Visual Studio does to register a COM Library, it became clear that VS did two things for COM registration: Registered the COM Library Creates and registers a Type Library Visual Studio seems to do this registration using regasm.exe. For the first part (the direct COM registration) using tallow or heat (WiX 2...

One MSI for two different installations

Is there a way to create a MSI so that it allows you to install the software in two different locations by re-running it? I'm creating a MSI to deploy a web application. I would like to build MSI once (I'm using Web Setup Project), say for staging and then once the build is qualified, I would like to run that same MSI again for yet ano...

How do I create a Setup And Deployment project that can run any number of times on a machine without requiring an uninstall?

How do I create a Setup And Deployment project that can run any number of times on a machine without requiring an uninstall? I've created an installer to install a WCF service to an IIS directory. It does more than just xcopy, it asks the users questions to correctly setup web.config. The problem is when it can only be installed once ...

Obfuscating assemblies before they get integrated to the MSI

I have a VS.NET 2008 solution which contains a Setup Project. This Setup Project takes output of my other project (in the same solution) and produces a MSI. So far, so good... I would like the assemblies included in the MSI to be obfuscated. This obfuscation itself is simple, but how can I introduce this pre-step (obfuscation) to the MSI...

Is VS2008 Required to Generate a Bootstrapper

Am I required to install Visual Studio 2008 in order to build a bootstrapper for my msi installer? I don't have VS2008 installed on my build server, and I'd rather not install it just to generate this one bootstrapper, but it appears that the required bootstrapper files (setup.bin, the Microsoft SDKs folder, etc) are included in the VS ...

MSI Launch Conditions Custom Actions

I have been able to trigger C# custom actions to overrride install and committ stages of an MSI. However, when deploying an ASP.NET app I wish to be able to perform checks before the install even begins. I know that there are launch conditions, however, I would like to be able to plug in my own code here to handle checks upon launch mys...

Extra space while installing .msi

I have extra space in my custom made .msi. The data to be installed has about 600MB and the installer says it needs 1.4 GB.Switching to a different location then the predetermined one (e.g from C:\Program Files\My_App to F:\My_App) shows that it always need approximately 800 MB on the Windows partition, which is in my case the extra spac...

Windows Installer: Signing Transforms

I've done a fair bit of Googling around this topic, and I haven't found a definitive answer yet. Hopefully one of you guys will be able to help out :-) I'm producing a Multi-lingual User Interface (MUI) installer using WiX; the output is a localised MSI for each culture targetted. After the MSIs have been built, a transform (MST) is g...