Final tweak for embedded chocolatey
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
$fileType = 'msi'
|
$fileType = 'msi'
|
||||||
$silentArgs = '/quiet'
|
$silentArgs = '/quiet'
|
||||||
$scriptPath = $(Split-Path $MyInvocation.MyCommand.Path)
|
$scriptPath = $(Split-Path $MyInvocation.MyCommand.Path)
|
||||||
$fileFullPath = Join-Path $scriptPath 'TimberWinR-${version}.msi'
|
$fileFullPath = Join-Path $scriptPath 'TimberWinR-${version}.0.msi'
|
||||||
try {
|
try {
|
||||||
Install-ChocolateyInstallPackage $packageName $fileType $silentArgs $fileFullPath
|
Install-ChocolateyInstallPackage $packageName $fileType $silentArgs $fileFullPath
|
||||||
} catch {
|
} catch {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
$packageName = 'TimberWinR-${version}' # arbitrary name for the package, used in messages
|
$packageName = 'TimberWinR-${version}' # arbitrary name for the package, used in messages
|
||||||
$installerType = 'msi' #only one of these: exe, msi, msu
|
$installerType = 'msi' #only one of these: exe, msi, msu
|
||||||
$scriptPath = $(Split-Path $MyInvocation.MyCommand.Path)
|
$scriptPath = $(Split-Path $MyInvocation.MyCommand.Path)
|
||||||
$fileFullPath = Join-Path $scriptPath 'TimberWinR-${version}.msi'
|
$fileFullPath = Join-Path $scriptPath 'TimberWinR-${version}.0.msi'
|
||||||
$silentArgs = '${PROJECTGUID} /quiet'
|
$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
|
$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
|
UnInstall-ChocolateyPackage "$packageName" "$installerType" "$silentArgs" "fileFullPath" -validExitCodes $validExitCodes
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
$packageName = 'TimberWinR-${version}' # arbitrary name for the package, used in messages
|
$packageName = 'TimberWinR-${version}' # arbitrary name for the package, used in messages
|
||||||
$installerType = 'msi' #only one of these: exe, msi, msu
|
$installerType = 'msi' #only one of these: exe, msi, msu
|
||||||
$scriptPath = $(Split-Path $MyInvocation.MyCommand.Path)
|
$scriptPath = $(Split-Path $MyInvocation.MyCommand.Path)
|
||||||
$fileFullPath = Join-Path $scriptPath 'TimberWinR-${version}.msi'
|
$fileFullPath = Join-Path $scriptPath 'TimberWinR-${version}.0.msi'
|
||||||
$silentArgs = '${PROJECTGUID} /quiet'
|
$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
|
$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
|
UnInstall-ChocolateyPackage "$packageName" "$installerType" "$silentArgs" "fileFullPath" -validExitCodes $validExitCodes
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
$packageName = 'TimberWinR-${version}' # arbitrary name for the package, used in messages
|
$packageName = 'TimberWinR-${version}' # arbitrary name for the package, used in messages
|
||||||
$installerType = 'msi' #only one of these: exe, msi, msu
|
$installerType = 'msi' #only one of these: exe, msi, msu
|
||||||
$scriptPath = $(Split-Path $MyInvocation.MyCommand.Path)
|
$scriptPath = $(Split-Path $MyInvocation.MyCommand.Path)
|
||||||
$fileFullPath = Join-Path $scriptPath 'TimberWinR-${version}.msi'
|
$fileFullPath = Join-Path $scriptPath 'TimberWinR-${version}.0.msi'
|
||||||
$silentArgs = '${PROJECTGUID} /quiet'
|
$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
|
$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
|
UnInstall-ChocolateyPackage "$packageName" "$installerType" "$silentArgs" "fileFullPath" -validExitCodes $validExitCodes
|
||||||
Reference in New Issue
Block a user