=== Windows Installer ===
authorNathan Letwory <nathan@letworyinteractive.com>
Tue, 6 Jul 2010 16:39:40 +0000 (16:39 +0000)
committerNathan Letwory <nathan@letworyinteractive.com>
Tue, 6 Jul 2010 16:39:40 +0000 (16:39 +0000)
Make sure for win64 version of Blender that we set default install dir to $PROGRAMFILES64
and keep win32 version to $PROGRAMFILES32.

Reported on Graphicall.org by Robroy

release/windows/installer/00.sconsblender.nsi

index 3b10477bffe1e884e588a6621a6e2524f9921968..4f31e17d004e93af473826cdbda4acb2ea0581f5 100644 (file)
@@ -66,7 +66,7 @@ UninstallIcon "[RELDIR]\00.installer.ico"
 \r
 Caption "Blender [VERSION] Installer"\r
 OutFile "[DISTDIR]\..\blender-[VERSION]-windows[BITNESS].exe"\r
-InstallDir "$PROGRAMFILES\Blender Foundation\Blender"\r
+InstallDir "$PROGRAMFILES[BITNESS]\Blender Foundation\Blender"\r
 \r
 BrandingText "Blender Foundation | http://www.blender.org"\r
 ComponentText "This will install Blender [VERSION] on your computer."\r