Skip to content

Commit

Permalink
(GH-510) allow silentargs in template
Browse files Browse the repository at this point in the history
The SilentArgs argument can be specified with choco new, however the
template value was not in the install template. It was removed in
7b468c8. Add the template value back
in.
  • Loading branch information
ferventcoder committed Dec 23, 2015
1 parent 72e359d commit cb9d027
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class ChocolateyInstallTemplate
#file = $fileLocation
#MSI
silentArgs = ""/qn /norestart /l*v `""$env:TEMP\chocolatey\$($packageName)\$($packageName).MsiInstall.log`"""" # ALLUSERS=1 DISABLEDESKTOPSHORTCUT=1 ADDDESKTOPICON=0 ADDSTARTMENU=0
silentArgs = ""[[SilentArgs]]"" # ALLUSERS=1 DISABLEDESKTOPSHORTCUT=1 ADDDESKTOPICON=0 ADDSTARTMENU=0
validExitCodes= @(0, 3010, 1641)
#OTHERS
# Uncomment matching EXE type (sorted by most to least common)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public void set_normal()
InstallerType = "EXE_MSI_OR_MSU";
Url = "";
Url64 = "";
SilentArgs = "";
SilentArgs = @"/qn /norestart /l*v `""$env:TEMP\chocolatey\$($packageName)\$($packageName).MsiInstall.log`""";
AutomaticPackageNotesNuspec = "";
Checksum = "";
ChecksumType = "md5";
Expand Down

0 comments on commit cb9d027

Please sign in to comment.