Re: [WiX-users] DirectX Support Condition

2007-08-02 Thread AFlood
Thanks, but unfortunately I don't actually have any experience with Windows Installer. That is I've only ever worked with WiX. I scanned over the resources you gave me but it seemed to be all in regular Windows Installers. Could you give me some pointers on how the information relates to WiX? --

[WiX-users] DirectX Condition

2007-08-02 Thread Alex Flood
Does anyone know if WiX has a built in property so I can check the installed DirectX version? (Similar to MsiNetAssemblySupport.) Also, does anyone know of a reliable resource on such properties can be found? I searched the docs and couldn't find anything on it.

Re: [WiX-users] DirectX Support Condition

2007-08-02 Thread Richard
In article <[EMAIL PROTECTED]>, AFlood <[EMAIL PROTECTED]> writes: > I need one of my features to be installed only if the user has DirectX 8 or > better installed. Does anyone know if a property exists that could be used > to check this in a condition element? There's no specific property

[WiX-users] DirectX Support Condition

2007-08-02 Thread AFlood
I need one of my features to be installed only if the user has DirectX 8 or better installed. Does anyone know if a property exists that could be used to check this in a condition element? -- View this message in context: http://www.nabble.com/DirectX-Support-Condition-tf4210480.html#a11977101 S

Re: [WiX-users] Wix 3.0.2925 heat TypeLib RegistryValue

2007-08-02 Thread David Howell
Thanks Mike. I appreciate the detailed explanations. It confirms what I thought was happening, but I was never quite sure. With DLLs, I never have no compatibility (chaos mode!). So no probs there. The thing is, with what you've said below regarding DLLs and compatibility should not affect th

Re: [WiX-users] Wix 3.0.2925 heat TypeLib RegistryValue

2007-08-02 Thread Mike Dimmick
Generally you should endeavour not to break binary compatibility! As I recall - the product on which I use the feature requires binary compatibility, so a break of compatibility is not permitted - Visual Basic prompts to tell you that you have done so and would you like to continue? If you acce

[WiX-users] FeatureRefs and ComponentRefs

2007-08-02 Thread John Hancock
I'm having problems with files not getting linked into my .cab when using FeatureRefs with ComponentRefs. Here's a simple example. In different fragments, I define Feature A and then Components B and C which each contain file references. ... define components B and C Then, in a separat

[WiX-users] Set environment variable on uninstall?

2007-08-02 Thread Chris.Rowland
The documentation for the Environment element says that it will set/remove the value of an environment variable when the component is installed... is it possible to set one during uninstall (w/o a custom action?) My reason is that I add items to the PATH & CLASSPATH when I install, and I'd like

Re: [WiX-users] Crash in MsiGetProperty call (did notcloseMSIHANDLEs)

2007-08-02 Thread Chris.Rowland
I did switch it so it was always 0 and that fixed the problem. I somehow thought that wasn't the real problem, but I guess it was :) I have bad memories of the problem being somewhere entirely different than it appears. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Re: [WiX-users] Crash in MsiGetProperty call (did not closeMSIHANDLEs)

2007-08-02 Thread Wilson, Phil
Right, but your code example doesn't say what you set the value of cchValueBuf to. Is it in fact zero? Phil Wilson From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, August 02, 2007 1:06 PM To: Wilson, Phil; wix-users@lists.sourceforge.net Su

Re: [WiX-users] Crash in MsiGetProperty call (did not closeMSIHANDLEs)

2007-08-02 Thread Chris.Rowland
I'm using the technique shown here http://msdn2.microsoft.com/En-US/library/aa370134.aspx to dynamically determine the size of the buffer required. I just removed the rest of the code because it doesn't make it that far. I've used this technique in the past with no problem. _

Re: [WiX-users] Crash in MsiGetProperty call (did not close MSIHANDLEs)

2007-08-02 Thread Wilson, Phil
There's supposed to be an output buffer as the 3rd parameter whose length is cchValueBuf. Phil Wilson From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, August 02, 2007 12:38 PM To: wix-users@lists.sourceforge.n

[WiX-users] Crash in MsiGetProperty call (did not close MSIHANDLEs)

