Skip to content

Commit

Permalink
fix(install): Allow $version to be used in uninstaller scripts (#3592)
Browse files Browse the repository at this point in the history
  • Loading branch information
niheaven authored and r15ch13 committed Aug 16, 2019
1 parent 7879d27 commit 96fef58
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -744,6 +744,7 @@ function install_prog($fname, $dir, $installer, $global) {
function run_uninstaller($manifest, $architecture, $dir) {
$msi = msi $manifest $architecture
$uninstaller = uninstaller $manifest $architecture
$version = $manifest.version
if($uninstaller.script) {
write-output "Running uninstaller script..."
Invoke-Expression (@($uninstaller.script) -join "`r`n")
Expand Down

0 comments on commit 96fef58

Please sign in to comment.