Skip to content

Commit 858858c

Browse files
author
Sven Luschgy
committed
Fixed 7z and Signing
Added fixes for signing and 7z
1 parent 740ea76 commit 858858c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

helper.psm1

+6-6
Original file line numberDiff line numberDiff line change
@@ -192,14 +192,14 @@ Function comm
192192

193193
Function 7zip($Path,$DestinationPath,$moreArgs)
194194
{
195-
Write-Host "7za.exe" -argument "a -mx9 $DestinationPath $Path $moreArgs" -logfile $false -priority "Normal"
196-
proc -process "7za.exe" -argument "a -mx9 $DestinationPath $Path $moreArgs" -logfile $false -priority "Normal"
195+
Write-Host "7z.exe" -argument "a -mx9 $DestinationPath $Path $moreArgs" -logfile $false -priority "Normal"
196+
proc -process "7z.exe" -argument "a -mx9 $DestinationPath $Path $moreArgs" -logfile $false -priority "Normal"
197197
}
198198

199199
Function 7unzip($zip)
200200
{
201-
Write-Host "7za.exe" -argument "x $zip -aoa" -logfile $false -priority "Normal"
202-
proc -process "7za.exe" -argument "x $zip -aoa" -logfile $false -priority "Normal"
201+
Write-Host "7z.exe" -argument "x $zip -aoa" -logfile $false -priority "Normal"
202+
proc -process "7z.exe" -argument "x $zip -aoa" -logfile $false -priority "Normal"
203203
}
204204

205205
Function isGCE
@@ -1624,8 +1624,8 @@ Function signWindows
16241624
Write-Host "Time: $((Get-Date).ToUniversalTime().ToString('yyyy-MM-ddTHH.mm.ssZ'))"
16251625
ForEach ($PACKAGE in $(Get-ChildItem -Filter ArangoDB3*.exe).FullName)
16261626
{
1627-
Write-Host "Sign: signtool.exe sign /fd sha1 /td sha1 /sha1 D4F9266E06107CF3C29AA7E5635AD5F76018F6A3 /tr `"http://sha256timestamp.ws.symantec.com/sha256/timestamp`" `"$PACKAGE`""
1628-
proc -process signtool.exe -argument "sign /fd sha1 /td sha1 /sha1 D4F9266E06107CF3C29AA7E5635AD5F76018F6A3 /tr `"http://sha256timestamp.ws.symantec.com/sha256/timestamp`" `"$PACKAGE`"" -logfile "$INNERWORKDIR\$($PACKAGE.Split('\')[-1])-sign.log" -priority "Normal"
1627+
Write-Host "Sign: signtool.exe sign /sm /fd sha1 /td sha1 /sha1 D4F9266E06107CF3C29AA7E5635AD5F76018F6A3 /tr `"http://sha256timestamp.ws.symantec.com/sha256/timestamp`" `"$PACKAGE`""
1628+
proc -process signtool.exe -argument "sign /sm /fd sha1 /td sha1 /sha1 D4F9266E06107CF3C29AA7E5635AD5F76018F6A3 /tr `"http://sha256timestamp.ws.symantec.com/sha256/timestamp`" `"$PACKAGE`"" -logfile "$INNERWORKDIR\$($PACKAGE.Split('\')[-1])-sign.log" -priority "Normal"
16291629
}
16301630
Pop-Location
16311631
}

0 commit comments

Comments
 (0)