mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-15 11:17:53 +01:00
Make sure the final WiX bundle contains a *signed* MSI (#17446)
* Make sure the *signed* MSI makes it into the bundle * And don't let Bootstrapper force-build MSI * Revert "And don't let Bootstrapper force-build MSI" This reverts commit77cea11008. * try this wacky hacky sacky thing * Revert "Revert "And don't let Bootstrapper force-build MSI"" This reverts commit7d25009932. * Revert "try this wacky hacky sacky thing" This reverts commit0fea6df635. * ah the things i hate
This commit is contained in:
@@ -92,13 +92,24 @@ steps:
|
|||||||
restoreDirectory: '$(Build.SourcesDirectory)\installer\packages'
|
restoreDirectory: '$(Build.SourcesDirectory)\installer\packages'
|
||||||
|
|
||||||
- task: VSBuild@1
|
- task: VSBuild@1
|
||||||
displayName: 'Build PowerToysSetup.sln'
|
displayName: 'Build PowerToys MSI'
|
||||||
inputs:
|
inputs:
|
||||||
solution: '**\installer\PowerToysSetup.sln'
|
solution: '**\installer\PowerToysSetup.sln'
|
||||||
vsVersion: 17.0
|
vsVersion: 17.0
|
||||||
platform: '$(BuildPlatform)'
|
platform: '$(BuildPlatform)'
|
||||||
configuration: '$(BuildConfiguration)'
|
configuration: '$(BuildConfiguration)'
|
||||||
msbuildArgs: ${{ parameters.additionalBuildArguments }}
|
msbuildArgs: /t:PowerToysInstaller ${{ parameters.additionalBuildArguments }}
|
||||||
|
maximumCpuCount: true
|
||||||
|
|
||||||
|
- task: VSBuild@1
|
||||||
|
displayName: 'Build PowerToys Bootstrapper'
|
||||||
|
inputs:
|
||||||
|
solution: '**\installer\PowerToysSetup.sln'
|
||||||
|
vsVersion: 17.0
|
||||||
|
platform: '$(BuildPlatform)'
|
||||||
|
configuration: '$(BuildConfiguration)'
|
||||||
|
msbuildArgs: /t:PowerToysBootstrapper ${{ parameters.additionalBuildArguments }}
|
||||||
|
clean: false
|
||||||
maximumCpuCount: true
|
maximumCpuCount: true
|
||||||
|
|
||||||
# directly not doing WinAppDriver testing
|
# directly not doing WinAppDriver testing
|
||||||
|
|||||||
@@ -263,10 +263,10 @@ jobs:
|
|||||||
inputs:
|
inputs:
|
||||||
solution: '**/installer/PowerToysSetup.sln'
|
solution: '**/installer/PowerToysSetup.sln'
|
||||||
vsVersion: 17.0
|
vsVersion: 17.0
|
||||||
msbuildArgs: /p:CIBuild=true /bl:$(Build.SourcesDirectory)\msbuild.binlog
|
msbuildArgs: /p:CIBuild=true /bl:$(Build.SourcesDirectory)\msbuild.binlog /t:PowerToysBootstrapper
|
||||||
platform: $(BuildPlatform)
|
platform: $(BuildPlatform)
|
||||||
configuration: $(BuildConfiguration)
|
configuration: $(BuildConfiguration)
|
||||||
clean: true
|
clean: false # don't undo our hard work above by deleting the MSI
|
||||||
maximumCpuCount: true
|
maximumCpuCount: true
|
||||||
|
|
||||||
- task: CmdLine@2
|
- task: CmdLine@2
|
||||||
|
|||||||
@@ -12,9 +12,6 @@ EndProject
|
|||||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "logger", "..\src\common\logger\logger.vcxproj", "{D9B8FC84-322A-4F9F-BBB9-20915C47DDFD}"
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "logger", "..\src\common\logger\logger.vcxproj", "{D9B8FC84-322A-4F9F-BBB9-20915C47DDFD}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "PowerToysBootstrapper", "PowerToysSetup\PowerToysBootstrapper.wixproj", "{31D72625-43C1-41B1-B784-BCE4A8DC5543}"
|
Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "PowerToysBootstrapper", "PowerToysSetup\PowerToysBootstrapper.wixproj", "{31D72625-43C1-41B1-B784-BCE4A8DC5543}"
|
||||||
ProjectSection(ProjectDependencies) = postProject
|
|
||||||
{022A9D30-7C4F-416D-A9DF-5FF2661CC0AD} = {022A9D30-7C4F-416D-A9DF-5FF2661CC0AD}
|
|
||||||
EndProjectSection
|
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
|||||||
Reference in New Issue
Block a user