summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4ac5ec8)
raw | patch | inline | side by side (parent: 4ac5ec8)
author | theadib <theadib@users.sourceforge.net> | |
Mon, 22 May 2006 21:20:29 +0000 (21:20 +0000) | ||
committer | theadib <theadib@users.sourceforge.net> | |
Mon, 22 May 2006 21:20:29 +0000 (21:20 +0000) |
packaging/win32/inkscape.nsi | patch | blob | history |
index e027f66a6d5a77c43734fff956dbe898d02c3877..b8474f310bd379eed56a5c0ea034b8fa8569454f 100644 (file)
!insertmacro Language zh_TW zh_TW
SectionEnd
+SectionGroupEnd
+
+
Section -FinalizeInstallation
StrCmp $MultiUser "1" "" SingleUser
DetailPrint "admin mode, registry root will be HKLM"
IfErrors 0 +2
DetailPrint "fatal: failed to write to registry un-installation info"
SectionEnd
-
-SectionGroupEnd
; Last the Descriptions
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
DeleteRegKey HKCR ".svgz"
+ SetShellVarContext all
DetailPrint "removing product regkey"
DeleteRegKey SHCTX "${PRODUCT_DIR_REGKEY}"
DetailPrint "removing uninstall info"
DeleteRegKey SHCTX "${PRODUCT_UNINST_KEY}"
+ DetailPrint "removing shortcuts"
+ Delete "$DESKTOP\Inkscape.lnk"
+ Delete "$QUICKLAUNCH\Inkscape.lnk"
+ Delete "$SMPROGRAMS\Inkscape\Uninstall Inkscape.lnk"
+ Delete "$SMPROGRAMS\Inkscape\Inkscape.lnk"
+ RMDir "$SMPROGRAMS\Inkscape"
+ SetShellVarContext current
+ DetailPrint "removing product regkey"
+ DeleteRegKey SHCTX "${PRODUCT_DIR_REGKEY}"
+ DetailPrint "removing uninstall info"
+ DeleteRegKey SHCTX "${PRODUCT_UNINST_KEY}"
DetailPrint "removing shortcuts"
Delete "$DESKTOP\Inkscape.lnk"
Delete "$QUICKLAUNCH\Inkscape.lnk"