forked from bartvdbraak/blender
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.
This commit is contained in:
parent
bf1eff43cf
commit
b9a6331781
@ -70,7 +70,10 @@ UninstallIcon "[RELDIR]\00.installer.ico"
|
||||
|
||||
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."
|
||||
|
Loading…
Reference in New Issue
Block a user