Hi all,

I have a working msi but wish to split up the wxs files to make it more
modular.
The current wxs is shown below.

The requirements are that the complus assemblies need to be registered under
the same complus application bearing in mind that the components are located
in different DLLs.
I would want the complus assemblies to appear in different wxs files with
there associated DLL file references but for them to reference back to the
main complus application ... hope this makes sense.

I have tried to achieve this with seperate wxs files but get multiple
complus applications being created.
I did think that complus partitions may be the solution .. but have not been
able to get this to work either!

Any help would be greatly appreciated ..... the wxs file is:

<?xml version="1.0" encoding="UTF-8"?>

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";
  xmlns:complus="http://schemas.microsoft.com/wix/ComPlusExtension";>
  
                <Product Id="b7b87fe5-7fc1-438f-8355-f155e83889b1" Name="Letter
Production" Language="1033" 
             Version="1.0.0.0" Manufacturer="Capita SS"
UpgradeCode="68c66754-e106-45c1-9ac2-cf1896e42941">
                  <Package InstallerVersion="200" Compressed="yes" />

                  <Media Id="1" Cabinet="LetterProductionInstall.cab" 
EmbedCab="yes" />

      <Directory Id="TARGETDIR" Name="SourceDir">    
        <Directory Id="LPPRODUCTDIR" Name="LetterProduction">
          <Directory Id='cisssdetslocalLAP' Name='cisssdetslocal'>

            <!-- References to Letter Production DLL's -->
            <Component Id="LetterProductionDLLs" DiskId="1" KeyPath="yes"
Guid="868649A7-958E-45c5-A23D-03E29BFA9FF1">
              <File Id="LAPDLL" Name="CISSLetAndPhrase.dll" Vital="yes"
Source="C:\Letter
Production\Deployment\KeywordRestrict\Full\DLLs\CISSLetAndPhrase.dll"/>
              <File Id="CSDLL" Name="cisscompsel.dll" Vital="yes"
Source="C:\Letter
Production\Deployment\KeywordRestrict\Full\DLLs\cisscompsel.dll"/>

              <!-- COM+ Registration-->            
              <complus:ComPlusApplication Id="CISSSDETSLOCAL"
Name="cisssdetslocal">

                <!-- Letter And Phrase Assembly -->              
                <complus:ComPlusAssembly Id="LAPComPlusAssembly"
Type="native" DllPath="[#LAPDLL]">
                  <complus:ComPlusComponent
Id="CISSLetAndPhrase.KeywordRestrict"
CLSID="0B737682-CC88-472F-AE9B-A39DE0B982AC" Transaction="none"
                                            ConstructionEnabled="yes"
ConstructorString="TRACE=ON" />
                  <complus:ComPlusComponent Id="CISSLetAndPhrase.CompName"
CLSID="24538838-CC96-4F50-89D8-DC5CE1E6FB52" Transaction="none" />
                  <complus:ComPlusComponent Id="CISSLetAndPhrase.HoldName"
CLSID="52DCCE25-40DF-4DEF-AF33-1279DC230C0E" Transaction="none" />
                  <complus:ComPlusComponent Id="CISSLetAndPhrase.Info"
CLSID="80E7D5F7-28E8-4180-8C65-5C90C606EB33" Transaction="none"
                                            ConstructionEnabled="yes"
ConstructorString="TRACE=ON" />
                  <complus:ComPlusComponent Id="CISSLetAndPhrase.Web"
CLSID="D419CE6F-42D6-45D1-B451-6E66F40D2FD9" Transaction="none"
                                            ConstructionEnabled="yes"
ConstructorString="TRACE=ON" />
                </complus:ComPlusAssembly>

                <!-- Component Selection Assembly -->
                <complus:ComPlusAssembly Id="CSComPlusAssembly"
Type="native" DllPath="[#CSDLL]">
                  <complus:ComPlusComponent Id="CISSCompSel.Info"
CLSID="313D956D-6977-4FBB-ABEB-DE7661FA32B3" Transaction="none" />
                  <complus:ComPlusComponent Id="CISSCompSel.CISSLogon"
CLSID="65F52DB8-6BEE-49C4-8136-34EA6B88C492" Transaction="none" />
                  <complus:ComPlusComponent Id="CISSCompSel.compselection"
CLSID="85EB2E80-E543-49F4-931F-8EF23355A77E" Transaction="none" />
                  <complus:ComPlusComponent Id="CISSCompSel.CISSASPSTD"
CLSID="95554E91-7C4B-4B9A-B6F3-685849CAC065" Transaction="none" />
                </complus:ComPlusAssembly>
              </complus:ComPlusApplication>

            </Component>
          
          </Directory>
        </Directory>
      </Directory>

                  
      <Feature Id="LetterProduction" Title="Full Letter Production Release"
Level="1">
        <ComponentRef Id="LetterProductionDLLs" />
      </Feature>

      <Property Id="WIXUI_INSTALLDIR" Value="LPPRODUCTDIR" />
      <UIRef Id="WixUI_InstallDir"/>
      
        </Product>
  
</Wix>



Thanks,

Dave
-- 
View this message in context: 
http://www.nabble.com/Modularising-wxs-files-for-seperate-complus-assemblies-tf4562245.html#a13020396
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

Reply via email to