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

unicode - Are email addresses allowed to contain non-alphanumeric characters? -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

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