windows - %HOMEDRIVE% vs. %ProgramFiles% vs. %HOMEPATH%: When should an Application choose which installation directory? -


some cross-platform packages ruby or qt prefer %homedrive% default installation path, google chrome uses in %homepath%. what's advantage , disadvantage of each choice? what's best choice simple private application (i.e. game, installation should work without administrator rights)? on other end: best choice industrial application (i.e. software controls industrial device, running on computer merely exists purpose)?

if want ensure app can installed without admin privs, install under %localappdata% - if want install system-wide, use %programfiles%. whatever do, don't use %programfiles(x86)%.


Comments

Popular posts from this blog

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

c++ - Convert big endian to little endian when reading from a binary file -