Re: [WiX-users] WiX: special character (c) shows up as ?

2009-05-21 Thread Olex
Thanks! That was the problem. On Wed, May 20, 2009 at 10:01 PM, Rob Mensching r...@wixtoolset.org wrote: Did you pick a code page that supports that character? Personally, I always recommend using the (c) instead of the actual character. It's just more straightforward since MSI files are not

[WiX-users] Execute .reg file.

2009-05-21 Thread Rahul.Ekbote
Hi In our project, we are copying .reg file on user's machine which we have to execute after end of the installation. How can we achive this ? Do we need to do it using Regedit. If yes how can we call regedit in .wxs file Also there is one .exe file. How can I get the version information from

Re: [WiX-users] Light CAB Cache regression?

2009-05-21 Thread Alastair Smith
Hi Bob Many thanks for your reply. Are you using the -reusecab switch? No, I'd missed that one; this sounds like it should fix the issue. Try BaseInputPaths, CabinetCachePath, and ReuseCabinetCache properties. Thanks for the tip; I didn't realize the .wixproj had support for these!

Re: [WiX-users] Execute .reg file.

2009-05-21 Thread Pally Sandher
1 - Look up RegistryKey and RegistryValue in the WiX.chm. You could get tallow.exe from WiX 2.0 and use it to parse your .reg file into a .wxs then use WiXCop.exe on the .wxs to update it to the WiX 3.0 schema. Heat.exe should be able to do this all in one step since it's the replacement for

[WiX-users] Conditions with util:XMLConfig

2009-05-21 Thread Routhier Louis
When using XMLConfig from UtilExtension, a SchedXmlConfig entry is created in the InstallExecuteSequence table with condition set to VersionNT 400. Is there any way of specifying additional conditions? I would need a way to allow users to select if they want to remove the config or not since

Re: [WiX-users] Execute .reg file.

2009-05-21 Thread Neil Sleightholm
2. Assuming it is a file you are installing, take a look at the binding variables - !(bind.Fileversion.FileId) from memory. Neil -Original Message- From: Pally Sandher [mailto:pally.sand...@iesve.com] Sent: 21 May 2009 16:12 To: General discussion for Windows Installer XML toolset.

Re: [WiX-users] Checking registered dlls

2009-05-21 Thread Wilson, Phil
This kind of thing is usually done at a higher level than this. For example people don't check for VC 9.0 Dlls or individual .NET assemblies they look for a product code or a registry key that tells them that the containing package has been installed (such as the VC Redist, Office PIAs. .NET

[WiX-users] Using a wixlib to populate msm content

2009-05-21 Thread Routhier Louis
I'm trying to build a series of build items so that we can easily distribute our installation both internally and externally with maximum control available. This means that we want to build both a wixlib and an merge module depending on the targeted client. Before that, I only had the msm

[WiX-users] patching multi-language msi

2009-05-21 Thread Mao, Harry
Hi, I've run the patch example successfully: http://blogs.msdn.com/astebner/archive/2007/10/26/5700191.aspx Based on that example, how to build patch for a multi-language msi. For example, I have a msi which is able to install an application in either English(en-us) or French(fr-fr). That

[WiX-users] How to identify the custom action type in run time.

2009-05-21 Thread Dov Kleinman
I’d like to write a generic custom action which can be run either immediate or deferred. In order to pass arguments to this custom action I need to use two different approaches since it is a given fact of Windows Installer behavior. On the caller side (Wix) it is quite clear. I have a problem

Re: [WiX-users] Using a wixlib to populate msm content - Solution part 2

2009-05-21 Thread Routhier Louis
When I wrote my last message, I didn't try yet to use the wixlib in my msi's wxs definition. What I found is that you can't define Directory Id=TARGETDIR Name=SourceDir / in both the wixlib and your msi's wxs files. Instead, you have to use DirectoryRef Id=TARGETDIR within your fragment and

[WiX-users] Passing InstallDir to exe via a custom action

2009-05-21 Thread Jeremie Galarneau
Hi, I have been reading countless WiX tutorial and have been doing good so far but I can't seem to find how to pass the installation directory (InstallDir) to an executable I have to run during the installation procedure. Could someone post a code sample accomplishing this task as I have been

Re: [WiX-users] Passing InstallDir to exe via a custom action

2009-05-21 Thread Vuchuru, Surekha (SBT US EXT)
Hi Jeremie, Try single quotes outside of double quotes while passing the InstallDir parameter. This has worked for me Example: CustomAction Id=SampleCA BinaryKey=SetInstallDir.exe ExeCommand='[INSTALLDIR]' Return=ignore Execute=deferred / Thanks and Regards, Surekha Vuchuru -Original

Re: [WiX-users] Passing InstallDir to exe via a custom action

2009-05-21 Thread Glenn Sandoval
I'm not sure you can pass information directly to an exe like that. I do something similar, but store the install path in the registry and my deferred custom actions read it from there. R. Glenn Sandoval GeoBase Developer – Telogis Research www.telogis.com  www.telogis.co.nz On Fri, May 22,

Re: [WiX-users] How to identify the custom action type in run time.

2009-05-21 Thread Alex Shevchuk
You can check for presence of CustomActionData property. It will be set if custom action is deferred. Alex -Original Message- From: Dov Kleinman [mailto:d...@microsoft.com] Sent: Thursday, May 21, 2009 12:55 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] How to identify