anchor.diff:      vars.UNAME_M = get_architecture()  -- can only do when installation was found
   end
   
  +local datapath
  +if vars.UNAME_M == "x86" then
  +	datapath = os.getenv("PROGRAMFILES") .. [[\LuaRocks]]
  +else
  +	-- our target interpreter is 64bit, so the tree (with binaries) should go into 64bit program files
  +	datapath = os.getenv("ProgramW6432") .. [[\LuaRocks]]
  +end
  +vars.SYSCONFDIR = vars.SYSCONDFIR or datapath
  +vars.ROCKS_TREE = vars.ROCKS_TREE or datapath..[[\systree]]
  +if SELFCONTAINED then
  +	vars.SYSCONFDIR = vars.PREFIX
  +	vars.ROCKS_TREE = vars.PREFIX..[[\systree]]
  +	REGISTRY = false
  +end
  +
   print(S[[
   
   Will configure LuaRocks with the following paths:
   LuaRocks       : $FULL_PREFIX
  +Config file    : $SYSCONFDIR\config.lua
  +Rocktree       : $ROCKS_TREE
  +
   Lua interpreter: $LUA_BINDIR\$LUA_INTERPRETER
       binaries   : $LUA_BINDIR
       libraries  : $LUA_LIBDIR
       includes   : $LUA_INCDIR
  -Binaries will be linked against: $LUA_LIBNAME with runtime $LUA_RUNTIME
  +
  +Binaries will be linked against: $LUA_LIBNAME with runtime $LUA_RUNTIME.dll
   System architecture detected as: $UNAME_M
   
   ]])
  
positive.code: /MW            Use mingw as build system instead of MSVC
  
  Other options:
  /CONFIG [dir]  Location where the config file should be installed.
                 Default is %PROGRAMDATA%\LuaRocks
  /FORCECONFIG   Use a single config location. Do not use the
                 LUAROCKS_CONFIG variable or the user's home directory.
                 Useful to avoid conflicts when LuaRocks
                 is embedded within an application.
  /F             Remove installation directory if it already exists.
  /R             Load registry information to register '.rockspec'
                 extension with LuaRocks commands (right-click).
  /NOADMIN       The installer requires admin priviledges. If not
                 available it will elevate a new process. Use this
  
negative.code: 	print("Admin priviledges available for installing")
  end
  
  vars.PREFIX = vars.PREFIX or os.getenv("PROGRAMFILES")..[[\LuaRocks]]
  vars.FULL_PREFIX = S"$PREFIX\\$VERSION"
  vars.BINDIR = vars.FULL_PREFIX
  vars.LIBDIR = vars.FULL_PREFIX
  