Skip to content

Commit

Permalink
(chocolateyGH-354) Fix template MSI Install Options
Browse files Browse the repository at this point in the history
The path to the log file must be double quoted and exist. Using
apostrophes causes the install to fail.
  • Loading branch information
ferventcoder committed Jul 25, 2015
1 parent 0e85b59 commit 050ce14
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class ChocolateyInstallTemplate
url64bit = $url64
#MSI
silentArgs = ""/qn /norestart /l*v '$env:TEMP\chocolatey\$packageName\install.log'"" # ALLUSERS=1 DISABLEDESKTOPSHORTCUT=1 ADDDESKTOPICON=0 ADDSTARTMENU=0
silentArgs = ""/qn /norestart /l*v `""$env:TEMP\chocolatey\$($packageName)\$($packageName).MsiInstall.log`"""" # ALLUSERS=1 DISABLEDESKTOPSHORTCUT=1 ADDDESKTOPICON=0 ADDSTARTMENU=0
validExitCodes= @(0, 3010, 1641)
#OTHERS
#silentArgs ='[[SilentArgs]]' # ""/s /S /q /Q /quiet /silent /SILENT /VERYSILENT -s"" # try any of these to get the silent installer
Expand Down

0 comments on commit 050ce14

Please sign in to comment.