2007-08-02 Thread Chris.Rowland
I'm having a problem where it appears that my custom action is terminating during a MsiGetProperty call. Hopefully someone could provide some insight into the issue. I've simplified reproducing the problem to this /* Get the Installation directory from the installer **

[WiX-users] Wix Property Values

2007-08-02 Thread Paul . Madden
I'm working on a Wix installer that has two parts. A library with a customized FeatureTree UI. And a "main" part that's a .wxo file produced from one Wix xml file. The two are linked together with light to make the .msi file. I want some of the installation parameters to be configurable - like

Re: [WiX-users] registering VC++ dlls

2007-08-02 Thread Christopher Painter
Also, regasm /regfile:filename.reg is an easy way without having to learn reflection. Richard <[EMAIL PROTECTED]> wrote: For a .NET assembly, regardless of whether its an EXE or a DLL, you can use reflection to find classes exposed as [ComVisible(true)]. -

Re: [WiX-users] How to automate download and install feature in WIX?

2007-08-02 Thread Naresh Krishna Kumar K
Hi, Can anybody throw some light regarding chainer or bootstrapper? What will these features do? Thanks, Naresh Krishna Kumar. K Bob Arnson-6 wrote: > > Naresh Krishna Kumar K wrote: >> I have written a Custom Action DLL using Visual C++. MSI will take the >> user >> to the download page of th

Re: [WiX-users] registering VC++ dlls

2007-08-02 Thread Richard
In article <[EMAIL PROTECTED]>, "Antony Walmsley" <[EMAIL PROTECTED]> writes: > It seems to work on .net assemblies with "-c" but not on VC6 exes. For a .NET assembly, regardless of whether its an EXE or a DLL, you can use reflection to find classes exposed as [ComVisible(true)]. For a DLL

Re: [WiX-users] registering VC++ dlls

2007-08-02 Thread Antony Walmsley
It seems to work on .net assemblies with "-c" but not on VC6 exes. On 02/08/07, Alexei <[EMAIL PROTECTED]> wrote: > > It would appear that you are right...Thanks a lot for the help. > > However, why does tallow work on the wordcount sample on > http://www.tramontana.co.hu/wix/lesson5.php ? > That

Re: [WiX-users] registering VC++ dlls

2007-08-02 Thread Alexei
It would appear that you are right...Thanks a lot for the help. However, why does tallow work on the wordcount sample on http://www.tramontana.co.hu/wix/lesson5.php ? That is flagged as an executable, or is that just a dll in diguise? Antony Walmsley wrote: > > Are you running tallow on dlls

Re: [WiX-users] Error while building

2007-08-02 Thread Brian Poploskie
I'm guessing you're missing the -loc flag before that file on your command line if you're building via command line. So: light -out test.msi blah.wixobj -loc "C:\Program Files\Windows Installer XML\bin\wixui_en-us.wxl" Instead of: So light -out test.msi blah.wixobj "C:\Program Files\Windows In

[WiX-users] xxxFailureActionType and Wix 3.0

2007-08-02 Thread Crusty Applesniffer
Hello, I'm using Wix3.0 and trying to define, during installation process, the default actions to be done when a service fails.                        

Re: [WiX-users] registering VC++ dlls

2007-08-02 Thread Antony Walmsley
Are you running tallow on dlls or an exe? I get the same errors as you on an exe file but you said in the original post that you were trying to register some dlls? Tallow should be run on the dlls not on the exe itself. On 02/08/07, Alexei <[EMAIL PROTECTED]> wrote: > > Yup - that WAS with the -s

Re: [WiX-users] FW: passing parameters through custom actions in C#

2007-08-02 Thread Christopher Painter
Very good points. I use the bootstrapper approach along with AppSearch and custom logic to make sure that the dependencies are still available during subsequent transactions. While MSI 4.5 should do a better job of addressing the cross-package dependencies issue, the MSI team has expressed n

[WiX-users] How to create a directory structure type of short cut?

2007-08-02 Thread srinivas nomu
I am trying to create a short cut with the structure as follows: Start-> Programs->Main program Under "Main Program" have three sub-categries Program 1 Program 2 Program3 Again Program 1 has 6 entries where I actually point to the fileID's. I tried to create a dummy component

Re: [WiX-users] FW: passing parameters through custom actions in C#

2007-08-02 Thread Richard.Foster
Thanks for the clarification. (As I have mentioned previously on this list, I personally do my best to steer clear from *all* non Microsoft Custom Actions and was unaware of the special CustomActionData property.) I would agree that unless you are familiar with the quirks C# is much easier to w

Re: [WiX-users] registering VC++ dlls

2007-08-02 Thread Alexei
Yup - that WAS with the -s flag. However I've just been handed an updated version of the app, and now tallow is throwing all sorts of exceptions - they're at the end of the post. Is there anything that needs to be done in the source code for tallow to work? Any special preprocessor instructions f

[WiX-users] TR: error LGHT0103

2007-08-02 Thread Patrice Lamarche
Hello, I Forgot to add the user list in cc. For now I have disabled the uiextension and I can continue my test thanks for the hint. Patrice Lamarche De : Patrice Lamarche Envoyé : 2 août 2007 08:55 À : 'Bob Arnson' Objet : RE: [WiX-users] error LGHT0103

Re: [WiX-users] registering VC++ dlls

2007-08-02 Thread Antony Walmsley
What parameters are you passing to tallow? I use "tallow -s" on my VC6 dlls and I get a list of registry values. On 02/08/07, Alexei <[EMAIL PROTECTED]> wrote: > > Hi guys, > I've been asked to write an installer for an application that requires two > dlls to be registered. > I've tried running ta

Re: [WiX-users] FW: passing parameters through custom actions in C#

2007-08-02 Thread Christopher Painter
`Group Think` may agree that managed code custom actions are bad, but I certainly don't agree. Writing CA's in C++ compared to C# frankly, is painful at best. I've done much research in this area and while I will certainly agree that Installer Class CA's ( InstallUtil) suck, managed code in ge

[WiX-users] registering VC++ dlls

2007-08-02 Thread Alexei
Hi guys, I've been asked to write an installer for an application that requires two dlls to be registered. I've tried running tallow on the executable but it doesn't generate anything useful: Microsoft (R) Windows Installer Xml Tool version 2.0.5325.0 Copyright (C) Microsoft Corporation 2003. All

Re: [WiX-users] FW: passing parameters through custom actions in C#

2007-08-02 Thread Balaji Nidadavolu
Hi Richard, Thank you. I will do so. My current problem with the code is resolved. I have set the property execute = "deferred" and the code started working properly. Thank you, Regards Balaji. _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROT

[WiX-users] Error while building

2007-08-02 Thread Chandan Koushik
Hi All, I am using Wix 2.0.5325.0 version and I am getting the following error when I am trying to build the project using vs2005 environment. Error 1 Invalid output file, detail: Error while parsing: The xml document element was expected to be tableDefinitions, but was

Re: [WiX-users] FW: passing parameters through custom actions in C#

2007-08-02 Thread Richard.Foster
Baladji, Be very careful using C# within a Microsoft Installer based installation (like those generated using WiX). By doing so, you place an additional dependency on the .NET framework, and has been discussed many times this is a *bad thing*. Ideally you should choose something (e.g. C++) that

Re: [WiX-users] Undefined preprocessor variable

2007-08-02 Thread Chris.Rowland
I was trying to rebuild the various dialogs I need... pretty much WIXUI_INSTALLDIR but without the license agreement. Case sensitivity was my problem, everything is compiling without issue now :-) Thanks From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent:

Re: [WiX-users] File Paths and Fragments

2007-08-02 Thread Brian Poploskie
My sanity has been restored, I figured it out. The problem was I had some features set to Level="0" and was doing debug/release checks to figure out what feature to use and setting the level appropriately. Well when I broke out the project into fragments I moved debug/release into different fr

[WiX-users] localization problem

2007-08-02 Thread chandan Koushik
Hi All, I am using Wix Compiler version 2.0.5325.0 . when i am compiling the file Product.wxs which is added with a web project, I get the following errors Error 1 The localization string 'ProgressTextInstallValidate' is unknown. Ensure that the localization variable $(loc.Prog

Re: [WiX-users] Fatal Error CNDL0005

2007-08-02 Thread Olav Kindt
You need to put your file paths in quotes like this "C:\Documents and Settings\..." Best Regards Olav Kindt Team Leader Software Development Epsis AS E-mail: [EMAIL PROTECTED] Phone: +47 55 92 57 60 Mobile: +47 98 03 95 94 Fax: +47 55 92 57 5

[WiX-users] Fatal Error CNDL0005

2007-08-02 Thread chandan Koushik
Hi all, I am new to wix and i am stuck at a point during deployment of my web project. I am using Wix 2.0.5325.0. When i compile my file using the candle command(as shown below):- C:\Program Files\Windows Installer XML\bin>candle -out C:\Documents and S ettings\chandan.k\Desktop\DeployingAN

[WiX-users] Cyrillic startup

2007-08-02 Thread Anton Filippov
Hi all I have russian os windows (localized) and when I try to wrinte into startup foder: This shortcut coping into 'Startup' directory, but localized directory has other name in cyrillic. Is there bug or I did something wrong? If I write directly into registry (Run branch) - is there right

Re: [WiX-users] macro/property for detecting debug/release from Votive

2007-08-02 Thread John Hall
I am using Votive in Visual Studio 2005. Can anyone tell me how I can configure my WXS file to pick up DLLS to be deployed (with the tag) from bin\Debug if the build configuration is set to Debug, and bin\Release if its Release? Adam, Light uses the -b switch to

[WiX-users] FW: passing parameters through custom actions in C#

2007-08-02 Thread Balaji Nidadavolu
Hi, I am trying to pass parameters from WIX to C# code, but I am not able to do it properly. To code that I have written on WIX side is: The code I have written in C# and compiled as a DLL is : using System; using System.Text; using System.Runtime.InteropServ

Re: [WiX-users] custom action VS2005

2007-08-02 Thread Mark Line
Finally got it to work! it was something to do with my DLL... i had to add the my exports to the preprocessor definitions - Original Message - From: John Hall To: Mark Line Cc: wix-users@lists.sourceforge.net Sent: Wednesday, August 01, 2007 5:24 PM Subject: RE: [WiX-users]

Re: [WiX-users] Wix 3.0.2925 heat TypeLib RegistryValue

2007-08-02 Thread David Howell
Hi Guys, I've done some further testing. I upgraded to 3.0.3127 and tried that. I created a brand new ActiveX DLL in VB6, compiled it once and ran heat. I got interesting results: On Vista, Wix 3.0.3127, DLL compiled in Vista: I get no entries. I get a lot of , , entries, mostly children of t