Bug 1500983 - Fix StartMenuShortcuts installer INI setting always being overridden. r=agashlin

Differential Revision: https://phabricator.services.mozilla.com/D9453

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Matt Howell 2018-10-22 23:32:58 +00:00
Родитель 3a29b5d888
Коммит 2ee98a6df4
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -5092,10 +5092,11 @@
; We still accept the plural version for backwards compatibility,
; but the singular version takes priority.
ClearErrors
ReadINIStr $R8 $R7 "Install" "StartMenuShortcut"
${If} $R8 == "false"
StrCpy $AddStartMenuSC "0"
${Else}
${ElseIfNot} ${Errors}
StrCpy $AddStartMenuSC "1"
${EndIf}