fix(windows installer): old installers didn't uninstall first.
now they do so ensure shortcuts stay selected by default Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
parent
cea285f5f5
commit
b67844e74c
@ -470,7 +470,6 @@ Function .onInit
|
|||||||
${GetParameters} $R0
|
${GetParameters} $R0
|
||||||
${GetOptions} $R0 "/NoShortcuts" $R1
|
${GetOptions} $R0 "/NoShortcuts" $R1
|
||||||
${IfNot} ${Errors}
|
${IfNot} ${Errors}
|
||||||
${OrIf} ${FileExists} "$InstDir\@Launcher_APP_BINARY_NAME@.exe"
|
|
||||||
!insertmacro UnselectSection ${SM_SHORTCUTS}
|
!insertmacro UnselectSection ${SM_SHORTCUTS}
|
||||||
!insertmacro UnselectSection ${DESKTOP_SHORTCUTS}
|
!insertmacro UnselectSection ${DESKTOP_SHORTCUTS}
|
||||||
${EndIf}
|
${EndIf}
|
||||||
|
Loading…
Reference in New Issue
Block a user