refacotr: clean up custom nsis template
This commit is contained in:
parent
d3a5ff9a74
commit
14abd6068a
@ -506,10 +506,6 @@ Function .onInit
|
|||||||
Delete "$INSTDIR\*.*"
|
Delete "$INSTDIR\*.*"
|
||||||
${EndIf}
|
${EndIf}
|
||||||
|
|
||||||
; Remove old Jan from %LOCALAPPDATA%\${PRODUCTNAME} if present
|
|
||||||
${If} ${FileExists} "$LOCALAPPDATA\Jan\uninstall.exe"
|
|
||||||
ExecWait '"$LOCALAPPDATA\Jan\uninstall.exe" /S' $0
|
|
||||||
|
|
||||||
!if "${INSTALLMODE}" == "both"
|
!if "${INSTALLMODE}" == "both"
|
||||||
!insertmacro MULTIUSER_INIT
|
!insertmacro MULTIUSER_INIT
|
||||||
!endif
|
!endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user