Skip to content

Commit 6961ddf

Browse files
author
devizer
committed
Module: Upgrade with skip reboot req, Fix Encryption, legacy mode for run remote script [skip ci]
1 parent 2e49063 commit 6961ddf

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

Install-SqlServer-Version-Management.ps1

Lines changed: 4 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.195';
7+
$ModuleVersion = '2.1.196';
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.195`"",
18+
" ModuleVersion = `"2.1.196`"",
1919
"",
2020
" GUID = 'dd03b53d-575a-4056-ae08-e6dfea3384ea'",
2121
"",
@@ -4230,7 +4230,8 @@ $ModuleFiles = @(
42304230
" if (`$updateGot -and `$updateGot.UpdateLauncher) {",
42314231
" `$updateGot | ft -AutoSize | Out-Host",
42324232
" `$title = `"Update Shared Tools and LocalDB version `$(`$version)`"",
4233-
" `$setupArg = @(`"/q`", `"/IAcceptSQLServerLicenseTerms`", `"/Action=Patch`");",
4233+
" # /SkipRules=RebootRequiredCheck is safe since 2008",
4234+
" `$setupArg = @(`"/q`", `"/IAcceptSQLServerLicenseTerms`", `"/Action=Patch`", `"/SkipRules=RebootRequiredCheck`");",
42344235
" `$setupStatus = Execute-Process-Smarty `"`$title`" `$updateGot.UpdateLauncher `$setupArg -WaitTimeout 3600",
42354236
" `$setupStatus | Format-Table-Smarty | Out-Host",
42364237
" if (`$setupStatus -and `$upgradeResult.Error) { ",

SqlServer-Version-Management.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4097,7 +4097,8 @@ function Update-SqlServer-LocalDB-and-Shared-Tools([string[]] $versions) {
40974097
if ($updateGot -and $updateGot.UpdateLauncher) {
40984098
$updateGot | ft -AutoSize | Out-Host
40994099
$title = "Update Shared Tools and LocalDB version $($version)"
4100-
$setupArg = @("/q", "/IAcceptSQLServerLicenseTerms", "/Action=Patch");
4100+
# /SkipRules=RebootRequiredCheck is safe since 2008
4101+
$setupArg = @("/q", "/IAcceptSQLServerLicenseTerms", "/Action=Patch", "/SkipRules=RebootRequiredCheck");
41014102
$setupStatus = Execute-Process-Smarty "$title" $updateGot.UpdateLauncher $setupArg -WaitTimeout 3600
41024103
$setupStatus | Format-Table-Smarty | Out-Host
41034104
if ($setupStatus -and $upgradeResult.Error) {

0 commit comments

Comments
 (0)