Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Clitherow <aphex@nildram.co.uk>2004-08-02 01:13:41 +0400
committerSimon Clitherow <aphex@nildram.co.uk>2004-08-02 01:13:41 +0400
commit2a749931ba3ac9470bfd3fa7545a8df4bb587db4 (patch)
tree919be47c576f25d0d822906c4208760628d4875c
parentf1fdc6d608d7c86daee516e9bdfc74f033f1ca9d (diff)
- added missing py scripts to the non-sconsered NSIS installer script
- uninstall files now done semi-automatic for 'scons wininst'
-rw-r--r--SConstruct9
-rw-r--r--release/windows/installer/00.blender.nsi9
-rw-r--r--release/windows/installer/00.sconsblender.nsi16
3 files changed, 20 insertions, 14 deletions
diff --git a/SConstruct b/SConstruct
index 7491d6114e7..79d45f3c653 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1492,6 +1492,15 @@ def donsis(env, target, source):
rootstring += "\n\n"
nsis_cnt = string.replace(nsis_cnt, "[ROOTDIRCONTS]", rootstring)
+ # do delete items
+ delrootlist = []
+ for rootitem in rootdir:
+ if os.path.isdir(startdir + "\\dist\\" + rootitem) == 0:
+ delrootlist.append("Delete $INSTDIR\\" + rootitem)
+ delrootstring = string.join(delrootlist, "\n ")
+ delrootstring += "\n"
+ nsis_cnt = string.replace(nsis_cnt, "[DELROOTDIRCONTS]", delrootstring)
+
# do scripts
scriptlist = []
scriptdir = os.listdir(startdir + "\\dist\\.blender\\scripts")
diff --git a/release/windows/installer/00.blender.nsi b/release/windows/installer/00.blender.nsi
index 10b13f1979d..2ee972b97b9 100644
--- a/release/windows/installer/00.blender.nsi
+++ b/release/windows/installer/00.blender.nsi
@@ -268,6 +268,15 @@ Section "Blender-VERSION (required)" SecCopyUI
File DISTDIR\.blender\scripts\disp_paint.py
File DISTDIR\.blender\scripts\doc_browser.py
File DISTDIR\.blender\scripts\fixfromarmature.py
+ File DISTDIR\.blender\scripts\help_getting_started.py
+ File DISTDIR\.blender\scripts\help_manual.py
+ File DISTDIR\.blender\scripts\help_py_reference.py
+ File DISTDIR\.blender\scripts\help_release_notes.py
+ File DISTDIR\.blender\scripts\help_tutorials.py
+ File DISTDIR\.blender\scripts\help_web_blender.py
+ File DISTDIR\.blender\scripts\help_web_devcomm.py
+ File DISTDIR\.blender\scripts\help_web_eshop.py
+ File DISTDIR\.blender\scripts\help_web_usercomm.py
File DISTDIR\.blender\scripts\hotkeys.py
File DISTDIR\.blender\scripts\kloputils.py
File DISTDIR\.blender\scripts\knife.py
diff --git a/release/windows/installer/00.sconsblender.nsi b/release/windows/installer/00.sconsblender.nsi
index 68bb16a7f57..72c87c5ad37 100644
--- a/release/windows/installer/00.sconsblender.nsi
+++ b/release/windows/installer/00.sconsblender.nsi
@@ -296,20 +296,8 @@ Section "Uninstall"
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Blender"
DeleteRegKey HKLM SOFTWARE\BlenderFoundation
; remove files
- Delete $INSTDIR\blender.exe
- Delete $INSTDIR\blenderplayer.exe
- Delete $INSTDIR\python23.dll
- Delete $INSTDIR\python23.zip
- Delete $INSTDIR\sdl.dll
- Delete $INSTDIR\gnu_gettext.dll
- Delete $INSTDIR\Copyright.txt
- Delete $INSTDIR\Blender.html
- Delete $INSTDIR\GPL-license.txt
- Delete $INSTDIR\python-license.txt
- Delete $INSTDIR\Release_SHORTVERS.txt
- Delete $INSTDIR\Help.url
- Delete $INSTDIR\uninstall.exe
- Delete $INSTDIR\zlib.pyd
+ [DELROOTDIRCONTS]
+
Delete $INSTDIR\.blender\.bfont.ttf
Delete $INSTDIR\.blender\.Blanguages
; remove shortcuts, if any.