@@ -132,6 +132,39 @@ steps:
132
132
ciPolicyFile : ' $(build.sourcesdirectory)\.pipelines\CIPolicy.xml'
133
133
134
134
# ### END MSI
135
+
136
+ # ### BUILDING AND SIGNING SilentFilesInUseBAFunction DLL
137
+ - task : VSBuild@1
138
+ displayName : ${{replace(replace(parameters.buildUserInstaller,'True','👤'),'False','💻')}} Build SilentFilesInUseBAFunction
139
+ inputs :
140
+ solution : " **/installer/PowerToysSetup.sln"
141
+ vsVersion : 17.0
142
+ msbuildArgs : >-
143
+ /t:SilentFilesInUseBAFunction
144
+ /p:RunBuildEvents=true;PerUser=${{parameters.buildUserInstaller}};RestorePackagesConfig=true;CIBuild=true
145
+ /p:InstallerSuffix=${{ parameters.installerSuffix }}
146
+ -restore -graph
147
+ /bl:$(LogOutputDirectory)\installer-$(InstallerBuildSlug)-SilentFilesInUseBAFunction.binlog
148
+ ${{ parameters.additionalBuildOptions }}
149
+ platform : $(BuildPlatform)
150
+ configuration : $(BuildConfiguration)
151
+ clean : false # don't undo our hard work above by deleting the msi
152
+ msbuildArchitecture : x64
153
+ maximumCpuCount : true
154
+
155
+ - ${{ if eq(parameters.codeSign, true) }} :
156
+ - template : steps-esrp-signing.yml
157
+ parameters :
158
+ displayName : ${{replace(replace(parameters.buildUserInstaller,'True','👤'),'False','💻')}} Sign SilentFilesInUseBAFunction
159
+ signingIdentity : ${{ parameters.signingIdentity }}
160
+ inputs :
161
+ FolderPath : ' installer/$(BuildPlatform)/$(BuildConfiguration)'
162
+ signType : batchSigning
163
+ batchSignPolicyFile : ' $(build.sourcesdirectory)\.pipelines\ESRPSigning_installer.json'
164
+ ciPolicyFile : ' $(build.sourcesdirectory)\.pipelines\CIPolicy.xml'
165
+
166
+ # ### END BUILDING AND SIGNING SilentFilesInUseBAFunction DLL
167
+
135
168
# ### BOOTSTRAP BUILDING AND SIGNING
136
169
- task : VSBuild@1
137
170
displayName : ${{replace(replace(parameters.buildUserInstaller,'True','👤'),'False','💻')}} Build VNext Bootstrapper
@@ -148,7 +181,7 @@ steps:
148
181
${{ parameters.additionalBuildOptions }}
149
182
platform : $(BuildPlatform)
150
183
configuration : $(BuildConfiguration)
151
- clean : false # don't undo our hard work above by deleting the MSI
184
+ clean : false # don't undo our hard work above by deleting the MSI nor SilentFilesInUseBAFunction
152
185
msbuildArchitecture : x64
153
186
maximumCpuCount : true
154
187
0 commit comments