Re: [WiX-users] Access to variables in localization strings

2009-09-14 Thread Blair
Yes, you are correct. -Original Message- From: Graeme English [mailto:graeme.engl...@hotmail.co.uk] Sent: Monday, September 14, 2009 12:09 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Access to variables in localization strings Thanks Blair, I understand now! Just

Re: [WiX-users] using property in Directory Name attribute

2009-09-14 Thread Bob Uva
I had missed a space in part of the registry key name. Works great now. Thanks! Bob On Mon, Sep 14, 2009 at 11:42 AM, Blair wrote: > Check a verbose debug log. I suspect that EG_INSTALLDIR isn't getting set. > If that property were set before CostFinalize ran, anything in the @Name > attribute w

Re: [WiX-users] Access to variables in localization strings

2009-09-14 Thread Graeme English
Thanks Blair, I understand now! Just one thing though, I think you mean WixVariable rather than WixProperty in the last line of your post, that correct? Graeme > From: os...@live.com > To: wix-users@lists.sourceforge.net > Date: Mon, 14 Sep 2009 06:37:13 -0700 > Subject: Re: [WiX-users]

Re: [WiX-users] How to find out the free disk space during the installation

2009-09-14 Thread Blair
VolumeCostList control type? -Original Message- From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] Sent: Monday, September 14, 2009 6:42 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] How to find out the free disk space during the install

Re: [WiX-users] using property in Directory Name attribute

2009-09-14 Thread Blair
Check a verbose debug log. I suspect that EG_INSTALLDIR isn't getting set. If that property were set before CostFinalize ran, anything in the @Name attribute would be ignored (along with the paths of any parent directories) and you would get what you are trying to get (see http://msdn.microsoft.com

[WiX-users] replacing DialogRef with Dialog is not working

2009-09-14 Thread DerekLiang
Hi all, I am wondering how to insert a custom dialog into a built-in dialog set in a SINGLE file. Here is what I do. Please let me know what do I do wrong. 1. download the sample zip files, compile, and test successfully. http://www.tramontana.co.hu/wix/download.php?file=samples/samplewixuiaddd

[WiX-users] using property in Directory Name attribute

2009-09-14 Thread Bob Uva
I want to be able to use a Property value in the Name attribute of a Directory entry. I set the property by reading a directory path from the registry, then want to indicate that that is the path into which I will be installing. Here is a snippet, indicating that I want to create a directory named

[WiX-users] using property for Directory Name attribute

2009-09-14 Thread Bob Uva
I want to be able to use a Property value in the Name attribute of a Directory entry. I set the property by reading a directory path from the registry, then want to indicate that that is the path into which I will be installing. Here is a snippet, indicating that I want to create a directory named

Re: [WiX-users] Conditional installed based on REG_MULTI_SZ value

2009-09-14 Thread Dominique Louis
OK based on Pally's earlier post, it would seem that SQLSERVER><"MSSQLSERVER" or the property equivalent should work, but neither works for me. Do they work for anyone else? -Original Message- From: Dominique Louis [mailto:dominique.lo...@amxeurope.com] Sent: 14 September 2009 15:54 To:

Re: [WiX-users] Registering a DLL

2009-09-14 Thread Dominique Louis
That would have saved me an hour if I had looked up exactly what it did :). I read the name and just thought, must be like FxCop and moved on. Thanks again Pally, you seem to have your finger firmly on the WiX pulse. -Original Message- From: Pally Sandher [mailto:pally.sand...@iesve.com]

Re: [WiX-users] Conditional installed based on REG_MULTI_SZ value

2009-09-14 Thread Dominique Louis
Nope, Changing it to a Property does not work either. I'm guessing that changing it to a property just makes it the equivalent of writing SQLSERVER><"MSSQLSERVER" Which would be incorrect as well. Is the >< the correct conditional operator for what I'm trying to achieve? What is the difference bet

Re: [WiX-users] Conditional installed based on REG_MULTI_SZ value

2009-09-14 Thread Dominique Louis
Ooops I didn't see that earlier. -Original Message- From: Pally Sandher [mailto:pally.sand...@iesve.com] Sent: 14 September 2009 15:59 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Conditional installed based on REG_MULTI_SZ value <> is "not equal to"

Re: [WiX-users] Conditional installed based on REG_MULTI_SZ value

