diff --git a/appveyor.yml b/appveyor.yml index 4d217f2..e885f1c 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -11,7 +11,7 @@ assembly_info: assembly_informational_version: $(VERSION_FROM_BRANCH) before_build: - ps: >- mkdir tools NuGet.exe restore TimberWinR.sln build: - verbosity: minimal + verbosity: normal after_build: - ps: >- cat chocolateyInstall.ps1.template|%{$_-replace "\$\{version\}",$env:VERSION_FROM_BRANCH} > tools\chocolateyInstall.ps1 diff --git a/chocolateyInstall.ps1.template b/chocolateyInstall.ps1.template index 65bc759..5035692 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}.0.msi' +$fileFullPath = Join-Path $scriptPath 'TimberWinR-${version}.msi' try { Install-ChocolateyInstallPackage $packageName $fileType $silentArgs $fileFullPath } catch { diff --git a/chocolateyUninstall.ps1.guid b/chocolateyUninstall.ps1.guid index db5e1e5..9f488ba 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}.0.msi' +$fileFullPath = Join-Path $scriptPath 'TimberWinR-${version}.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 186357c..0d71876 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}.0.msi' +$fileFullPath = Join-Path $scriptPath 'TimberWinR-${version}.msi' $silentArgs = '{E001D138-669B-4604-88C5-02C756461C15} /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 cc42804..c582a6a 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}.0.msi' +$fileFullPath = Join-Path $scriptPath 'TimberWinR-${version}.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