Re: [WiX-users] GDI+ MergeModule
I put the condition under the component. Assume that is okay? However, I'm having problems with the condition.. candle.exe won't eat it. Here is what I use: Component Guid={..} Id=C_GDI Condition ![CDATA[(VersionNT=500) Or (NOT Version9X=) ]] /Condition File DiskId=1 Id=id1893 KeyPath=yes Name=gdiplus.dll Vital=yes src=gdiplus.dll / /Component And the error I get from candle is: candle.exe : error CNDL0001 : Cannot have ']]' inside an XML CDATA block. Any clues? Best regards. Schrieken, Rene wrote: I have no experience with Installshield so I cannot comment on that. And if you have a working merge module that will`save time but i really wonder what the benefit is if it is not findable and does not work as intended. This snippet might help you out. Disclaimer: I'm not good at conditions so maybe someone on the list can check and correct me. And I didn't check if GdiPlus.dll needs to be registered. If it does you need to add that as well, you can use tallow or heat to obtain the registry markup. Component Id=C_gdiplus DiskId=1 Guid=YourGuidHere File Id=F_gdiplus Name=GDIPLU_1.DLL LongName=GdiPlus.dll Source=GdiPlus.dll / Condition ![CDATA[(VersionNT=500) Or (NOT Version9X=) ]] /Condition /Component if you add the Component Id to your feature. I'm not sure if it is better to have the condition on the feature. But there is sure someone who want to educate me on that Rene -- View this message in context: http://www.nabble.com/GDI%2B-MergeModule-tf4316091.html#a12386104 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] GDI+ MergeModule
try replacing your ]] with ![CDATA[ ? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of stian Sent: 29 August 2007 13:29 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] GDI+ MergeModule I put the condition under the component. Assume that is okay? However, I'm having problems with the condition.. candle.exe won't eat it. Here is what I use: Component Guid={..} Id=C_GDI Condition ![CDATA[(VersionNT=500) Or (NOT Version9X=) ]] /Condition File DiskId=1 Id=id1893 KeyPath=yes Name=gdiplus.dll Vital=yes src=gdiplus.dll / /Component And the error I get from candle is: candle.exe : error CNDL0001 : Cannot have ']]' inside an XML CDATA block. Any clues? Best regards. Schrieken, Rene wrote: I have no experience with Installshield so I cannot comment on that. And if you have a working merge module that will`save time but i really wonder what the benefit is if it is not findable and does not work as intended. This snippet might help you out. Disclaimer: I'm not good at conditions so maybe someone on the list can check and correct me. And I didn't check if GdiPlus.dll needs to be registered. If it does you need to add that as well, you can use tallow or heat to obtain the registry markup. Component Id=C_gdiplus DiskId=1 Guid=YourGuidHere File Id=F_gdiplus Name=GDIPLU_1.DLL LongName=GdiPlus.dll Source=GdiPlus.dll / Condition ![CDATA[(VersionNT=500) Or (NOT Version9X=) ]] /Condition /Component if you add the Component Id to your feature. I'm not sure if it is better to have the condition on the feature. But there is sure someone who want to educate me on that Rene -- View this message in context: http://www.nabble.com/GDI%2B-MergeModule-tf4316091.html#a12386104 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] GDI+ MergeModule
Thanks, but still the same error.. Now my block is: Component Guid={..} Id=C_GDI Condition![CDATA[((VersionNT=500) Or (NOT Version9X=)) ![CDATA[/Condition File DiskId=1 Id=id1893 KeyPath=yes Name=gdiplus.dll Vital=yes src=gdiplus.dll / /Component And the error is still: candle.exe : error CNDL0001 : Cannot have ']]' inside an XML CDATA block. Thomas Leigh wrote: try replacing your ]] with ![CDATA[ ? -- View this message in context: http://www.nabble.com/GDI%2B-MergeModule-tf4316091.html#a12386542 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] GDI+ MergeModule
Try this in your condition ![CDATA[VersionNT=500 Or NOT Version9X=]] -Brian Simoneau -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of stian Sent: Wednesday, August 29, 2007 8:57 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] GDI+ MergeModule Thanks, but still the same error.. Now my block is: Component Guid={..} Id=C_GDI Condition![CDATA[((VersionNT=500) Or (NOT Version9X=)) ![CDATA[/Condition File DiskId=1 Id=id1893 KeyPath=yes Name=gdiplus.dll Vital=yes src=gdiplus.dll / /Component And the error is still: candle.exe : error CNDL0001 : Cannot have ']]' inside an XML CDATA block. Thomas Leigh wrote: try replacing your ]] with ![CDATA[ ? -- View this message in context: http://www.nabble.com/GDI%2B-MergeModule-tf4316091.html#a12386542 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] GDI+ MergeModule
Thanks for the suggestion, but it still gives the same error... Do I have to use CDATA to achieve what I want? The component is now: Component Guid={..} Id=C_GDI Condition![CDATA[VersionNT=500 Or NOT Version9X=]]/Condition File DiskId=1 Id=id1893 KeyPath=yes Name=gdiplus.dll Vital=yes src=gdiplus.dll / /Component And the error still: candle.exe : error CNDL0001 : Cannot have ']]' inside an XML CDATA block. More suggestions are very welcome! Brian Simoneau wrote: Try this in your condition ![CDATA[VersionNT=500 Or NOT Version9X=]] -Brian Simoneau -- View this message in context: http://www.nabble.com/GDI%2B-MergeModule-tf4316091.html#a12392946 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] GDI+ MergeModule
I don't think you need the CDATA for your condition. Conditions are usually wrapped in CDATA because they often contain and characters. That being said, are you sure that the problem is actually in the fragment that you posted? Your CDATA looks fine to me, I'm thinking that maybe something else is messing up the parsing and makes candle think that you have a ]] in your CDATA. Do you have any other CDATAs in this WiX file? If you remove that condition line, does it compile? -Original Message- From: [EMAIL PROTECTED] [mailto:wix-users- [EMAIL PROTECTED] On Behalf Of stian Sent: Wednesday, August 29, 2007 2:34 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] GDI+ MergeModule Thanks for the suggestion, but it still gives the same error... Do I have to use CDATA to achieve what I want? The component is now: Component Guid={..} Id=C_GDI Condition![CDATA[VersionNT=500 Or NOT Version9X=]]/Condition File DiskId=1 Id=id1893 KeyPath=yes Name=gdiplus.dll Vital=yes src=gdiplus.dll / /Component And the error still: candle.exe : error CNDL0001 : Cannot have ']]' inside an XML CDATA block. More suggestions are very welcome! Brian Simoneau wrote: Try this in your condition ![CDATA[VersionNT=500 Or NOT Version9X=]] -Brian Simoneau -- View this message in context: http://www.nabble.com/GDI%2B-MergeModule- tf4316091.html#a12392946 Sent from the wix-users mailing list archive at Nabble.com. --- -- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] GDI+ MergeModule
Hi and thanks, I was thinking the same; that it was something outside this block that caused the problems. However, I don't have any more CDATAs or ]] in this WiX file. This file only contains a fragment, and I have another xml containing the product block. This file does not contain any CDATA either. The program is compiled and msi created using SCons, so there is a SConstruct file starting this. Unless this adds any extra outer xml behind the scenes there is no CDATA to be seen. Everything works fine when removing the condition line. You say that I probably don't need the CDATA. Do I get access to the parameters VersionNT and Version9X outside this? I'm sorry if I ask any stupid questions, but I'm new to WiX and haven't used CDATA before neither.. John Vottero wrote: I don't think you need the CDATA for your condition. Conditions are usually wrapped in CDATA because they often contain and characters. That being said, are you sure that the problem is actually in the fragment that you posted? Your CDATA looks fine to me, I'm thinking that maybe something else is messing up the parsing and makes candle think that you have a ]] in your CDATA. Do you have any other CDATAs in this WiX file? If you remove that condition line, does it compile? -- View this message in context: http://www.nabble.com/GDI%2B-MergeModule-tf4316091.html#a12393572 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] GDI+ MergeModule
I sometimes suggest things from the top of my head but this I actually tried to compile and link. And for Wix2.0.5325.0 it works. What version are you using? You can leave out ![CDATA[ and ]] stuff as long as your condition doesn't use or as the expression. I picked it up as a best practice. Rene From: [EMAIL PROTECTED] on behalf of stian Sent: Wed 8/29/2007 14:29 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] GDI+ MergeModule I put the condition under the component. Assume that is okay? However, I'm having problems with the condition.. candle.exe won't eat it. Here is what I use: Component Guid={..} Id=C_GDI Condition ![CDATA[(VersionNT=500) Or (NOT Version9X=) ]] /Condition File DiskId=1 Id=id1893 KeyPath=yes Name=gdiplus.dll Vital=yes src=gdiplus.dll / /Component And the error I get from candle is: candle.exe : error CNDL0001 : Cannot have ']]' inside an XML CDATA block. Any clues? Best regards. Schrieken, Rene wrote: I have no experience with Installshield so I cannot comment on that. And if you have a working merge module that will`save time but i really wonder what the benefit is if it is not findable and does not work as intended. This snippet might help you out. Disclaimer: I'm not good at conditions so maybe someone on the list can check and correct me. And I didn't check if GdiPlus.dll needs to be registered. If it does you need to add that as well, you can use tallow or heat to obtain the registry markup. Component Id=C_gdiplus DiskId=1 Guid=YourGuidHere File Id=F_gdiplus Name=GDIPLU_1.DLL LongName=GdiPlus.dll Source=GdiPlus.dll / Condition ![CDATA[(VersionNT=500) Or (NOT Version9X=) ]] /Condition /Component if you add the Component Id to your feature. I'm not sure if it is better to have the condition on the feature. But there is sure someone who want to educate me on that Rene -- View this message in context: http://www.nabble.com/GDI%2B-MergeModule-tf4316091.html#a12386104 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] GDI+ MergeModule
Hi and thanks, I was thinking the same; that it was something outside this block that caused the problems. However, I don't have any more CDATAs or ]] in this WiX file. This file only contains a fragment, and I have another xml containing the product block. This file does not contain any CDATA either. The program is compiled and msi created using SCons, so there is a SConstruct file starting this. Unless this adds any extra outer xml behind the scenes there is no CDATA to be seen. Everything works fine when removing the condition line. You say that I probably don't need the CDATA. Do I get access to the parameters VersionNT and Version9X outside this? I'm sorry if I ask any stupid questions, but I'm new to WiX and haven't used CDATA before neither.. Yes, you still have access to VersionNT and Version9X. Try making your condition: ConditionVersionNT=500 Or NOT Version9x=/Condition John Vottero wrote: I don't think you need the CDATA for your condition. Conditions are usually wrapped in CDATA because they often contain and characters. That being said, are you sure that the problem is actually in the fragment that you posted? Your CDATA looks fine to me, I'm thinking that maybe something else is messing up the parsing and makes candle think that you have a ]] in your CDATA. Do you have any other CDATAs in this WiX file? If you remove that condition line, does it compile? -- View this message in context: http://www.nabble.com/GDI%2B-MergeModule- tf4316091.html#a12393572 Sent from the wix-users mailing list archive at Nabble.com. --- -- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users