Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/gcompris-installer.nsi.in
diff options
context:
space:
mode:
authorBruno Coudoin <bcoudoin@src.gnome.org>2007-04-14 20:42:57 (GMT)
committer Bruno Coudoin <bcoudoin@src.gnome.org>2007-04-14 20:42:57 (GMT)
commit6ffef7abe6b60904f5230f96b297d0ea1f542a1e (patch)
tree69f3074d1e08936dc39841c1d0234bea0bc9c19e /gcompris-installer.nsi.in
parent8f51a4b4bc9ff38f504e68a9aa22b22e8de4806d (diff)
Added admin icon on windows.
Added Occitan support svn path=/trunk/; revision=2594
Diffstat (limited to 'gcompris-installer.nsi.in')
-rw-r--r--gcompris-installer.nsi.in12
1 files changed, 10 insertions, 2 deletions
diff --git a/gcompris-installer.nsi.in b/gcompris-installer.nsi.in
index d89b7a9..e15b2d1 100644
--- a/gcompris-installer.nsi.in
+++ b/gcompris-installer.nsi.in
@@ -25,8 +25,8 @@ OutFile "gcompris-${GCOMPRIS_VERSION}.exe"
UninstallIcon ".\gcompris-uninstal.ico"
SetCompressor lzma
-ShowInstDetails show
-ShowUninstDetails show
+ShowInstDetails hide
+ShowUninstDetails hide
SetDateSave on
; $name and $INSTDIR are set in .onInit function..
@@ -321,6 +321,8 @@ Section $(GCOMPRIS_SECTION_TITLE) SecGcompris
CreateDirectory "$SMPROGRAMS\Gcompris"
CreateShortCut "$SMPROGRAMS\Gcompris\Gcompris.lnk" "$INSTDIR\gcompris.exe"
CreateShortCut "$DESKTOP\Gcompris.lnk" "$INSTDIR\gcompris.exe"
+ CreateShortCut "$SMPROGRAMS\Gcompris\Gcompris Admin.lnk" "$INSTDIR\gcompris.exe" `-a` "$INSTDIR\gcompris.exe" 1
+ CreateShortCut "$DESKTOP\Gcompris Admin.lnk" "$INSTDIR\gcompris.exe" `-a` "$INSTDIR\gcompris.exe" 1
SetOutPath "$INSTDIR"
; If we don't have install rights.. we're done
@@ -395,6 +397,7 @@ Section Uninstall
Delete "$INSTDIR\_gtk.pyd"
Delete "$INSTDIR\_socket.pyd"
Delete "$INSTDIR\_ssl.pyd"
+ Delete "$INSTDIR\_sqlite.pyd"
Delete "$INSTDIR\_tkinter.pyd"
Delete "$INSTDIR\atk.pyd"
Delete "$INSTDIR\bz2.pyd"
@@ -427,17 +430,21 @@ Section Uninstall
Delete "$INSTDIR\libpng13.dll"
Delete "$INSTDIR\libreadline.dll"
Delete "$INSTDIR\libxml2.dll"
+ Delete "$INSTDIR\msvcr71.dll"
Delete "$INSTDIR\pango.pyd"
Delete "$INSTDIR\pangocairo.pyd"
Delete "$INSTDIR\pthreadGC.dll"
+ Delete "$INSTDIR\python24.dll"
Delete "$INSTDIR\python24.zip"
Delete "$INSTDIR\select.pyd"
Delete "$INSTDIR\setup.py"
+ Delete "$INSTDIR\sqlite3.dll"
Delete "$INSTDIR\unicodedata.pyd"
Delete "$INSTDIR\xmlparse.dll"
Delete "$INSTDIR\xmltok.dll"
Delete "$INSTDIR\zlib.pyd"
Delete "$INSTDIR\zlib1.dll"
+ Delete "$INSTDIR\README.mingw"
;Try to remove Gcompris install dir .. if empty
RMDir "$INSTDIR"
@@ -445,6 +452,7 @@ Section Uninstall
; Shortcuts..
RMDir /r "$SMPROGRAMS\Gcompris"
Delete "$DESKTOP\Gcompris.lnk"
+ Delete "$DESKTOP\Gcompris Admin.lnk"
Goto done