diff --git a/.ci/templates/devtools-msi.yml b/.ci/templates/devtools-msi.yml index e97cfcb90..584c4b92c 100644 --- a/.ci/templates/devtools-msi.yml +++ b/.ci/templates/devtools-msi.yml @@ -56,13 +56,20 @@ jobs: solution: $(Build.SourcesDirectory)/wix/windows-devtools.wixproj msbuildArguments: /p:RunWixToolsOutOfProc=true -p:OutputPath=$(Build.BinariesDirectory)\devtools-msi\ -p:IntermediateOutputPath=$(Build.BinariesDirectory)\sdk-msi\ -p:DEVTOOLS_ROOT=$(devtools.directory) -p:TENSORFLOW=${{ parameters.tensorflow }} - - ${{ if ne(parameters.VERSION, '5.4') }}: + - ${{ if eq(parameters.VERSION, '5.5') }}: - task: MSBuild@1 displayName: ${{ parameters.platform }}-devtools-${{ parameters.proc }}.msi inputs: solution: $(Build.SourcesDirectory)/wix/windows-devtools.wixproj msbuildArguments: /p:RunWixToolsOutOfProc=true -p:OutputPath=$(Build.BinariesDirectory)\devtools-msi\ -p:IntermediateOutputPath=$(Build.BinariesDirectory)\sdk-msi\ -p:DEVTOOLS_ROOT=$(devtools.directory) -p:HAVE_SWIFT_CRYPTO=true -p:HAVE_SWIFT_PACKAGE_COLLECTIONS=true -p:TENSORFLOW=${{ parameters.tensorflow }} + - ${{ if and(ne(parameters.VERSION, '5.4'), ne(parameters.VERSION, '5.5')) }}: + - task: MSBuild@1 + displayName: ${{ parameters.platform }}-devtools-${{ parameters.proc }}.msi + inputs: + solution: $(Build.SourcesDirectory)/wix/windows-devtools.wixproj + msbuildArguments: /p:RunWixToolsOutOfProc=true -p:OutputPath=$(Build.BinariesDirectory)\devtools-msi\ -p:IntermediateOutputPath=$(Build.BinariesDirectory)\sdk-msi\ -p:DEVTOOLS_ROOT=$(devtools.directory) -p:HAVE_SWIFT_CRYPTO=true -p:HAVE_SWIFT_PACKAGE_COLLECTIONS=true -p:HAVE_UNIFIED_SPM_MANIFEST=true -p:TENSORFLOW=${{ parameters.tensorflow }} + - script: | signtool sign /f $(certificate.secureFilePath) /p $(CERTIFICATE_PASSWORD) /tr http://timestamp.digicert.com /fd sha256 /td sha256 $(Build.BinariesDirectory)/devtools-msi/devtools.msi displayName: Sign ${{ parameters.platform }}-devtools-${{ parameters.proc }}.msi diff --git a/wix/windows-devtools.wixproj b/wix/windows-devtools.wixproj index fa114c6a0..27a56b60c 100644 --- a/wix/windows-devtools.wixproj +++ b/wix/windows-devtools.wixproj @@ -25,12 +25,13 @@ false false + false - DEVTOOLS_ROOT=$(DEVTOOLS_ROOT);HAVE_SWIFT_CRYPTO=$(HAVE_SWIFT_CRYPTO);HAVE_SWIFT_PACKAGE_COLLECTIONS=$(HAVE_SWIFT_PACKAGE_COLLECTIONS) + DEVTOOLS_ROOT=$(DEVTOOLS_ROOT);HAVE_SWIFT_CRYPTO=$(HAVE_SWIFT_CRYPTO);HAVE_SWIFT_PACKAGE_COLLECTIONS=$(HAVE_SWIFT_PACKAGE_COLLECTIONS);HAVE_UNIFIED_SPM_MANIFEST=$(HAVE_UNIFIED_SPM_MANIFEST) false true true diff --git a/wix/windows-devtools.wxs b/wix/windows-devtools.wxs index 83588cd8b..7a3404702 100644 --- a/wix/windows-devtools.wxs +++ b/wix/windows-devtools.wxs @@ -46,10 +46,15 @@ + + + + + @@ -282,6 +303,7 @@ + @@ -294,8 +316,12 @@ + + + + @@ -312,8 +338,12 @@ + + + +