From 922201dfe891ebb8691b322f581f8e042268c168 Mon Sep 17 00:00:00 2001 From: Jeff Hicks Date: Thu, 18 Jul 2019 09:38:41 -0400 Subject: [PATCH] v1.3.1 --- Changelog.md | 4 ++++ PSReleaseTools.psd1 | Bin 7702 -> 7702 bytes README.md | 4 ++-- functions/private.ps1 | 9 +-------- 4 files changed, 7 insertions(+), 10 deletions(-) diff --git a/Changelog.md b/Changelog.md index 1c7357c..aac0924 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,5 +1,9 @@ # Change Log for PSReleaseTools +## 1.3.1 + ++ Fixed installation issue with spaces in filenames (Issue #13) + ## v1.3.0 + Added online help links diff --git a/PSReleaseTools.psd1 b/PSReleaseTools.psd1 index ed12e0b68c7856ef5ead4ecc37f2dded82a3be4e..f107583f03d6e0137cddb95f2c3e98d0dd745693 100644 GIT binary patch delta 14 VcmbPcGtFkhAx1{S&4(F-WdJK71uy^r delta 14 VcmbPcGtFkhAx1`n&4(F-WdJK11up;q diff --git a/README.md b/README.md index 9732c5d..587d91b 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ Install-PSPreview -mode passive [Install-PSCore](/Docs/Install-PSCore.md) will do the same thing but for the latest stable release. - ![install-pscore](/images/install-pscore.png) + ![Install-PSCore](/images/install-pscore.png) The functionality of these commands could have been combined, but I decided to leave this as separate commands so there is no confusion about what you are installing. @@ -95,4 +95,4 @@ Install-Module PSReleaseTools -scope currentuser I have a few other ideas for commands I might add to this module. If you have suggestions or encounter problems, please post an issue in the GitHub repository. -Last updated 2019-07-12 12:56:02Z UTC +Last updated 2019-07-18 13:35:25Z UTC diff --git a/functions/private.ps1 b/functions/private.ps1 index 2700576..8279943 100644 --- a/functions/private.ps1 +++ b/functions/private.ps1 @@ -53,14 +53,8 @@ Function InstallMsi { ) Write-Verbose "[$($myinvocation.mycommand)] Creating install command for $Path" - $cmd = "$path" - if ($Mode -eq "quiet") { - $cmd += " /quiet" - } - elseif ($Mode -eq "Passive") { - $cmd += " /passive" - } + $cmd = "Start-Process -filepath '$Path' -argumentlist '/$mode'" Write-Verbose "[$($myinvocation.mycommand)] Using $Mode mode" $sb = [scriptblock]::Create($cmd) @@ -68,5 +62,4 @@ Function InstallMsi { Invoke-Command -scriptblock $sb } - } #close installmsi \ No newline at end of file