[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [33908] trunk/blender/release/windows/ installer/00.sconsblender.nsi: By default install to the user profile instead of Program Files.

Nathan Letwory nathan at letworyinteractive.com
Mon Dec 27 13:42:51 CET 2010


Revision: 33908
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=33908
Author:   jesterking
Date:     2010-12-27 13:42:51 +0100 (Mon, 27 Dec 2010)

Log Message:
-----------
By default install to the user profile instead of Program Files. This because right now the installer
runs in user mode, not elevated to admin. Otherwise users can't install to the default which used to
be Program Files, which causes more problems than necessary. Although unconventional location, probably
currently a better solution.

Network admins etc. can override install location on command-line. NSIS docs tell how.

Modified Paths:
--------------
    trunk/blender/release/windows/installer/00.sconsblender.nsi

Modified: trunk/blender/release/windows/installer/00.sconsblender.nsi
===================================================================
--- trunk/blender/release/windows/installer/00.sconsblender.nsi	2010-12-27 12:20:56 UTC (rev 33907)
+++ trunk/blender/release/windows/installer/00.sconsblender.nsi	2010-12-27 12:42:51 UTC (rev 33908)
@@ -70,7 +70,10 @@
 
 Caption "Blender [VERSION] Installer"
 OutFile "[DISTDIR]\..\blender-[VERSION]-windows[BITNESS].exe"
-InstallDir "$PROGRAMFILES[BITNESS]\Blender Foundation\Blender"
+;InstallDir "$PROGRAMFILES[BITNESS]\Blender Foundation\Blender"
+; Install to user profile dir. While it is non-standard, it allows
+; users to install without having to have the installer run in elevated mode.
+InstallDir "$PROFILE\Blender Foundation\Blender"
 
 BrandingText "Blender Foundation | http://www.blender.org"
 ComponentText "This will install Blender [VERSION] on your computer."





More information about the Bf-blender-cvs mailing list