diff options
author | Simon Clitherow <aphex@nildram.co.uk> | 2005-11-02 00:11:55 +0300 |
---|---|---|
committer | Simon Clitherow <aphex@nildram.co.uk> | 2005-11-02 00:11:55 +0300 |
commit | 4cf3c94958aeecded449078badf42599ea6fca79 (patch) | |
tree | 541e6383e8b747d390e1320f3bd40a0f7b1a875c /release/windows | |
parent | 0883f12a6b0a6b87bbeb0596ad0a00b6bbfd9c89 (diff) |
updated scons win32 installer script - uninstalling gives option to keep or remove
.blender/scripts folder.
Diffstat (limited to 'release/windows')
-rw-r--r-- | release/windows/installer/00.sconsblender.nsi | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/release/windows/installer/00.sconsblender.nsi b/release/windows/installer/00.sconsblender.nsi index 551eaad998d..70c2a845c12 100644 --- a/release/windows/installer/00.sconsblender.nsi +++ b/release/windows/installer/00.sconsblender.nsi @@ -63,6 +63,8 @@ ComponentText "This will install Blender VERSION on your computer." DirText "Use the field below to specify the folder where you want Blender to be copied to. To specify a different folder, type a new name or use the Browse button to select an existing folder." +SilentUnInstall normal + ; GetWindowsVersion ; ; Based on Yazno's function, http://yazno.tripod.com/powerpimpit/ @@ -250,7 +252,6 @@ Section "Blender-VERSION (required)" SecCopyUI [SCRIPTDATACONTS] SetOutPath $BLENDERHOME\.blender\scripts\bpydata\config [SCRIPTDATACFGCONTS] - SetOutPath $BLENDERHOME\plugins\include [PLUGINCONTS] @@ -311,11 +312,13 @@ Section "Uninstall" Delete "$SMPROGRAMS\Blender Foundation\Blender\*.*" Delete "$DESKTOP\Blender.lnk" ; remove directories used. - RMDir /r $INSTDIR\.blender\locale + RMDir /r $INSTDIR\.blender\locale + MessageBox MB_YESNO "Erase .blender\scripts folder? (ALL contents will be erased!)" IDNO Next RMDir /r $INSTDIR\.blender\scripts RMDir /r $INSTDIR\.blender\scripts\bpymodules RMDir /r $INSTDIR\.blender\scripts\bpydata RMDir /r $INSTDIR\.blender\scripts\bpydata\config +Next: RMDir /r $INSTDIR\plugins\include RMDir /r $INSTDIR\plugins RMDir $INSTDIR\.blender |