Any pointers on the syntax i should one use to enable deployment of a gac dll 
required dll.config file, e.g. gac dll's that make use if setting designer/api 
runtime settings?

I tried the following two options and the first, currently commented out, 
doesn't work because it doesn't drop the file in the actual gac folder, the 
second doesn't work because it seems the gac placement processing deletes it 
when the Assembly=".net" dll file setting is processed.

    <Component Id="Sdk1Gac14" Guid="A6D64010-D181-40BF-9ABC-BA15633E1F45">
         <File Id="Sdk1GacDataEntities.Providers.dll" 
Name="MyGacDestinedAssembly.dll" 
Source="$(var.MyGacDestinedAssembly.TargetPath)"
             Assembly=".net" KeyPath="yes" />
         <!--<File Id="Sdk1Gac MyGacDestinedAssembly.dll.config" 
Name="MyGacDestinedAssembly.dll.config" 
Source="$(var.MyGacDestinedAssembly.TargetPath).config"
             Assembly="no" />-->
    </Component>
</DirectoryRef>

<!-- note - using a SetSdk1Gac14DllCfg/RunSdk1Gac14DllCfg custom actions so we 
can sequence this to happen after InstallFiles does gac dll deployments.  This 
was happening
before then previously and as a result file was being deleted by gac dll 
deployment step -->
<DirectoryRef Id="GacMsilDir">
    <Directory Id="Sdk1Gac14Dir" Name="MyGacDestinedAssembly">
        <Directory Id="Sdk1Gac14VersionTokenDir" 
Name="2.0.0.0__31bf3856ad364e35">
            <Component Id="Sdk1Gac14DllCfg" Guid="*">
                <File Id="MyGacDestinedAssembly.dll.config" 
Name="MyGacDestinedAssembly.dll.config" 
Source="$(var.MyGacDestinedAssembly.TargetPath).config" KeyPath="yes" />
            </Component>
        </Directory>
    </Directory>
</DirectoryRef>


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to