diff --git a/TimberWix/Product.wxs b/TimberWix/Product.wxs index c6add2f..f625ccf 100644 --- a/TimberWix/Product.wxs +++ b/TimberWix/Product.wxs @@ -56,6 +56,7 @@ + diff --git a/chocolateyUninstall.ps1.template b/chocolateyUninstall.ps1.template index f41e7e6..7659c85 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 $url = 'http://www.ericfontana.com/TimberWinR/TimberWinR-${version}.0.msi' # download url -$silentArgs = '{86CA5678-4687-4352-99EB-783CDB7C8D82} /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 UnInstall-ChocolateyPackage "$packageName" "$installerType" "$silentArgs" "$url" -validExitCodes $validExitCodes