msi

How do I programmatically detect success or failure when installing an MSI?

I have a bootstrapper application which installs several MSI packages. However, it seems that windows installer does not return any error code if the installation fails. For example, the following command line test does not print "failed" if I hit "cancel": msiexec /i myinstaller.msi || echo failed Given the lack of error feedback, wh...

How can I disable the WebSite action in Wix when no web features are selected?

The Wix WebSite action has to be specified outside of a Component if you want to safely use the Default Web Site (by safely I mean the installer won't remove the default site on uninstall). <Fragment> <iis:WebSite Id="DefaultWebSite" Description="Default Web Site" Directory="INSTALLDIR"> <iis:WebAddress Id="AllUnassigned" Po...

VS 2005 Setup - HKCU

I am trying to fix an existing application that uses a Visual Studio 2005 setup project. We are requiring it to work on limited user accounts for XP, our app is written in C# for .Net 2.0. It writes keys into HKCU during the setup, but skips the UI step for choosing 'Install for Everyone' versus 'Just me'. So it defaults to installing...

How to allow users to install multiple copies of an msi file

I want to allow my users to install multiple copies of my application on a single PC; one for testing purposes, one for production system. The install is a MSI file created directly in VS2005. Is there any way to enable this? I up for using other tools to generate the install or even using Ocra directly if I had to, but for now at lea...

What is the recommended way to build MSI packages in VS 2010?

Last year I heard that Installer Projects were going away and we should be switching to Windows Installer XML. Whatever happened with that? So you know where I'm coming from, support for TFS-based buil machines is very important to me. I know Installer Projects kinda-sorta work with TFS, but they have issues. ...

Visual Studio Setup Projects: Cleartype

I use a Visual Studio Setup project to create an installer for some assemblies. However, the fonts the installer uses are always aliased, and don't appear to be the Windows standard. (Note that the installer text uses aliased text rendering, but the window title uses ClearType) Is there any way to update the MSI to use ClearType? ...

Modifying Patch Creation Properties (.pcp) file programmatically?

Is there a way to script the complete process of a hotfix build using msiexec.exe and msimsp.exe with a Patch Creation Properties file? I use msiexec.exe to create network installations of the before and after msi files, Orca to create a .pcp file, and msimsp.exe to create the patch file. I have been following the steps in these two ar...

Web Setup Project - Repair to overwrite files

Hi, I have a web setup project that creates an MSI. After first installation, my web site has some config files that can be modify manually. When triggering that MSI again, I am offered to repair the installation, when I select to do so, the installation runs, but the config files that were modified previously are no replaced with def...

Upgrade individual feature in WIX feature-tree without uninstalling/upgrading other feature(s)

Hello, I'm trying to create a setup project using WIX that will allow me to install multiple features of a single product. How can I update one of the installed features (which is independent of the other installed features) without having to reinstall the other features in the feature-tree? For example, I want to be able to have a p...

Windows installer technology how-to.

Hi, I am trying to create a custom installer technology for some fun and generic utility...I have experimented with several tools including Orca, WiX, VS S&D projects, NSIS, Innosetup etc but all of them seem to suffer from one or more of the following deficiencies... Its too complex for simple needs or outright simplistic. There is no...

msi install program as startup

is it possible to install a program as a start up program using MSI installer? ...

How to set the publisher in .Net msi installer

dear all , I created an installer in .Net , when i run that Installer (.msi) on windows 7, it show a popup unsecured publisher do you want to continue. How can i set the publisher. Kindly help. thanks ...

How can an MSI prompt the user for parameters to configure an MSM?

I have an application BACK which is packaged in an Merge Module, and installed with another application FRONT which is in the main MSI package. These are created via projects in MS VisStudio 2008. The user can configure the FRONT application through the MSI's UI with a small set of parameters. I need to access at least one of these pa...

MSI Installer and custom folders

Hi! I have an interesting problem. I created a MSI Installer for a .NET 3.5 Application. During the install process I ask the user for a custom folder name where application output files should be stored. To solve this task I have added a "Textboxes A" user interface item. I assigned TextBox Edit1 a property. This property I used in ...

Control Panel - Add Remove Programs Link

Hi, Whenever an msi is installed the Remove button in the Control Panel -> Add/Remove programs calls the "msiexec /x {GUID}". Can I disable this and make my Program.exe located in C:\Program Files to be called instead ? I have tried changing the UninstallString in the registry Microsoft->Windows->Uninstall. Did not work for me. (Maybe...

Can't run eclipse on netbook MSi wind! HELP

I just got this MSI wind netbook and tried to run eclipse on it. I installed JDK6 on the netbook already. Whenever I open eclipse there is nothing show up on the screen except a "warning sound" that alerts. What is the problem here? ps.I just started learning java. ...

Recommendations for getting started with WiX?

I found a WiX Tutorial, but it's really long-winded and seems like more than I wanted. What's the best way to get started quickly? My end goal is nothing really complicated: an installer that installs an ISAPI filter. ...

How can I insert a newline in a localized value for a String in a .wxl file?

I'm using a .wxl file to customize the text in the various dialogs in WixUI_FeatureTree. How can I insert a newline? This doesn't work: <WixLocalization Culture="en-us" xmlns="http://schemas.microsoft.com/wix/2006/localization"&gt; <String Id="WelcomeDlgTitle">{\WixUI_Font_Bigger}Welcome to the Setup Wizard for\r\n[ProductName]</...

WIX Custom Action (Javascript): debugging. Also, can I emit something into the log?

I'm having difficulty figuring out why my Javascript Custom action is failing. I thought I saw a topc in the WIX.chm file on debugging; now I cannot find it. Q1 is there doc on how to debug Javascript or VBScript custom actions? Q2 Is there a way to emit something into the MSI log from a custom action? Addendum: Some people th...

Error 2259 in WiX installation only on WinXP machines

Hi, I have created an WIX installation package and when installed on WinXP an Error 2259 always appears. How do I go about resolving this issue and how come it works on machines running WinVista and Win7? Thanks. ...