Re: [WiX-users] Running application after install wizard leaves install wizard unclosable

2010-01-18 Thread Reinier Lamers
Hi Blair, The CustomAction tag looks as follows: CustomAction Id=LaunchLicenseManager BinaryKey=WixCA DllEntry=WixShellExec Impersonate=yes / Reinier 2010/1/16 Blair os...@live.com: Could you please share the attributes of the CustomAction element for the

[WiX-users] DCOM

2010-01-18 Thread Leo Kushnir
Hi How is possible to configure DCOM from the installation Thanks Leo -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for

[WiX-users] Creating a bootstrap for minor upgrade

2010-01-18 Thread akash bhatia
Hi, Can any one just suggest me a way to create a bootstrap for my msi file so that end user will not face a painfull process of passing a REINSTALL and REINSTALLMODE through command line for minor upgrade. i found a way of doing it through using c# and dotnet at:

Re: [WiX-users] Minor Upgrade and original msi file name.

2010-01-18 Thread Giora keinan
Hello Thanks for the quick answer. I have two quick questions: 1. My understanding is that if I want to do minor upgrade after a major upgrade I should use the Major upgrade product id instead of the original installation product id. 2. Is there a way to do an ifdef in the wxs file. I want to

[WiX-users] CNDL1033, LGHT1079 - question about long cabinet file names

2010-01-18 Thread Ondrej Zarevucky
Hi everybody, I have question about these two warnings thrown by Candle and Light tools: CNDL1033 and LGHT1079 - both are about long cabinet file names. The warning is telling me I should use short (8.3) file names referencing some Windows Installer team recommendation, but I couldn't find any

[WiX-users] minor upgrade - how to check installed program version?

2010-01-18 Thread CP YEH
Hi, I have created setup msi and it works fine. Then, I created minor upgrade msi and I would like to check what version of my program is installed on the machine to see if I should proceed to install. I added some code as follows. Upgrade Id=fea8ad46-55f2-481a-8735-cbd721ccb3ec

Re: [WiX-users] Minor Upgrade and original msi file name.

2010-01-18 Thread Blair
1. Minor upgrades, by definition, use the ProductCode (produ...@id) of the already installed package. Major upgrades, by definition, use a different ProductCode. Definitionally, there is no other difference. The rest is supporting each of the two different upgrade mechanisms. 2. The easiest way

Re: [WiX-users] minor upgrade - how to check installed program version?

2010-01-18 Thread CP YEH
Thank you very much for your reply. My msi is pretty small in that it contains only few executable files(exe/dll). Every now and then there are changes to these files so I need to provide updates so that the user can download the upgrade packages to upgrade their application. It's also possible

[WiX-users] Administrative Setup UI

2010-01-18 Thread Tony
During an Administrative installation, we'd like to ask the installing user to specify an installation directory. We are having difficulties adding a dialog to the adminuisequence. When we add a dialog to the sequence, we execute an action called, SetTargetPath, but the end result is the install

Re: [WiX-users] minor upgrade - how to check installed program version?

2010-01-18 Thread Blair
Search Bob Arnson's blog Joy of Setup http://www.joyofsetup.com/ for major upgrade. Despite the name of the term, it is usually for most project the right kind of upgrade, especially if they don't plan on using MSP files. -Original Message- From: CP YEH [mailto:ntde...@gmail.com] Sent:

Re: [WiX-users] Rollback after Failed Install Causes Uninstall ofUnrelated Product

2010-01-18 Thread Schrieken, Rene
The msvcp71.dll is in my registry as shared dll and looks like it is refcounted. Magic happens when your uninstall decreases the counter to 0 based on your rollback. (i do assume your are installing msvcp71.dll). Somehow msi feels it needs the original installer to properly uninstall it? Not a

Re: [WiX-users] minor upgrade - how to check installed program version?

2010-01-18 Thread CP YEH
Thank you for your reply. I saw that web pages earlier and perhaps I did not look at it closely enough but there are two things that led me to think that I should use minor upgrades. One, I check user credential during installation so I don't think the user wants to enter their credential again

Re: [WiX-users] Rollback after Failed Install Causes Uninstall ofUnrelated Product

2010-01-18 Thread Castro, Edwin G. (Hillsboro)
The most bizarre aspect of all this is that I'm *not* installing MSVCP71.DLL. It actually uninstalls the entire VMWare Tools product. My gut says that perhaps the UpgradeCode and/or ProductCode are the same (as unlikely as that might be). Edwin G. Castro Software Developer - Staff Electronic

Re: [WiX-users] Minor Upgrade and original msi file name.

2010-01-18 Thread Giora keinan
Thanks Blair Just to be sure that I understood. If my major upgrade removes the existing files. I should use the major upgrade product id in the next minor upgrade. In my major upgrade I see a behavior I don't understand. If the RemoveExistingFiles is schedule before the installation, part of

Re: [WiX-users] minor upgrade - how to check installed program version?

