Skip to content

Commit 487e567

Browse files
author
devizer
committed
Update 7z
1 parent 3639d8e commit 487e567

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Install-SqlServer-Version-Management.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Param(
44
)
55

66
$ModuleName = 'SqlServer-Version-Management';
7-
$ModuleVersion = '2.1.187';
7+
$ModuleVersion = '2.1.188';
88
$ModuleFiles = @(
99
@{
1010
FileName = 'SqlServer-Version-Management\SqlServer-Version-Management.psd1';
@@ -15,7 +15,7 @@ $ModuleFiles = @(
1515
" ModuleToProcess = @('SqlServer-Version-Management.psm1')",
1616
"",
1717
" # Version below is automatically incremented on build",
18-
" ModuleVersion = `"2.1.187`"",
18+
" ModuleVersion = `"2.1.188`"",
1919
"",
2020
" GUID = 'dd03b53d-575a-4056-ae08-e6dfea3384ea'",
2121
"",
@@ -3847,7 +3847,7 @@ $ModuleFiles = @(
38473847
" if ((Get-Os-Platform) -ne `"Windows`") { Write-Host `"Publish-SQLServer-SetupLogs() function is Windows only. Skipping.`"; return; }",
38483848
" if (`"`$toFolder`" -ne `"`") { New-Item -ItemType Directory -Path `"`$toFolder`" -EA SilentlyContinue | out-null; }",
38493849
" `$folders = Find-SqlServer-SetupLogs",
3850-
" `$sevenZip = Get-Full7z-Exe-FullPath-for-Windows -Version `"1900`"",
3850+
" `$sevenZip = `"`$(Get-Full7z-Exe-FullPath-for-Windows -Version `"1900`")`"",
38513851
" foreach(`$logsFolder in `$folders) {",
38523852
" `$archiveName=`$logsFolder.Substring([System.IO.Path]::GetPathRoot(`$logsFolder).Length).Replace(`"\`", ([char]8594).ToString())",
38533853
" Say `"Pack '`$logsFolder' as ```"`$toFolder\`$archiveName.7z```"`"",

SqlServer-Version-Management.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3714,7 +3714,7 @@ function Publish-SQLServer-SetupLogs([string] $toFolder, $compression=9) {
37143714
if ((Get-Os-Platform) -ne "Windows") { Write-Host "Publish-SQLServer-SetupLogs() function is Windows only. Skipping."; return; }
37153715
if ("$toFolder" -ne "") { New-Item -ItemType Directory -Path "$toFolder" -EA SilentlyContinue | out-null; }
37163716
$folders = Find-SqlServer-SetupLogs
3717-
$sevenZip = Get-Full7z-Exe-FullPath-for-Windows -Version "1900"
3717+
$sevenZip = "$(Get-Full7z-Exe-FullPath-for-Windows -Version "1900")"
37183718
foreach($logsFolder in $folders) {
37193719
$archiveName=$logsFolder.Substring([System.IO.Path]::GetPathRoot($logsFolder).Length).Replace("\", ([char]8594).ToString())
37203720
Say "Pack '$logsFolder' as `"$toFolder\$archiveName.7z`""

0 commit comments

Comments
 (0)