|
From: SourceForge.net <no...@so...> - 2007-01-25 06:13:03
|
Bugs item #1644097, was opened at 2007-01-25 16:13 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1644097&group_id=105970 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: H. Bragg (hughbragg) Assigned to: Nobody/Anonymous (nobody) Summary: LGHT0107 Multiple entry sections Initial Comment: I have an application, WMS which currently creates an msi using wix. Another department has an application it maintains that makes calls into WMS. They now have a wise install package that picks up the WMS.msi and creates a combined installer WERD_WMS.msi. For deployment purposes I want to be able to compile and deploy the combined package and the other department has kindly supplied me with a WERDMergeModule.msm. I can build a WMS.msn but when I try to combine the packages according to the example provided, I get the LGHT0107 error and I cannot complete the package. Can any one help us migrate away from the wise installer? I'm completely new at this, so any help will be appreciated. I found nothing on google or the wix site. Eventually we want to take both products to wix, but it's 1 step at a time for now. I have pasted the 2 wsx input file contents below. This is the exact error: WMS_WERD.wxs : error LGHT0107 : Multiple entry sections 'B666DC19-82BE-449A-97D4-6A3454181858' and 'WMS' found. Only one entry section may be present in a single target. WMS.wxs : error LGHT0108 : Location of entry section related to previous error. WMS_WERD.wxs: <?xml version="1.0"?> <Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi"> <Product Id="b666dc19-82be-449a-97d4-6a3454181858" Name="WMS_WERD" Language="1033" Version="1.0.0.6" Manufacturer="XYZ" UpgradeCode="01757CED-B118-437c-AA81-7E567CF0E472"> <Package Id="????????-????-????-????-????????????" Manufacturer="XYZ" InstallerVersion="200" Compressed="yes" /> <Media Id="1" Cabinet="WMS_WERD.cab" EmbedCab="yes" /> <Property Id='DiskPrompt' Value="Natural Resources & Water WMS WERD combined installation [1]" /> <Directory Id='COMBINEDDIR' Name='SourceDir'> <Directory Id='ProgramFilesFolder' Name='PFiles'> <Directory Id='NRW' Name='NRW'> <Directory Id='INSTALLDIR' Name='WMS_WERD' LongName='WMS WERD 1.0'> <Merge Id="WMS.03a481be-4793-46fc-a242-3b52ab6abc24" Language="1033" SourceFile="WMS.msm" DiskId="1" /> <Merge Id="WERD.7A2D7BA3-368B-4FDC-B494-E702551D26DC" Language="1033" SourceFile="WERDMergeModule.msm" DiskId="1" /> </Directory> </Directory> </Directory> </Directory> <Feature Id="Msm" Title="Msm" Level="1"> <ComponentRef Id="WMS" /> <ComponentRef Id="WMS_exe_manifest" /> <ComponentRef Id="Uninstall_bat" /> <MergeRef Id="WMS.03a481be-4793-46fc-a242-3b52ab6abc24" /> <MergeRef Id="WERD.7A2D7BA3-368B-4FDC-B494-E702551D26DC" /> </Feature> <Upgrade Id='01757CED-B118-437c-AA81-7E567CF0E472'> <UpgradeVersion OnlyDetect='no' Property='PATCHFOUND' IncludeMinimum='yes' Minimum='0.0.0.1' /> </Upgrade> </Product> </Wix> WMS.wxs: <?xml version="1.0"?> <Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi"> <Module Id="WMS" Guid="03a481be-4793-46fc-a242-3b52ab6abc24" Language="1033" Version="1.0.0.6"> <!-- autogenerated package guid --> <Package Id="03a481be-4793-46fc-a242-3b52ab6abc24" Manufacturer="XYZ" Description="Water Management System" InstallerVersion="200" Compressed="yes" /> <Directory Id="TARGETDIR" Name="SourceDir"> <Component Id="Uninstall_bat" Guid="80e86581-8555-4499-a4c6-ce473ee7f637"> <File Id="Uninstall_bat" Name="Uninst~1.bat" LongName="Uninstall.bat" src="Uninstall.bat"> <Shortcut Id="startmenuUninstall" Directory="ProgramMenuDir" Name="Uninst" LongName="Uninstall WMS_WERD" WorkingDirectory="TARGETDIR" /> </File> </Component> <Component Id="WMS_exe_manifest" Guid="80e86581-8555-4499-a4c6-ce473ee7f638"> <File Id="WMS_exe_manifest" Name="WMS_ex~1.bat" LongName="WMS.exe.manifest" src="../resources/WMS.exe.manifest"> </File> </Component> <Directory Id="ProgramMenuFolder" Name="PMenu" LongName="Programs"> <Directory Id="ProgramMenuDir" Name='WMS' /> </Directory> <Directory Id="DesktopFolder" Name="Desktop" /> </Directory> <FragmentRef Id="files"/> <InstallExecuteSequence> <RemoveExistingProducts After="InstallInitialize" /> <!-- If an admin has overridden TARGETDIR, it very likely won't have been set to ROOTDRIVE anymore, which is what it seems to default to at the moment. --> <Custom Action="SetDefaultTargetDir" After="LaunchConditions">TARGETDIR=ROOTDRIVE</Custom> </InstallExecuteSequence> <!-- This sets TARGETDIR to something sane if it was still set to ROOTDRIVE, which was generally defaulting to D:\ on NRM SOE machines. --> <CustomAction Id="SetDefaultTargetDir" Property="TARGETDIR" Value="[ProgramFilesFolder][ProductName]" Execute="immediate"/> <UIRef Id="WixUI" /> </Module> </Wix> ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1644097&group_id=105970 |