refacotr: clean up custom nsis template

This commit is contained in:
Minh141120 2025-10-03 12:29:04 +07:00
parent d3a5ff9a74
commit 14abd6068a

View File

@ -506,10 +506,6 @@ Function .onInit
Delete "$INSTDIR\*.*"
${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"
!insertmacro MULTIUSER_INIT
!endif