2010-01-18 Thread Blair
Whatever techniques you use to prevent requiring reentry of credentials and for preventing user-modified files from being replaced will likely apply to major upgrades as well as minor upgrades, except that you may need to modify your dialog sequence and/or conditions if they are based on either

Re: [WiX-users] Minor Upgrade and original msi file name.

2010-01-18 Thread Blair
I assume you are referring to RemoveExistingProducts, not RemoveExistingFiles (I've never heard of that action). Scheduling RemoveExistingProducts before the installation causes the previous installation being replaced to be first removed, removing references to your (old) components causing them

Re: [WiX-users] Rollback after Failed Install Causes Uninstall ofUnrelated Product

2010-01-18 Thread Castro, Edwin G. (Hillsboro)
Looks like UpgradeCode, ProductCode, PackageCode are all different between the three products involved. Could a component guid be at fault here? My product and VMware Tools do not share any components so I wouldn't expect them to have any matching guids. Is it possible for something odd like

[WiX-users] how to create a DisplayResourceDll for ShortCut element

2010-01-18 Thread Lian Jiang
Hi, Could anybody provide a sample/reference about how to author a resource DLL used by ShortCut element? I don't quitely understand this descript from WIX document: The Formatted string providing the full path to the language neutral file containing the MUI Manifest. Generally authored using

[WiX-users] Add Managed Handler

2010-01-18 Thread Pierson Lee (PIE)
In IIS 7.0 there is a new option of Add Managed Handler under Handler Mappings which allows me to add a MIME Type handler (dll) to point to a MIME extension. Is there such an option within WiX that allows me to do this using the IIS extensions with the 3.0 RTM version?

Re: [WiX-users] how to create a DisplayResourceDll for ShortCut element

2010-01-18 Thread Blair
Sample code. Take it for what it is worth. This assumes three things: 1. The resources are declared in Product.exe and are localized into two cultures: en-US and es-ES using the MUI Win32 resource localization scheme released to the world with Vista. The actual Spanish string will actually be

[WiX-users] How to assign a default value to preprocessor properties

2010-01-18 Thread Joe Osman
I am using preprocessor properties in my WIX project and I assign them values in msbuild when building the WIX project from the command line . For example I have the following preprocessor properties: Var1=$(Var1);Var2=$(Var2) I assign them values in msbuild in this way: msbuild

[WiX-users] WIX v2.0 and IIS 7 -- Any stopgap solutions?

2010-01-18 Thread Navid Azimi-Garakani
Hello-- I have a large number of MSIs (think 75+) that are currently deploying to IIS 6 on Windows Server 2003 (32-bit). These MSIs are being built with WIX 2.0.3719.0. I need to get these MSIs to deploy to IIS 7 on Windows Server 2008 R2. I am currently getting the dreaded -1603 error. I did

Re: [WiX-users] Add Managed Handler

2010-01-18 Thread Rob Mensching
Unfortunately, no. Be a great thing to add to WiX v3.5 where there is more IIS7 support. On Mon, Jan 18, 2010 at 5:29 PM, Pierson Lee (PIE) pierson@microsoft.com wrote: In IIS 7.0 there is a new option of Add Managed Handler under Handler Mappings which allows me to add a MIME Type

Re: [WiX-users] WIX v2.0 and IIS 7 -- Any stopgap solutions?

2010-01-18 Thread Rob Mensching
If you install the IIS6 Compatibility features then the WiX toolset custom actions will work. In WiX v3.5, there is native support for IIS7 configuration. On Mon, Jan 18, 2010 at 8:00 PM, Navid Azimi-Garakani naz...@microsoft.comwrote: Hello-- I have a large number of MSIs (think 75+) that

Re: [WiX-users] Msi hangs on _RemoveFilePath

2010-01-18 Thread Rob Mensching
Try running a verbose log file (msiexec /i foo.msi /l*v log.txt) and see if it provides more details. On Mon, Jan 18, 2010 at 8:30 AM, SP_ pserge...@gmail.com wrote: Hi all, on some computers my msi hangs for ages. Logs says: MSI (s) (3C:A0) [17:13:57:996]: Note: 1: 2205 2: 3: BindImage

Re: [WiX-users] How to assign a default value to preprocessor properties

2010-01-18 Thread Neil Sleightholm
Something like this should do it: !-- If Var1 not defined use preset value -- ?ifndef Var1? ?define Var1 = Value1? ?endif ? Neil -Original Message- From: Joe Osman [mailto:joe.os...@tait.co.nz] Sent: 19 January 2010 03:05 To: General discussion for Windows Installer XML toolset.

Re: [WiX-users] How to assign a default value to preprocessor properties

2010-01-18 Thread Simon Dahlbacka
The problem is that when I build the project in Visual Studio those properties get an empty value. I want to give these properties a default value so that I will be able to build the WIX project from Visual Studio and not just from the command line using msbuild. Is there any way to assign