diff options
author | Bob Arnson <bob@firegiant.com> | 2022-11-15 18:04:38 -0500 |
---|---|---|
committer | Bob Arnson <github@bobs.org> | 2022-11-16 17:06:22 -0500 |
commit | 83d390b8fa44c9d064afa5a79c429505da34f834 (patch) | |
tree | 8121cf54967cc5436dad57a8e0f556d481cbc398 /src/ext/DifxApp/wixext | |
parent | d14c02d4ca6ee820b7111b789d9f904e0fd52804 (diff) | |
download | wix-83d390b8fa44c9d064afa5a79c429505da34f834.tar.gz wix-83d390b8fa44c9d064afa5a79c429505da34f834.tar.bz2 wix-83d390b8fa44c9d064afa5a79c429505da34f834.zip |
Go back to separate .wixlibs for DifxApp.
Fixes https://github.com/wixtoolset/issues/issues/7015.
Diffstat (limited to 'src/ext/DifxApp/wixext')
4 files changed, 8 insertions, 18 deletions
diff --git a/src/ext/DifxApp/wixext/DifxAppCompiler.cs b/src/ext/DifxApp/wixext/DifxAppCompiler.cs index 7d000f67..6f32a60b 100644 --- a/src/ext/DifxApp/wixext/DifxAppCompiler.cs +++ b/src/ext/DifxApp/wixext/DifxAppCompiler.cs | |||
@@ -137,15 +137,7 @@ namespace WixToolset.DifxApp | |||
137 | 137 | ||
138 | if (!this.Messaging.EncounteredError) | 138 | if (!this.Messaging.EncounteredError) |
139 | { | 139 | { |
140 | switch (this.Context.Platform) | 140 | this.ParseHelper.CreateSimpleReference(section, sourceLineNumbers, SymbolDefinitions.CustomAction, "MsiProcessDrivers"); |
141 | { | ||
142 | case Platform.X86: | ||
143 | this.ParseHelper.CreateSimpleReference(section, sourceLineNumbers, SymbolDefinitions.CustomAction, "MsiProcessDrivers"); | ||
144 | break; | ||
145 | case Platform.X64: | ||
146 | this.ParseHelper.CreateSimpleReference(section, sourceLineNumbers, SymbolDefinitions.CustomAction, "MsiProcessDrivers_x64"); | ||
147 | break; | ||
148 | } | ||
149 | 141 | ||
150 | var symbol = section.AddSymbol(new MsiDriverPackagesSymbol(sourceLineNumbers) | 142 | var symbol = section.AddSymbol(new MsiDriverPackagesSymbol(sourceLineNumbers) |
151 | { | 143 | { |
diff --git a/src/ext/DifxApp/wixext/DifxAppExtensionData.cs b/src/ext/DifxApp/wixext/DifxAppExtensionData.cs index 31a95b8e..5552717c 100644 --- a/src/ext/DifxApp/wixext/DifxAppExtensionData.cs +++ b/src/ext/DifxApp/wixext/DifxAppExtensionData.cs | |||
@@ -14,10 +14,5 @@ namespace WixToolset.DifxApp | |||
14 | symbolDefinition = DifxAppSymbolDefinitions.ByName(name); | 14 | symbolDefinition = DifxAppSymbolDefinitions.ByName(name); |
15 | return symbolDefinition != null; | 15 | return symbolDefinition != null; |
16 | } | 16 | } |
17 | |||
18 | public override Intermediate GetLibrary(ISymbolDefinitionCreator symbolDefinitions) | ||
19 | { | ||
20 | return Intermediate.Load(typeof(DifxAppExtensionData).Assembly, "WixToolset.DifxApp.difxapp.wixlib", symbolDefinitions); | ||
21 | } | ||
22 | } | 17 | } |
23 | } | 18 | } |
diff --git a/src/ext/DifxApp/wixext/WixToolset.DifxApp.wixext.csproj b/src/ext/DifxApp/wixext/WixToolset.DifxApp.wixext.csproj index ec52e897..75ea81ec 100644 --- a/src/ext/DifxApp/wixext/WixToolset.DifxApp.wixext.csproj +++ b/src/ext/DifxApp/wixext/WixToolset.DifxApp.wixext.csproj | |||
@@ -12,11 +12,13 @@ | |||
12 | 12 | ||
13 | <Import Project="..\..\WixExt.props" /> | 13 | <Import Project="..\..\WixExt.props" /> |
14 | 14 | ||
15 | <ItemGroup> | 15 | <ItemGroup Condition=" '$(NCrunch)'=='' "> |
16 | <EmbeddedResource Include="$(OutputPath)..\difxapp.wixlib" /> | 16 | <ProjectReference Include="..\wixlib\difxapp.wixproj" ReferenceOutputAssembly="false" SkipGetTargetFrameworkProperties="true" Properties="Platform=x86" /> |
17 | <ProjectReference Include="..\wixlib\difxapp.wixproj" ReferenceOutputAssembly="false" SkipGetTargetFrameworkProperties="true" Properties="Platform=x64" /> | ||
17 | </ItemGroup> | 18 | </ItemGroup> |
18 | 19 | ||
19 | <ItemGroup Condition=" '$(NCrunch)'=='' "> | 20 | <ItemGroup> |
20 | <ProjectReference Include="..\wixlib\difxapp.wixproj" ReferenceOutputAssembly="false" SkipGetTargetFrameworkProperties="true" /> | 21 | <Content Include="$(OutDir)..\difxapp_x86.wixlib" PackagePath="wixext4\" /> |
22 | <Content Include="$(OutDir)..\difxapp_x64.wixlib" PackagePath="wixext4\" /> | ||
21 | </ItemGroup> | 23 | </ItemGroup> |
22 | </Project> | 24 | </Project> |
diff --git a/src/ext/DifxApp/wixext/WixToolset.DifxApp.wixext.targets b/src/ext/DifxApp/wixext/WixToolset.DifxApp.wixext.targets index bf6df083..87fce8f5 100644 --- a/src/ext/DifxApp/wixext/WixToolset.DifxApp.wixext.targets +++ b/src/ext/DifxApp/wixext/WixToolset.DifxApp.wixext.targets | |||
@@ -7,5 +7,6 @@ | |||
7 | Condition=" Exists('$(MSBuildThisFileDirectory)..\$(WixToolsetExtensionPackageFolder)\$(MSBuildThisFileName).dll') " /> | 7 | Condition=" Exists('$(MSBuildThisFileDirectory)..\$(WixToolsetExtensionPackageFolder)\$(MSBuildThisFileName).dll') " /> |
8 | <UnsupportedWixExtension Include="$(MSBuildThisFileName)" | 8 | <UnsupportedWixExtension Include="$(MSBuildThisFileName)" |
9 | Condition=" !Exists('$(MSBuildThisFileDirectory)..\$(WixToolsetExtensionPackageFolder)\$(MSBuildThisFileName).dll') " /> | 9 | Condition=" !Exists('$(MSBuildThisFileDirectory)..\$(WixToolsetExtensionPackageFolder)\$(MSBuildThisFileName).dll') " /> |
10 | <WixLibrary Include="$(MSBuildThisFileDirectory)..\$(WixToolsetExtensionPackageFolder)\difxapp_$(InstallerPlatform).wixlib" /> | ||
10 | </ItemGroup> | 11 | </ItemGroup> |
11 | </Project> | 12 | </Project> |