Re: [WiX-users] GDI+ MergeModule
Thanks - that works perfectly! Removing the CDATA makes it compile. When I install it on WinXP the dll is not installed, but on Win2k it is - just like I wanted. The component is now: VersionNT=500 Or NOT Version9x="" Thanks for helping! John Vottero wrote: > > Yes, you still have access to VersionNT and Version9X. Try making your > condition: > > VersionNT=500 Or NOT Version9x="" > -- View this message in context: http://www.nabble.com/GDI%2B-MergeModule-tf4316091.html#a12394849 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
> 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 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: VersionNT=500 Or NOT Version9x="" > > > > 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
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 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: 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. > > >Source="GdiPlus.dll" /> > > > > > > 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 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 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: > > >Vital="yes" > src="gdiplus.dll" /> > > > 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 > > > > > > -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
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: 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 > > > -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
Try this in your condition -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"> ' inside an XML CDATA block. Thomas Leigh wrote: > > try replacing your ]]> with >
Re: [WiX-users] GDI+ MergeModule
Thanks, but still the same error.. Now my block is: Component Guid="{..}" Id="C_GDI"> ' inside an XML CDATA block. Thomas Leigh wrote: > > try replacing your ]]> with >
Re: [WiX-users] GDI+ MergeModule
try replacing your ]]> with > 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. > > >Source="GdiPlus.dll" /> > > > > > > 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
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: 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. > > >Source="GdiPlus.dll" /> > > > > > > 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
See if this helps. It describes the issue. The summary seems to be that Microsoft didn't update the merge module but InstallShield did, so your safest approach is to use that InstallShield one (and you could use Orca if you really want to check that the file version there in the merge module is the corrected version). http://www.installsite.org/pages/en/topic/gdi.htm Phil Wilson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of stian Sent: Thursday, August 23, 2007 2:11 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] GDI+ MergeModule Schrieken, Rene wrote: > > I have no experience with gdi+ but afaik it is just one download: > http://www.microsoft.com/downloads/details.aspx?FamilyID=6a63ab9c-df12-4 d41-933c-be590feaa05a&DisplayLang=en > Thanks. Well, I found this site before, but this is the dll, and not the Merge Module - which I was looking for. I did find some GDI+ Merge Module for InstallShield, but are the InstallShield MergeModules the same as those used in WiX? http://www.installshield.com/downloads/modules.asp?prod=ISX&lan=english&; xmlUse=y Schrieken, Rene wrote: > > Isn't an merge module adding complexity? > Is it? As mentioned I'm new to WiX, but my impression was that it was best practice to always use the merge modules. Don't they make sure that the dlls are put in the appropriate system folders (GAC), and don't reinstall existing files etc? As you're mentioning the dll should be put in the install folder for Win2k, and not be installed at all for later systems (where it is installed by default..). So to put them in the installation folder I guess you shouldn't use merge modules - or should you? -- View this message in context: http://www.nabble.com/GDI%2B-MergeModule-tf4316091.html#a12290063 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
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. 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 From: [EMAIL PROTECTED] on behalf of stian Sent: Thu 8/23/2007 11:11 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] GDI+ MergeModule Schrieken, Rene wrote: > > I have no experience with gdi+ but afaik it is just one download: > http://www.microsoft.com/downloads/details.aspx?FamilyID=6a63ab9c-df12-4d41-933c-be590feaa05a&DisplayLang=en > Thanks. Well, I found this site before, but this is the dll, and not the Merge Module - which I was looking for. I did find some GDI+ Merge Module for InstallShield, but are the InstallShield MergeModules the same as those used in WiX? http://www.installshield.com/downloads/modules.asp?prod=ISX&lan=english&xmlUse=y Schrieken, Rene wrote: > > Isn't an merge module adding complexity? > Is it? As mentioned I'm new to WiX, but my impression was that it was best practice to always use the merge modules. Don't they make sure that the dlls are put in the appropriate system folders (GAC), and don't reinstall existing files etc? As you're mentioning the dll should be put in the install folder for Win2k, and not be installed at all for later systems (where it is installed by default..). So to put them in the installation folder I guess you shouldn't use merge modules - or should you? -- View this message in context: http://www.nabble.com/GDI%2B-MergeModule-tf4316091.html#a12290063 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
Schrieken, Rene wrote: > > I have no experience with gdi+ but afaik it is just one download: > http://www.microsoft.com/downloads/details.aspx?FamilyID=6a63ab9c-df12-4d41-933c-be590feaa05a&DisplayLang=en > Thanks. Well, I found this site before, but this is the dll, and not the Merge Module - which I was looking for. I did find some GDI+ Merge Module for InstallShield, but are the InstallShield MergeModules the same as those used in WiX? http://www.installshield.com/downloads/modules.asp?prod=ISX&lan=english&xmlUse=y Schrieken, Rene wrote: > > Isn't an merge module adding complexity? > Is it? As mentioned I'm new to WiX, but my impression was that it was best practice to always use the merge modules. Don't they make sure that the dlls are put in the appropriate system folders (GAC), and don't reinstall existing files etc? As you're mentioning the dll should be put in the install folder for Win2k, and not be installed at all for later systems (where it is installed by default..). So to put them in the installation folder I guess you shouldn't use merge modules - or should you? -- View this message in context: http://www.nabble.com/GDI%2B-MergeModule-tf4316091.html#a12290063 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 have no experience with gdi+ but afaik it is just one download: http://www.microsoft.com/downloads/details.aspx?FamilyID=6a63ab9c-df12-4d41-933c-be590feaa05a&DisplayLang=en For WinXP and up you shouldn't Install it, for Win2k and lower you should put the file in the same folder as your application exe. As I read here: http://msdn2.microsoft.com/en-us/library/ms533798.aspx under Runtime Requirements you also need to instruct the linker to do rebase magic. Isn't an merge module adding complexity? From: [EMAIL PROTECTED] on behalf of stian Sent: Thu 8/23/2007 10:30 To: wix-users@lists.sourceforge.net Subject: [WiX-users] GDI+ MergeModule Hi, I have an MSI where I need to include gdiplus.dll to make it run on Win2k as this is not included by default. I've read that there exists a MergeModule for this file; can someone verify that this is correct? I've been googling like crazy, but I can't find it. Can someone point me in the right direction? Are there any sites with collections of "official" MergeModules I should know of? Also; I read that the merge module for GDI+ is broken - putting the installed dll directly at the c: root instead of the system folder where it should be put. If so; can I configure the merge module to put it in the system folder instead? Note that I'm new to WiX... Any help is greatly appreciated. -- View this message in context: http://www.nabble.com/GDI%2B-MergeModule-tf4316091.html#a12289466 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
[WiX-users] GDI+ MergeModule
Hi, I have an MSI where I need to include gdiplus.dll to make it run on Win2k as this is not included by default. I've read that there exists a MergeModule for this file; can someone verify that this is correct? I've been googling like crazy, but I can't find it. Can someone point me in the right direction? Are there any sites with collections of "official" MergeModules I should know of? Also; I read that the merge module for GDI+ is broken - putting the installed dll directly at the c: root instead of the system folder where it should be put. If so; can I configure the merge module to put it in the system folder instead? Note that I'm new to WiX... Any help is greatly appreciated. -- View this message in context: http://www.nabble.com/GDI%2B-MergeModule-tf4316091.html#a12289466 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