2009-09-14 Thread Blair
In my tests using a simple installation package, it would appear that the conditional comparison routines for strings stop looking through the string at the first NUL character. Since REG_MULTI_SZ strings start with a NUL, then terminate each value with an additional NUL (remember that the conditio

Re: [WiX-users] Conditional installed based on REG_MULTI_SZ value

2009-09-14 Thread Pally Sandher
<> is "not equal to" >< is "contains" See http://msdn.microsoft.com/en-us/library/aa368012.aspx as on earlier message. Palbinder Sandher Software Deployment & IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the ** Integ

Re: [WiX-users] Automating Heat

2009-09-14 Thread Blair
If you are using (or ever plan on using, or even are ever forced to use) any win32 or .net assembly installations (including using the C/C++ runtime MSMs or using the GAC) you are forced to place RemoveExistingProducts close to InstallFinalize (so called "late") instead of one of the two "early" pl

Re: [WiX-users] Access to variables in localization strings

2009-09-14 Thread Blair
There are different layers of variables in WiX (candle's preprocessor variables, Light's WixVariables/localization variables/binder variables, and MSI's properties). Each have different syntax and are evaluated at different times: Candle's preprocessor variables "$(var.VariableName)" are evaluated

Re: [WiX-users] Registering a DLL

2009-09-14 Thread Pally Sandher
"This unfortunately produces WiX 2 Rigistry code that is now deprecated in WiX 3. :( I then wrote an XSLT to transform the WiX 2 code to valid Wix 3." http://wix.sourceforge.net/manual-wix3/wixcop.htm Palbinder Sandher Software Deployment & IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 14

Re: [WiX-users] Registering a DLL

2009-09-14 Thread Pally Sandher
http://wix.sourceforge.net/manual-wix3/heat.htm Palbinder Sandher Software Deployment & IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the ** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151

[WiX-users] How to find out the free disk space during the installation

2009-09-14 Thread Jiang, Chunyan (GE Healthcare)
Hi Wix-user, I would like to show the free disk space on the customized dialog during the installation, like: Space Required: xxx M Space Available: yyy M For the Space Required I can set it as my software required. But how can I get the Space Available value? How to retrieve the free disk sp

Re: [WiX-users] Conditional installed based on REG_MULTI_SZ value

2009-09-14 Thread Pally Sandher
Have you tried using a Property with its value set to "MSSQLSERVER" as I first assumed you were doing? Even something as simple as added to your first code fragment might cause this to work. Essentially your code is doing exactly what you're trying to achieve from how I understand it but a quirk

Re: [WiX-users] Registering a DLL

2009-09-14 Thread Dominique Louis
Hi Jaspreet, I have found that the COM registration output heat.exe produces did not work for My COM dlls ( originally written in Delphi ). Instead I had to go through a laborious process of downloading WiX 2 and running tallow over my dll as follows... Tallow.exe /s MyCOMstuff.dll > MyCOMstuff.w

Re: [WiX-users] Conditional installed based on REG_MULTI_SZ value

2009-09-14 Thread Dominique Louis
Hi Pally, Thanks for taking the time to answer my query. I should have mentioned that I had already tried putting quotes around MSSQLSERVER, but that does not work either. What I need is some kind of conditional code the does the equivalent of a "Does this SQLSERVER property *contain* MSSQLSERV

Re: [WiX-users] Wix 3.0 FileSearch

2009-09-14 Thread Blair
INSTALLDIR may be set before your CA_RunEXE custom action runs (it will be set by the time the standard action CostFinalize runs if it wasn't set explicitly before, because CostFinalize populates all the properties identified in the Directory table) but it may not be set when the standard AppSearch

Re: [WiX-users] Is there a way to drop databases on uninstall after confirmation.

2009-09-14 Thread Blair
MSI supports dialogs in the uninstallation but doesn't require it, but Add/Remove Programs (whatever it may be called in the different versions of the OS) calls MSI in a mode that disallows it (when the "Remove" or its equivalent is selected). You shouldn't use a custom action that produces a modal

[WiX-users] Registering a DLL

2009-09-14 Thread Jaspreet Nabha
Hi All, I am using below code to register an assembly : I took this example from http://www.tramontana.co.hu/wix/lesson6.php , but somehow I am not able to see the assembly name in COM references. Anyone have any idea to get the DLL listed in COM com

Re: [WiX-users] Conditional installed based on REG_MULTI_SZ value

2009-09-14 Thread Pally Sandher
That says to throw the condition 'If the Property SQLSERVER does not contain the Property MSSQLSERVER or the product is not already Installed' Try putting quotes around MSSQLSERVER if you want it to be a string rather than a Property. I may be wrong but that's how I understand it. See h

Re: [WiX-users] XML input config file

2009-09-14 Thread Pally Sandher
Depends what you're trying to achieve. You could write a bootstrapper that parses your XML file to generate the required properties to pass to your MSI. This would be how I would try to achieve this because I have had "Custom Actions = very bad" drilled into me over the years by Rob M, Bob A et al

Re: [WiX-users] Conditional installed based on REG_MULTI_SZ value

2009-09-14 Thread Dominique Louis
MSSQLSERVER Is not a property, it is a literal string that should exist within the Registry. I'm essentially trying to check if 'MSSQLSERVER' exists within the multi-string SQLSERVER. -Original Message- From: Pally Sandher [mailto:pally.sand...@iesve.com] Sent: 14 September 2009 12:36 T

Re: [WiX-users] Conditional installed based on REG_MULTI_SZ value

2009-09-14 Thread Pally Sandher
What is the property MSSQLSERVER set to? You appear to have omitted this from your code fragment. Palbinder Sandher Software Deployment & IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the ** Integrated Environmental S

[WiX-users] XML input config file

2009-09-14 Thread David McEwen
Is it possible to have a complete silent install using a XML file with all required install configurations? David -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial.

[WiX-users] Conditional installed based on REG_MULTI_SZ value

2009-09-14 Thread Dominique Louis
Hi WiX gurus, I'm using the "supposed" standard way of detecting multiple SQLServer instances... But the Condition... Does not evaluate correctly. For instance if the Property SQLSERVER only contains "[~]SQLEXPRESS[~]" ( according to the log ) It still allows the instal

Re: [WiX-users] Windows 7 logo testing and mergemodules-files not uninstalled?

2009-09-14 Thread Pally Sandher
Personally I wouldn't worry too much about anything caused by VC++ redistributable merge modules. Any problem you find will be replicated by the stand-alone redistributable installer & both were authored by the MS Visual Studio dev's. When I build my MSI's without the VC++ 8 merge modules included

[WiX-users] Return to different dialog from Spawn-dialog

2009-09-14 Thread Ranganatha H C
Hi All, In a dialog we need to show a confirmation message dialog on click of a Next button. 1 1 1 On click of ButtonYes button

Re: [WiX-users] Regarding .Net 3.5 SP1

2009-09-14 Thread Pally Sandher
http://www.codeplex.com/dotnetinstaller/ Palbinder Sandher Software Deployment & IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the ** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 R

Re: [WiX-users] Multiple Instances in Add Remove Program

2009-09-14 Thread Pally Sandher
http://wix.sourceforge.net/manual-wix3/wix_xsd_upgradeversion.htm Palbinder Sandher Software Deployment & IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the ** Integrated Environmental Solutions Limited. Registered in S

Re: [WiX-users] Patches which work across different versions?

2009-09-14 Thread Pally Sandher
Sounds like you want to do what Windows Installer terms a "Minor Update". See http://msdn.microsoft.com/en-us/library/aa370579.aspx & http://msdn.microsoft.com/en-us/library/aa370037.aspx Creating Patches is covered in the WiX docs at http://wix.sourceforge.net/manual-wix3/patching.htm. Personal

Re: [WiX-users] Automating Heat

2009-09-14 Thread Jon Hope
Hi Brian, Due to the problem with the -cg my setup currently has 1 file per component. The solution that I am building contains 21 projects. To automate this I have initially created 21 fragment files which are referenced from one 'main' .wxs file. I have then added a pre-build event to each

[WiX-users] Access to variables in localization strings

2009-09-14 Thread Graeme English
I'm trying to replace a variable within a localization string however it always appears blank. I've been using Light -dBuildMachine=abc. Anyone know if this should work? e.g. http://schemas.microsoft.com/wix/2006/localization";> This build was prepared on [BuildMachine] Cheers, Graeme -

Re: [WiX-users] Wix 3.0 FileSearch

2009-09-14 Thread puyo puy
Hi, Can someone from WIX confirm that is a bug or I did something wrong. Thanks Jeff --- On Fri, 11/9/09, puyo puy wrote: From: puyo puy Subject: Re: [WiX-users] Wix 3.0 FileSearch To: "General discussion for Windows Installer XML toolset." Received: Friday, 11 September, 2009, 9:29 AM Hi

Re: [WiX-users] Multiple Instances in Add Remove Program

2009-09-14 Thread Sebastian Brand (Instyler Software)
Setting the ProductCode to Autogen () will create independent products for each new version. When you set OnlyDetect="yes" this will not remove the older versions but only set the PREVIOUSVERSIONSINSTALLED Property to the product guids of the older versions. Best regards, Sebastian Brand Deploy

Re: [WiX-users] Is there a way to drop databases on uninstall after confirmation.

2009-09-14 Thread Sebastian Brand (Instyler Software)
Since MSI does not support dialogs in the uninstallation of a product, you'll have to create a Custom Action for asking the user. Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.inst

[WiX-users] Multiple Instances in Add Remove Program

2009-09-14 Thread Anuj Pandey
Hi I have create a setup starting like this http://schemas.microsoft.com/wix/2006/wi"; xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"; xmlns:fire="http://schemas.microsoft.com/wix/FirewallExtension"; xmlns:Sql="http://schemas.microsoft.com/wix/SqlExtension";>

[WiX-users] Is there a way to drop databases on uninstall after confirmation.

2009-09-14 Thread Anuj Pandey
Hi Is there a way to drop databases on uninstall after confirmation. I have created a setup using wix. and then need to uninstall it. Also need to drop the db. but sometimes i may not want to. Is there anything i can follow currently available with wix? :: Anuj Pa

Re: [WiX-users] Patches which work across different versions?

2009-09-14 Thread Sunkesula, Srivardhan
Hi Blair, First question: Do all three versions share the same ProductCode or are they different between versions? Answer is: They don't share the same product code. Because I need to support the Upgrade functionalityfrom one version to the other. Second question: Do you intend to supply "del