Skip to content

Commit 389d5e2

Browse files
committed
Adjust file size and clean up in uninstall
1 parent 9f8eb07 commit 389d5e2

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

setup/Ninja.nsi

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ Section -pre
239239
WriteRegExpandStr HKLM $R0 "UninstallString" "$INSTDIR\${APP_FILE}-uninst.exe"
240240
WriteRegStr HKLM $R0 "URLInfoAbout" "${APP_LINK}"
241241
WriteRegStr HKLM $R0 "HelpLink" "${APP_HELP}"
242-
WriteRegDWORD HKLM $R0 "EstimatedSize" 1800
242+
WriteRegDWORD HKLM $R0 "EstimatedSize" 80
243243

244244
Pop $R0
245245
SectionEnd
@@ -501,12 +501,6 @@ Section !un.$(NameSecAppFiles) unSecAppFiles
501501
IfFileExists "Ninja.dll" "" +2
502502
Delete "Ninja.dll"
503503

504-
; Remove temporary VDF if present
505-
StrCmp $OUTDIR "$INSTDIR\Data" +2
506-
SetOutPath "$INSTDIR\Data"
507-
IfFileExists "_delete_me.vdf" "" +2
508-
Delete "_delete_me.vdf"
509-
510504
; Start menu entries
511505
SetShellVarContext current
512506
IfFileExists "$SMPROGRAMS\Gothic\$(NameRemoveApp).lnk" "" +2

0 commit comments

Comments
 (0)