From 7df4dede9037ee0eb888fa8d95105d6e687f16ba Mon Sep 17 00:00:00 2001 From: Eric Fontana Date: Mon, 13 Apr 2015 11:19:37 -0400 Subject: [PATCH] Final tweak for embedded chocolatey --- chocolateyInstall.ps1.template | 2 +- chocolateyUninstall.ps1.guid | 2 +- chocolateyUninstall.ps1.template | 2 +- chocolateyUninstall.ps1.template.orig | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/chocolateyInstall.ps1.template b/chocolateyInstall.ps1.template index 5035692..65bc759 100644 --- a/chocolateyInstall.ps1.template +++ b/chocolateyInstall.ps1.template @@ -2,7 +2,7 @@ $fileType = 'msi' $silentArgs = '/quiet' $scriptPath = $(Split-Path $MyInvocation.MyCommand.Path) -$fileFullPath = Join-Path $scriptPath 'TimberWinR-${version}.msi' +$fileFullPath = Join-Path $scriptPath 'TimberWinR-${version}.0.msi' try { Install-ChocolateyInstallPackage $packageName $fileType $silentArgs $fileFullPath } catch { diff --git a/chocolateyUninstall.ps1.guid b/chocolateyUninstall.ps1.guid index 9f488ba..db5e1e5 100644 --- a/chocolateyUninstall.ps1.guid +++ b/chocolateyUninstall.ps1.guid @@ -1,7 +1,7 @@ $packageName = 'TimberWinR-${version}' # arbitrary name for the package, used in messages $installerType = 'msi' #only one of these: exe, msi, msu $scriptPath = $(Split-Path $MyInvocation.MyCommand.Path) -$fileFullPath = Join-Path $scriptPath 'TimberWinR-${version}.msi' +$fileFullPath = Join-Path $scriptPath 'TimberWinR-${version}.0.msi' $silentArgs = '${PROJECTGUID} /quiet' $validExitCodes = @(0) #please insert other valid exit codes here, exit codes for ms http://msdn.microsoft.com/en-us/library/aa368542(VS.85).aspx UnInstall-ChocolateyPackage "$packageName" "$installerType" "$silentArgs" "fileFullPath" -validExitCodes $validExitCodes diff --git a/chocolateyUninstall.ps1.template b/chocolateyUninstall.ps1.template index b82bc12..0b821b9 100644 --- a/chocolateyUninstall.ps1.template +++ b/chocolateyUninstall.ps1.template @@ -1,7 +1,7 @@ $packageName = 'TimberWinR-${version}' # arbitrary name for the package, used in messages $installerType = 'msi' #only one of these: exe, msi, msu $scriptPath = $(Split-Path $MyInvocation.MyCommand.Path) -$fileFullPath = Join-Path $scriptPath 'TimberWinR-${version}.msi' +$fileFullPath = Join-Path $scriptPath 'TimberWinR-${version}.0.msi' $silentArgs = '${PROJECTGUID} /quiet' $validExitCodes = @(0) #please insert other valid exit codes here, exit codes for ms http://msdn.microsoft.com/en-us/library/aa368542(VS.85).aspx UnInstall-ChocolateyPackage "$packageName" "$installerType" "$silentArgs" "fileFullPath" -validExitCodes $validExitCodes diff --git a/chocolateyUninstall.ps1.template.orig b/chocolateyUninstall.ps1.template.orig index c582a6a..cc42804 100644 --- a/chocolateyUninstall.ps1.template.orig +++ b/chocolateyUninstall.ps1.template.orig @@ -1,7 +1,7 @@ $packageName = 'TimberWinR-${version}' # arbitrary name for the package, used in messages $installerType = 'msi' #only one of these: exe, msi, msu $scriptPath = $(Split-Path $MyInvocation.MyCommand.Path) -$fileFullPath = Join-Path $scriptPath 'TimberWinR-${version}.msi' +$fileFullPath = Join-Path $scriptPath 'TimberWinR-${version}.0.msi' $silentArgs = '${PROJECTGUID} /quiet' $validExitCodes = @(0) #please insert other valid exit codes here, exit codes for ms http://msdn.microsoft.com/en-us/library/aa368542(VS.85).aspx UnInstall-ChocolateyPackage "$packageName" "$installerType" "$silentArgs" "fileFullPath" -validExitCodes $validExitCodes \ No newline at end of file