Skip to content

Commit 7df4ded

Browse files
author
Eric Fontana
committed
Final tweak for embedded chocolatey
1 parent d950975 commit 7df4ded

4 files changed

+4
-4
lines changed

chocolateyInstall.ps1.template

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
$fileType = 'msi'
33
$silentArgs = '/quiet'
44
$scriptPath = $(Split-Path $MyInvocation.MyCommand.Path)
5-
$fileFullPath = Join-Path $scriptPath 'TimberWinR-${version}.msi'
5+
$fileFullPath = Join-Path $scriptPath 'TimberWinR-${version}.0.msi'
66
try {
77
Install-ChocolateyInstallPackage $packageName $fileType $silentArgs $fileFullPath
88
} catch {

chocolateyUninstall.ps1.guid

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
$packageName = 'TimberWinR-${version}' # arbitrary name for the package, used in messages
22
$installerType = 'msi' #only one of these: exe, msi, msu
33
$scriptPath = $(Split-Path $MyInvocation.MyCommand.Path)
4-
$fileFullPath = Join-Path $scriptPath 'TimberWinR-${version}.msi'
4+
$fileFullPath = Join-Path $scriptPath 'TimberWinR-${version}.0.msi'
55
$silentArgs = '${PROJECTGUID} /quiet'
66
$validExitCodes = @(0) #please insert other valid exit codes here, exit codes for ms http://msdn.microsoft.com/en-us/library/aa368542(VS.85).aspx
77
UnInstall-ChocolateyPackage "$packageName" "$installerType" "$silentArgs" "fileFullPath" -validExitCodes $validExitCodes

chocolateyUninstall.ps1.template

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
$packageName = 'TimberWinR-${version}' # arbitrary name for the package, used in messages
22
$installerType = 'msi' #only one of these: exe, msi, msu
33
$scriptPath = $(Split-Path $MyInvocation.MyCommand.Path)
4-
$fileFullPath = Join-Path $scriptPath 'TimberWinR-${version}.msi'
4+
$fileFullPath = Join-Path $scriptPath 'TimberWinR-${version}.0.msi'
55
$silentArgs = '${PROJECTGUID} /quiet'
66
$validExitCodes = @(0) #please insert other valid exit codes here, exit codes for ms http://msdn.microsoft.com/en-us/library/aa368542(VS.85).aspx
77
UnInstall-ChocolateyPackage "$packageName" "$installerType" "$silentArgs" "fileFullPath" -validExitCodes $validExitCodes

chocolateyUninstall.ps1.template.orig

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
$packageName = 'TimberWinR-${version}' # arbitrary name for the package, used in messages
22
$installerType = 'msi' #only one of these: exe, msi, msu
33
$scriptPath = $(Split-Path $MyInvocation.MyCommand.Path)
4-
$fileFullPath = Join-Path $scriptPath 'TimberWinR-${version}.msi'
4+
$fileFullPath = Join-Path $scriptPath 'TimberWinR-${version}.0.msi'
55
$silentArgs = '${PROJECTGUID} /quiet'
66
$validExitCodes = @(0) #please insert other valid exit codes here, exit codes for ms http://msdn.microsoft.com/en-us/library/aa368542(VS.85).aspx
77
UnInstall-ChocolateyPackage "$packageName" "$installerType" "$silentArgs" "fileFullPath" -validExitCodes $validExitCodes

0 commit comments

Comments
 (0)