Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Misc/App.h |
Include |
#include "Misc/App.h" |
Source |
/Engine/Source/Runtime/Core/Private/Misc/App.cpp |
static bool IsInstalled()
Checks whether this application has been installed.
Non-server desktop shipping builds are assumed to be installed.
Installed applications may not write to the folder in which they exist since they are likely in a system folder (like "Program Files" in windows). Instead, they should write to the OS-specific user folder FPlatformProcess::UserDir() or application data folder FPlatformProcess::ApplicationSettingsDir() User Access Control info for windows Vista and newer: http://en.wikipedia.org/wiki/User_Account_Control
To run an "installed" build without installing, use the -Installed command line parameter. To run a "non-installed" desktop shipping build, use the -NotInstalled command line parameter.
true if the application is installed, false otherwise.