[WiX-users] Merge Module question...
Hi all, I have 6 services merge modules, I have them building for both x86 and x64 (different output paths) all is fine… I have to add 2 SQL Lite files, x86 and x64 to the 6 merge modules (the binaries are built AnyCPU) I decided to use 1 wixlib and condition the 2 files Not Installed and Not VersionNT64 or Not Installed and VersionNT64 Added the wixlib and I got a ton of warnings about LFN file blah So I decided to create 2 SQL Lite wixlibs one x86 the other x64 bit But instead of warnings I am getting errors… How can I add a wixlib file to a merge module based on bitness, I have to add both of them since the merge module is used in both x86 / x64 bit services MSI I don’;t want to create two sets of merge modules that would be a pain in the butt… I want to keep this KISS… Any help would be appreciated, Steve -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Merge-Module-question-tp7589180.html Sent from the wix-users mailing list archive at Nabble.com. -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60133471iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Merge Module question...
I have added it back to 1 WIXLIB when I compile it works but I get this error twice for each merge module: Warning 22 ICE30: The target file 'kd1er3dy.dll|SQLite.Interop.dll' might be installed in '[TARGETDIR]\EnterpriseAuditLogService\' by two different conditionalized components on an LFN system: 'cmp_SQLite.Interop_x86.9EFC3F5B_3D47_4233_A162_371DEF5D8E92' and 'cmp_SQLite.Interop_x64.9EFC3F5B_3D47_4233_A162_371DEF5D8E92'. If the conditions are not mutually exclusive, this will break the component reference counting system. C:\Dev\Core Technologies\Main\Setup\TitusServices\TitusSQLiteLib\Library.wxs18 1 TitusEnterpriseAuditLogServicesMergeModule each component (2 components each x 1 for x86 and 1 for x64) i.e. Component Id=cmp_SystemDataSQLite_x86 Guid={some GUID} File Id=file_SystemDataSQLite_x86 KeyPath=yes Source=$(var.sourcePath)ThirdParty\SQLite\x86\System.Data.SQLite.dll / Condition ! [ CDATA [NOT Installed AND NOT VersionNT64 ] ] /Condition /Component have to put spaces on the condition or nabble removes the whole line :( for x64 take the NOT VersionNT64 to just VersionNT64 -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Merge-Module-question-tp7589180p7589182.html Sent from the wix-users mailing list archive at Nabble.com. -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60133471iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Merge Module question...
It's a warning not an error. The way I get around this is to set the Directory to subfolders like x86 and x64 and then use the DuplicateFile table to get the right file installed to the right directory. From: StevenOgilvie sogil...@msn.com Sent: Tuesday, September 24, 2013 1:26 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Merge Module question... I have added it back to 1 WIXLIB when I compile it works but I get this error twice for each merge module: Warning 22 ICE30: The target file 'kd1er3dy.dll|SQLite.Interop.dll' might be installed in '[TARGETDIR]\EnterpriseAuditLogService\' by two different conditionalized components on an LFN system: 'cmp_SQLite.Interop_x86.9EFC3F5B_3D47_4233_A162_371DEF5D8E92' and 'cmp_SQLite.Interop_x64.9EFC3F5B_3D47_4233_A162_371DEF5D8E92'. If the conditions are not mutually exclusive, this will break the component reference counting system. C:\Dev\Core Technologies\Main\Setup\TitusServices\TitusSQLiteLib\Library.wxs18 1 TitusEnterpriseAuditLogServicesMergeModule each component (2 components each x 1 for x86 and 1 for x64) i.e. Component Id=cmp_SystemDataSQLite_x86 Guid={some GUID} File Id=file_SystemDataSQLite_x86 KeyPath=yes Source=$(var.sourcePath)ThirdParty\SQLite\x86\System.Data.SQLite.dll / Condition ! [ CDATA [NOT Installed AND NOT VersionNT64 ] ] /Condition /Component have to put spaces on the condition or nabble removes the whole line :( for x64 take the NOT VersionNT64 to just VersionNT64 -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Merge-Module-q uestion-tp7589180p7589182.html Sent from the wix-users mailing list archive at Nabble.com. -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60133471iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60133471iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Merge Module question...
Its annoying because the files will NEVER be installed on top of each other... So you install the files to subfolders, then use DuplicateFile table to put the right files into the proper folder? I looked at the DuplicateFile element but it didn't make any sense to me? Do you have an example? Thanks, Steve -Original Message- From: Christopher Painter [mailto:chr...@iswix.com] Sent: September-24-13 5:22 PM To: General discussion for Windows Installer XML toolset.; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Merge Module question... It's a warning not an error. The way I get around this is to set the Directory to subfolders like x86 and x64 and then use the DuplicateFile table to get the right file installed to the right directory. From: StevenOgilvie sogil...@msn.com Sent: Tuesday, September 24, 2013 1:26 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Merge Module question... I have added it back to 1 WIXLIB when I compile it works but I get this error twice for each merge module: Warning 22 ICE30: The target file 'kd1er3dy.dll|SQLite.Interop.dll' might be installed in '[TARGETDIR]\EnterpriseAuditLogService\' by two different conditionalized components on an LFN system: 'cmp_SQLite.Interop_x86.9EFC3F5B_3D47_4233_A162_371DEF5D8E92' and 'cmp_SQLite.Interop_x64.9EFC3F5B_3D47_4233_A162_371DEF5D8E92'. If the conditions are not mutually exclusive, this will break the component reference counting system. C:\Dev\Core Technologies\Main\Setup\TitusServices\TitusSQLiteLib\Library.wxs18 1 TitusEnterpriseAuditLogServicesMergeModule each component (2 components each x 1 for x86 and 1 for x64) i.e. Component Id=cmp_SystemDataSQLite_x86 Guid={some GUID} File Id=file_SystemDataSQLite_x86 KeyPath=yes Source=$(var.sourcePath)ThirdParty\SQLite\x86\System.Data.SQLite.dll / Condition ! [ CDATA [NOT Installed AND NOT VersionNT64 ] ] /Condition /Component have to put spaces on the condition or nabble removes the whole line :( for x64 take the NOT VersionNT64 to just VersionNT64 -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Merge-Module-q uestion-tp7589180p7589182.html Sent from the wix-users mailing list archive at Nabble.com. -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60133471iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60133471iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60133471iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Merge Module question...
On Tuesday, September 24, 2013, StevenOgilvie wrote: I have added it back to 1 WIXLIB when I compile it works but I get this error twice for each merge module: Warning 22 ICE30: The target file 'kd1er3dy.dll|SQLite.Interop.dll' might be installed in '[TARGETDIR]\EnterpriseAuditLogService\' by two different conditionalized components on an LFN system: 'cmp_SQLite.Interop_x86.9EFC3F5B_3D47_4233_A162_371DEF5D8E92' and 'cmp_SQLite.Interop_x64.9EFC3F5B_3D47_4233_A162_371DEF5D8E92'. If the conditions are not mutually exclusive, this will break the component reference counting system. C:\Dev\Core Technologies\Main\Setup\TitusServices\TitusSQLiteLib\Library.wxs18 1 TitusEnterpriseAuditLogServicesMergeModule each component (2 components each x 1 for x86 and 1 for x64) i.e. Component Id=cmp_SystemDataSQLite_x86 Guid={some GUID} File Id=file_SystemDataSQLite_x86 KeyPath=yes Source=$(var.sourcePath)ThirdParty\SQLite\x86\System.Data.SQLite.dll / Condition ! [ CDATA [NOT Installed AND NOT VersionNT64 ] ] /Condition /Component have to put spaces on the condition or nabble removes the whole line :( for x64 take the NOT VersionNT64 to just VersionNT64 It's not an error, it's a warning. As the message says, if the conditionals are not mutually exclusive, things will break. Your conditions *are* mutually exclusive, so there is no problem. Adding Microsoft's Visual C++ Runtime merge modules to your MSI will trigger the same ICE, by the way; and it's safe there too. -- Nicolás -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60133471iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Merge Module question...
Sigh 4 warnings x 6 merge modules :( Okay thanks all :) Steve -Original Message- From: Nicolás Alvarez [mailto:nicolas.alva...@gmail.com] Sent: September-24-13 10:41 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Merge Module question... On Tuesday, September 24, 2013, StevenOgilvie wrote: I have added it back to 1 WIXLIB when I compile it works but I get this error twice for each merge module: Warning 22 ICE30: The target file 'kd1er3dy.dll|SQLite.Interop.dll' might be installed in '[TARGETDIR]\EnterpriseAuditLogService\' by two different conditionalized components on an LFN system: 'cmp_SQLite.Interop_x86.9EFC3F5B_3D47_4233_A162_371DEF5D8E92' and 'cmp_SQLite.Interop_x64.9EFC3F5B_3D47_4233_A162_371DEF5D8E92'. If the conditions are not mutually exclusive, this will break the component reference counting system. C:\Dev\Core Technologies\Main\Setup\TitusServices\TitusSQLiteLib\Library.wxs18 1 TitusEnterpriseAuditLogServicesMergeModule each component (2 components each x 1 for x86 and 1 for x64) i.e. Component Id=cmp_SystemDataSQLite_x86 Guid={some GUID} File Id=file_SystemDataSQLite_x86 KeyPath=yes Source=$(var.sourcePath)ThirdParty\SQLite\x86\System.Data.SQLite.dll / Condition ! [ CDATA [NOT Installed AND NOT VersionNT64 ] ] /Condition /Component have to put spaces on the condition or nabble removes the whole line :( for x64 take the NOT VersionNT64 to just VersionNT64 It's not an error, it's a warning. As the message says, if the conditionals are not mutually exclusive, things will break. Your conditions *are* mutually exclusive, so there is no problem. Adding Microsoft's Visual C++ Runtime merge modules to your MSI will trigger the same ICE, by the way; and it's safe there too. -- Nicolás -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60133471iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60133471iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Merge module question
By extension, we do not need tools like WiX as we don't need tools like compilers. We can all hack binary codes directly to the processor and be done with it. BTW, .msm is like a .o to a .c I think of them more like a static library, i.e. a .lib file ... :) john - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Merge module question
I consider Merge Modules more like a .DLL than a static library even though it gets merged into the MSI. I look at it that way because there are so many boundaries between the Merge Module and the MSI (modularization of the primary keys) and the fact that Merge Modules are intended to be redistributed. I consider .wixlibs more like static .lib files... thus the name. smile/ However, I can see why one might approach Merge Modules like .lib files. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Hall Sent: Friday, July 18, 2008 00:55 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Merge module question By extension, we do not need tools like WiX as we don't need tools like compilers. We can all hack binary codes directly to the processor and be done with it. BTW, .msm is like a .o to a .c I think of them more like a static library, i.e. a .lib file ... :) john - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Merge module question
Anidil wrote: Can't we author all the setup components inside an msm?Do we really need wix then?What all are the advantages of going for wix instead of deploying an application using merge modules? By extension, we do not need tools like WiX as we don't need tools like compilers. We can all hack binary codes directly to the processor and be done with it. BTW, .msm is like a .o to a .c - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Merge module question
Can't we author all the setup components inside an msm?Do we really need wix then?What all are the advantages of going for wix instead of deploying an application using merge modules? -- View this message in context: http://www.nabble.com/Merge-module-question-tp18483804p18483804.html Sent from the wix-users mailing list archive at Nabble.com. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Merge module question
You can think of merge modules (MSMs) like an application DLL: it's a package of install instructions that can be included in a parent installer. You still need some sort of tool to author the MSM, something that explains what files to include, where they should go, and what the order of installation should be. WiX is one of several available tools that helps with that authoring. Neil From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Anidil [EMAIL PROTECTED] Sent: Wednesday, July 16, 2008 2:32 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Merge module question Can't we author all the setup components inside an msm?Do we really need wix then?What all are the advantages of going for wix instead of deploying an application using merge modules? -- View this message in context: http://www.nabble.com/Merge-module-question-tp18483804p18483804.html Sent from the wix-users mailing list archive at Nabble.com. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Merge Module question
Hi list Firts of all: Happy new year to all of you! And here is my question: I need to use the merge module I have received from 3rd party vendor. There is custom action declared in this MSM and I should sequence it according to my needs. The problem is that Light will generate error: error LGHT0112 : Unresolved reference to symbol 'CustomAction:InstallDrivers.GUID' in section 'Product:GUID'. The error is correct because the Custom action InstallDrivers is not declared in Custom / element. Is there any way to tell the light that the custom action is declared in the MSM module? Or is the entire idea (letting the consumer sequence the Custom action) wrong? Thanks -- Stefan Pavlik | [EMAIL PROTECTED] Whitestein Technologies | www.whitestein.com Panenska 28 | SK-81103 Bratislava | Slovak Republic Tel +421(2)5930-0735 | Fax +421(2)5443-5512 - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Merge Module question
The latter. The MSI SDK does not specify any way to change the execution of a CustomAction from a Merge Module. The Merge Module is supposed to sequence it's CustomAction before or after an standard action.unkunk-Original Message-unkFrom: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stefan PavlikunkSent: Tuesday, January 02, 2007 04:03unkTo: WiX usersunkSubject: [WiX-users] Merge Module questionunkunkHi listunkunkFirts of all: Happy new year to all of you!unkunkAnd here is my question:unkI need to use the merge module I have received from 3rd party vendor.unkThere is custom action declared in this MSM and I should sequence itunkaccording to my needs.unkunkThe problem is that Light will generate error:unkunkerror LGHT0112 : Unresolved reference to symbolunk'CustomAction:InstallDrivers.GUID' in section 'Product:GUID'.unkunkThe error is correct because the Custom action InstallDrivers is not unkdeclared in Custom / element.unkunkIs there any way to tell the light that the custom action isunkdeclared in the MSM module?unkOr is the entire idea (letting the consumer sequence the Customunkaction) wrong?unkunkThanksunkunk--unkStefan Pavlik | [EMAIL PROTECTED]unkWhitestein Technologies | www.whitestein.comunkPanenska 28 | SK-81103 Bratislava | Slovak RepublicunkTel +421(2)5930-0735 | Fax +421(2)5443-5512unkunk-unkTake Surveys. Earn Cash. Influence the Future of ITunkJoin SourceForge.net's Techsay panel and you'll get the chance to share yourunkopinions on IT business topics through brief surveys - and earn cashunkhttp://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEVunk___unkWiX-users mailing list[EMAIL PROTECTED]unkhttps://lists.sourceforge.net/lists/listinfo/wix-usersunk - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users