From feea62d5bd1f90bb012cb7cf2c84c9703f6568b2 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Sun, 24 Sep 2017 15:06:23 -0700 Subject: Publish Core tools for internal use --- .../WixToolset.BuildTasks.csproj | 9 +++---- src/WixToolset.BuildTasks/redirect.wix.ca.targets | 11 --------- src/WixToolset.BuildTasks/redirect.wix.targets | 11 --------- src/WixToolset.BuildTasks/redirects/wix.ca.targets | 10 ++++++++ src/WixToolset.BuildTasks/redirects/wix.props | 8 +++++++ src/WixToolset.BuildTasks/redirects/wix.targets | 10 ++++++++ .../WixToolset.Core.InternalPackage.csproj | 26 +++++++++++++++++++++ .../WixToolset.Core.InternalPackage.nuspec | 21 +++++++++++++++++ .../SimpleMsiPackage/MsiPackage/MsiPackage.wixproj | 5 +--- .../data/SimpleMsiPackage/MsiPackage/i.txt | Bin 1670 -> 0 bytes src/wix/wix.csproj | 2 ++ 11 files changed, 83 insertions(+), 30 deletions(-) delete mode 100644 src/WixToolset.BuildTasks/redirect.wix.ca.targets delete mode 100644 src/WixToolset.BuildTasks/redirect.wix.targets create mode 100644 src/WixToolset.BuildTasks/redirects/wix.ca.targets create mode 100644 src/WixToolset.BuildTasks/redirects/wix.props create mode 100644 src/WixToolset.BuildTasks/redirects/wix.targets create mode 100644 src/WixToolset.Core.InternalPackage/WixToolset.Core.InternalPackage.csproj create mode 100644 src/WixToolset.Core.InternalPackage/WixToolset.Core.InternalPackage.nuspec delete mode 100644 src/test/WixToolsetTest.BuildTasks/data/SimpleMsiPackage/MsiPackage/i.txt (limited to 'src') diff --git a/src/WixToolset.BuildTasks/WixToolset.BuildTasks.csproj b/src/WixToolset.BuildTasks/WixToolset.BuildTasks.csproj index 34a1a9f5..ce65ea41 100644 --- a/src/WixToolset.BuildTasks/WixToolset.BuildTasks.csproj +++ b/src/WixToolset.BuildTasks/WixToolset.BuildTasks.csproj @@ -3,7 +3,7 @@ - net462 + net461 WiX Toolset MSBuild Tasks @@ -14,8 +14,9 @@ - - + + + @@ -32,7 +33,7 @@ - + diff --git a/src/WixToolset.BuildTasks/redirect.wix.ca.targets b/src/WixToolset.BuildTasks/redirect.wix.ca.targets deleted file mode 100644 index 74e6ec3c..00000000 --- a/src/WixToolset.BuildTasks/redirect.wix.ca.targets +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\SOFTWARE\WiX Toolset\v4', 'InstallFolder', null, RegistryView.Registry32)) - - - - diff --git a/src/WixToolset.BuildTasks/redirect.wix.targets b/src/WixToolset.BuildTasks/redirect.wix.targets deleted file mode 100644 index b40c4c36..00000000 --- a/src/WixToolset.BuildTasks/redirect.wix.targets +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\SOFTWARE\WiX Toolset\v4', 'InstallFolder', null, RegistryView.Registry32)) - - - - diff --git a/src/WixToolset.BuildTasks/redirects/wix.ca.targets b/src/WixToolset.BuildTasks/redirects/wix.ca.targets new file mode 100644 index 00000000..ecb6e09f --- /dev/null +++ b/src/WixToolset.BuildTasks/redirects/wix.ca.targets @@ -0,0 +1,10 @@ + + + + + + $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\SOFTWARE\WiX Toolset\v4', 'InstallFolder', null, RegistryView.Registry32)) + + + + diff --git a/src/WixToolset.BuildTasks/redirects/wix.props b/src/WixToolset.BuildTasks/redirects/wix.props new file mode 100644 index 00000000..7448d192 --- /dev/null +++ b/src/WixToolset.BuildTasks/redirects/wix.props @@ -0,0 +1,8 @@ + + + + + + $(MSBuildThisFileDirectory)..\tools\wix.targets + + diff --git a/src/WixToolset.BuildTasks/redirects/wix.targets b/src/WixToolset.BuildTasks/redirects/wix.targets new file mode 100644 index 00000000..ba354b65 --- /dev/null +++ b/src/WixToolset.BuildTasks/redirects/wix.targets @@ -0,0 +1,10 @@ + + + + + + $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\SOFTWARE\WiX Toolset\v4', 'InstallFolder', null, RegistryView.Registry32)) + + + + diff --git a/src/WixToolset.Core.InternalPackage/WixToolset.Core.InternalPackage.csproj b/src/WixToolset.Core.InternalPackage/WixToolset.Core.InternalPackage.csproj new file mode 100644 index 00000000..613c6b88 --- /dev/null +++ b/src/WixToolset.Core.InternalPackage/WixToolset.Core.InternalPackage.csproj @@ -0,0 +1,26 @@ + + + + + + netstandard2.0 + false + Internal WiX Toolset Tools + $(MSBuildThisFileName).nuspec + $(OutputPath)publish + Id=$(MSBuildThisFileName);Authors=$(Authors);Copyright=$(Copyright);Description=$(Description) + + + + + + + + + + + $(NuspecProperties);Version=$(Version) + + + diff --git a/src/WixToolset.Core.InternalPackage/WixToolset.Core.InternalPackage.nuspec b/src/WixToolset.Core.InternalPackage/WixToolset.Core.InternalPackage.nuspec new file mode 100644 index 00000000..5879b7a5 --- /dev/null +++ b/src/WixToolset.Core.InternalPackage/WixToolset.Core.InternalPackage.nuspec @@ -0,0 +1,21 @@ + + + + $id$ + $version$ + $authors$ + $authors$ + false + $description$ + $copyright$ + + + + + + + + + + + diff --git a/src/test/WixToolsetTest.BuildTasks/data/SimpleMsiPackage/MsiPackage/MsiPackage.wixproj b/src/test/WixToolsetTest.BuildTasks/data/SimpleMsiPackage/MsiPackage/MsiPackage.wixproj index cd956964..de3fce83 100644 --- a/src/test/WixToolsetTest.BuildTasks/data/SimpleMsiPackage/MsiPackage/MsiPackage.wixproj +++ b/src/test/WixToolsetTest.BuildTasks/data/SimpleMsiPackage/MsiPackage/MsiPackage.wixproj @@ -12,10 +12,7 @@ - ..\..\..\..\..\..\build\Debug\net462\wix.targets - ..\..\..\..\..\..\build\Debug\netstandard2.0\wix.targets - ..\..\..\..\..\..\build\publish\wix.targets - ..\..\..\..\..\..\build\Debug\net462\wix.targets + ..\..\..\..\..\..\build\Release\publish\wix.targets diff --git a/src/test/WixToolsetTest.BuildTasks/data/SimpleMsiPackage/MsiPackage/i.txt b/src/test/WixToolsetTest.BuildTasks/data/SimpleMsiPackage/MsiPackage/i.txt deleted file mode 100644 index 53f23c98..00000000 Binary files a/src/test/WixToolsetTest.BuildTasks/data/SimpleMsiPackage/MsiPackage/i.txt and /dev/null differ diff --git a/src/wix/wix.csproj b/src/wix/wix.csproj index f9bd6704..f183be39 100644 --- a/src/wix/wix.csproj +++ b/src/wix/wix.csproj @@ -13,9 +13,11 @@ NU1701 + -- cgit v1.2.3-55-g6feb