windows-installer

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 ...

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) [...

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...

Does Windows Installer use Assembly Version or File Version to update dlls

I have a .net (2.0) winforms application that I need to upgrade on client machines. At the moment this is done by incrementing the Assembly Version and File Version on all of the projects and incrementing the version on the Installer project in VS2008. The application now makes use of Isolated Storage to save some user settings in an XM...

Conditionally install x64 drivers with Inno Setup

I am attempting to use Inno Setup to bootstrap a WiX generated .msi file with all required prerequisites. For the most part this is working quite well, but I cannot locate any information to conditionally install and run a prerequisite installer based on x86/x64, like I can in Windows Installer. Anybody have any luck with this? I am t...

Error with Windows Installer ... "Unable to get installer types"

Good morning everyone, I'm experiencing an error when using the windows installer to install an event source in a product I am deploying. The error message I receive states the following ... Unable to get installer types in the c:\temp\program.exe assembly. --> Unable to load one or more of the requested types. Retrieve the ...

msi return codes in Inno Setup

I would like to call multiple .msi files in silent mode, and halt the entire installation if any fail. Is it possible to get the return codes of msiexec.exe being called from the [run] section? Currently I can only see error messages in the windows event viewer. ...

Inno Setup as bootstrapper for .msi

I am trying to use Inno Setup to bootstrap a number of prerequisites to my windows installer installation package, and am having pretty good luck with this. Now I am wondering if the Inno Setup package can be made so that it doesn't appear in the Add/Remove Programs (ARP) windows option? I would like the separate installations to be ...

Can system Environment Variables be set via Windows Logon Scripts?

I have an MSI-packaged application that is being deployed via Group Policy Objects (GPO) from a Windows 2003 Domain Server to all the XP client machines in the network. This application reads two environment variables for its configuration (which server IPs to talk to) and it seems like we'd also want to push this configuration via a GP...

Is there a clean way to set a VS 2008 setup project's properties at build time?

I have an Office add-in project with a setup project for deployment (using VS 2008), and I need to build the same product in a few different flavours. I'm looking for a good way to make the installer resources dependent on the build configuration. The product name, manufacturer, manufacturer url, author, etc., etc. properties should b...

VB 6.0 in terminal server launches "Preparing to install" windows installer for non admin users.

This may seem to be a IT question, but most IT people I asked couldn't help me. Where I work we have a Windows 2003 server where several developers connect via RDP. We downgraded the privileges of some of them (they were admin). And now when they start Visual Basic 6.0, they get the Windows Installer "Preparing to install" dialog. It dis...

WIX installer with Multiple Entries in Add/Remove Programs

I am developing installer for a Application Suite using WIX, and the structure is follows: Application Core     |_ _ Flavor1     |_ _ Flavor2     |_ _ Flavor3 Application Core is a product like Visual Studio and, Flavors 1,2,3 are sub products under it. Here is my problem, - In Add remove programs should have 4 entries for Appl...

ServiceInstall or ServiceControl Problem

Hi, During Installation, I'm installing my service using ServiceInstall and ServiceControl tags. But, my service is not running. I'm getting error message "Please check you have sufficient privilege to start service". But, I'm in Administrators group. I'm using Wix ver 3.0. code snippet is here, <File Id='myexe' Name='myexe.exe' DiskI...

Generating a WiX XML file at build and components questions

I am trying to write an installer for a website I created. In the WiX tutorial it says "Again, a component should only contain items that belong together so strongly that they always need to be installed or removed together.". I believe an entire website fits this description. I have 2 issues regarding components. The first is that obvio...

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...