Re: [WiX-users] C# Custom Action, change some files during installation

2009-09-10 Thread Adr!an Serafin
Hi! Thank's for the response :) I need my own CA for some other things to ;) Besides I found solution. If anyone needs it: where After="InstallFinalize" is the key ;) Adrian 2009/9/11 John Nannenga > You likely don't need your own CA for this, check out XmlConfig or XmlFile. > > Your proble

Re: [WiX-users] How to check db2 installation on the machine in WIX

2009-09-10 Thread Ranganatha H C
Hi, One way would be to add Registry serach and assign the registry serach result to a property. Later you can use the property based on its value to check whether DB2 installed on the target machine or not. e.g To check IIS is installed or not Installed OR (IIS6SPLEVEL >= "#6" AND NO

Re: [WiX-users] Wix 3.0 FileSearch

2009-09-10 Thread puyo puy
Hi Sebastian Thank you for your quick reply. Yes, I'm sure that INSTALLDIR was set before called.  I added extract custom action before execute CA_RunEXE to display the property INSTALLDIR to the log file and I can see the value is correct.  I copy that value and replaced Path="[INSTALLDIR]" t

Re: [WiX-users] C# Custom Action, change some files during installation

2009-09-10 Thread John Nannenga
You likely don't need your own CA for this, check out XmlConfig or XmlFile. Your problem here is likely that you get a FileNotFoundException or something similar which is due to the fact you have your CA scheduled to execute in the "immediate" sequence and scheduled after "InstallFiles" which do

Re: [WiX-users] Major upgrade problem

2009-09-10 Thread Blair
Yes, all the components with matching KeyPaths should have the same Component Guids. Several messages explaining about how to follow the Component Rules have been on the list recently. What is likely happening is that the new installation overwrites the common files, then the older installation re

Re: [WiX-users] Copying folders from the target directory to a folderin ProgramFiles

2009-09-10 Thread Blair
Condition either the component or the feature that contains the CopyFile element. -Original Message- From: Sam K [mailto:sam.re...@gmail.com] Sent: Thursday, September 10, 2009 1:58 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Copying folders from

Re: [WiX-users] installing an application as a pure x86 app on Vista 64.

2009-09-10 Thread Blair
If you are installing drivers, you will need a separate installer package (or at least a transform and a bootstrapper) for each OS bitness. -Original Message- From: dvo...@icrcompany.com [mailto:dvo...@icrcompany.com] Sent: Thursday, September 10, 2009 10:31 AM To: General discussion for

[WiX-users] Major upgrade problem

2009-09-10 Thread Kevin Gallagher
I have an installer that needs to completely remove the previous version and install in the same directory. The two versions have only a handful of files in common and all of these files need to be upgraded. The new installer will completely uninstall the old product with no problems however none

Re: [WiX-users] upgrade issue

2009-09-10 Thread Wilson, Phil
If you have multiple Upgrade entries for all the UpgradeCode values you want to upgrade that should work fine and uninstall them all. There's no rule that says an upgrade must upgrade only one installed product. Phil Wilson -Original Message- From: MYFLEX [mailto:shrinuen...@gmail.c

Re: [WiX-users] Copying folders from the target directory to a folderin ProgramFiles

2009-09-10 Thread Sam K
Thanks David. I did it this way by putting them in a component and adding the component as a feature. But, can I do this based on a condition, like a property value set from the ui? Thanks a lot. On Fri, Sep 4, 2009 at 11:29 AM, David Watson wrote: > Not sure what you want exactly but have you l

Re: [WiX-users] installing an application as a pure x86 app on Vista 64.

2009-09-10 Thread Roy Chastain
No, you did not misstate your question, but the point was that the application will not run (based on what you said earlier) and I believe that a working application is easier to install than a non-working one. This is especially true if you have an managed custom actions etc, that would cause appl

Re: [WiX-users] WIX 3.0 KeyPath

2009-09-10 Thread Wilson, Phil
It's also required in a few cases. For example, the ServiceInstall table in an MSI file defines a component, not a file name, and the KeyPath of that component must be the service executable file. Type libraries have a similar requirement if the registration uses the TypeLib table. I'm not sure

Re: [WiX-users] Automating Heat

2009-09-10 Thread Brian Rogers
Hey Jon, If you could add a bug to sourceforge.net for this issue and how to repro it that would be great. The warning message was specific to the -cg switch. This warning is being removed in WiX 3.5. Thanks, Brian Rogers "Intelligence removes complexity." - Me http://blogs.msdn.com/icumove <--

Re: [WiX-users] installing an application as a pure x86 app on Vista 64.

2009-09-10 Thread dvogel
Clearly I've stated my question wrong. My problem right now is with the intsaller. My installer works fine on 32 bit machines, but when I try to use it on a 64 bit machine running Vista 64 it fails. My main app and all it's Dlls are compiled as x86. > I really does not matter what the install is

Re: [WiX-users] installing an application as a pure x86 app on Vista 64.

2009-09-10 Thread Neil Sleightholm
Just in case anyone else gets caught by this there is an exception. If you install a .net service with a 32 bit msi it will be marked as 32 bit and runs as 32 bit even though it is anycpu. Neil Neil Sleightholm n...@x2systems.com On 10 Sep 2009, at 12:18, "Roy Chastain" wrote: > I really d

Re: [WiX-users] installing an application as a pure x86 app on Vista 64.

2009-09-10 Thread Neil Sleightholm
Just in case anyone else gets caught by this Neil Neil Sleightholm n...@x2systems.com On 10 Sep 2009, at 12:18, "Roy Chastain" wrote: > I really does not matter what the install is doing. If you have > compiled your main program as an AnyCPU and any DLL in the chain is > 32-bit only, then the

Re: [WiX-users] Automating Heat

2009-09-10 Thread Jon Hope
Hi Brian, Thanks for your reply. It appears that the duplication is only happening when using the -cg switch. I've tried all other switches from my original email and all seem fine. Strangely, I also only receive the warning regarding having too many components per feature when using the -cg

Re: [WiX-users] Automating Heat

2009-09-10 Thread Brian Rogers
Hey Jon, This should definately not be happening. Does this happen if you do just a -pog:Binaries or -pog:Sources switch. It could be a bug with that particular switch. Have you tried removing the -cg switch as well? Just giving you some scenarios to run so we can track down what is going on. Tha

[WiX-users] C# Custom Action, change some files during installation

2009-09-10 Thread Adrian Serafin
Hi! I'm struggling with this for some time now... I'm trying to make my custom action to modify applications config.exe file but no success. Maybe someone can help?? And here is c# code: public static ActionResult EditCPAConfig(Session session) { string

Re: [WiX-users] Compression in a Merge Module

2009-09-10 Thread Christopher Painter
I would agree with Blair. While I use a combination of InstallShield and WiX to do what I describe, your scenario where the customer builds the final package rather then your internal build team would lend me to suggest that you'd want to ship all WiX to your customers. --- On Thu, 9/10/09, B

Re: [WiX-users] Calling $(env.SystemRoot)\regedit on uninstall

2009-09-10 Thread David Watson
Hi, You should really be converting the contents of your .reg files to wix RegistryValue (etc) elements. http://wix.sourceforge.net/manual-wix3/wix_xsd_registryvalue.htm Registry access from the wix tutorial http://www.tramontana.co.hu/wix/lesson1.php#1.7 Dave -Original Message- From: S

Re: [WiX-users] installing an application as a pure x86 app on Vista 64.

2009-09-10 Thread Roy Chastain
I really does not matter what the install is doing. If you have compiled your main program as an AnyCPU and any DLL in the chain is 32-bit only, then the application will not run on a x64 system. This is because the AnyCPU code is jited into x64 on a 64 bit machine and a x64 application cannot lo

Re: [WiX-users] Tutorial: How to install files into WinSxS

2009-09-10 Thread ACKH
Yes, here is the example. I currently don't have an accessible location but as soon as I get one I will put it there. Date: Fri, 28 Aug 2009 14:56:07 -0500 From: ml-user+277750-759935...@n2.nabble.com To: forforumh...@hotmail.com Subject: Re: [WiX-users] Tutorial: How to install files i

Re: [WiX-users] Wix 3.0 FileSearch

2009-09-10 Thread Sebastian Brand (Instyler Software)
Hello, Are you sure the INSTALLDIR property is set already when the FileSearch begins? Also try removing the @Id from the FileSearch, I remember there was an issue with that when trying to get sub-directories. Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, e

Re: [WiX-users] Calling $(env.SystemRoot)\regedit on uninstall

2009-09-10 Thread Sebastian Brand (Instyler Software)
The $env.WinDir variable is only available during built time - on your PC, not at the end-users. Use MSI properties like [WindowsFolder] instead. Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- Fr

Re: [WiX-users] Calling $(env.SystemRoot)\regedit on uninstall

2009-09-10 Thread Svein Dybvik
Additional info: I created a small .net-application which lists all environment variables in the system (uses System.Environment.GetEnvironmentVariables();) And that returned: Systemroot = M:\WINDOWS SystemDrive = M: Windir = M:\WINDOWS And I'm using WiX 3.0. Svein -Opprinnelig melding

[WiX-users] Wix 3.0 FileSearch

2009-09-10 Thread puyo puy
Hi there, I'm trying to create msi installer using wix and this installer will search for old application for current install location.  When the old application found, a custom action will execute the old application. I used the following script to search for the old application.      

[WiX-users] Calling $(env.SystemRoot)\regedit on uninstall

2009-09-10 Thread Svein Dybvik
Hi I have an issue when uninstalling my application if the operating system is not installed on the C-drive. It reports this error in the event viewer: Product: MyProduct -- Error 1721. There is a problem with this Windows Installer package. A program required for this install to complete could

[WiX-users] upgrade issue

2009-09-10 Thread MYFLEX
We have different installers for product A , B , C , D Now we have developed a pack installer which will install all of the products. what I did is , I created each product as a feature in the pack installer. Now what I want is , how can I upgrade "A" or "B" or "C" Products with my pack installer

Re: [WiX-users] Compression in a Merge Module

2009-09-10 Thread Reuss, Matthias
Hi Blair, Thanks for your proposal. However, we are not yet ready to get rid of InstallScript for our CA code. Regards, Matthias > -Ursprüngliche Nachricht- > Von: Blair [mailto:os...@live.com] > Gesendet: Donnerstag, 10. September 2009 09:08 > An: 'General discussion for Windows Ins

Re: [WiX-users] Compression in a Merge Module

2009-09-10 Thread Blair
If you are supplying both the tool and the framework MSI, why don't you just go "wix-all-the-way" and do this: Framework: supplied wixlib (instead of MSI) that contains Product element Tool: harvests files into wixlib (instead of merge module) Call light to link wixlibs into shipping MSI (instead

Re: [WiX-users] Right-to-left localization

2009-09-10 Thread Brian Hawley
Hi Gábor. Fantastic that you are helping with this. Wix RTL support (or lack of) is a big issue. I'm happy to beta test and proof-read for Arabic. Just drop me a line with anything you want looked at. You do not need the Arabic or Hebrew version of Windows. You can use Euro-American versions, b