Skip to content

Commit f981175

Browse files
committed
Fix VersionUpgrade not passed to commands
1 parent 718cda4 commit f981175

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

source/Classes/020.SqlRSSetup.ps1

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,12 @@
7878
Specifies whether to upgrade the version of the installed product. By default,
7979
no version upgrade is performed.
8080
81+
If this parameter is specified the installed product version will be compared
82+
against the product version of the setup executable. If the installed product
83+
version is lower than the product version of the setup executable, the setup
84+
will perform an upgrade. If the installed product version is equal to or higher
85+
than the product version of the setup executable, no upgrade will be performed.
86+
8187
.PARAMETER Timeout
8288
Specifies how long to wait for the setup process to finish. Default value
8389
is `7200` seconds (2 hours). If the setup process does not finish before
@@ -345,6 +351,9 @@ class SqlRSSetup : ResourceBase
345351
ExcludeName = @(
346352
# Remove mandatory property that is not a command parameter.
347353
'Action'
354+
355+
# Remove optional property that is not a command parameter.
356+
'VersionUpgrade'
348357
)
349358
}
350359

0 commit comments

Comments
 (0)