
If CreateProcess fails, then ShellExecuteEx is called. If that value is not present or 0, then it will call CreateProcess on the processXX/commandXX values.
INSTALLATION SOURCE REGISTRY KEY INSTALL
To determine whether the program needs to run, the install script looks at the keyname (as a registry DWORD value) in the HasRunKey value. Run ProcessThe Run Process command allows your application to run programs before the user first launches your game. To set the default value for a registry key, you should enter the key name as (Default). Any keynames and values stored in the "string" or "dword" keys will be the registry names and values that get set. Under that key, specify either a "string" or "dword" key.
INSTALLATION SOURCE REGISTRY KEY FULL
Any key under the "Registry" keyname will be treated as the full path to the registry key you want to create or open. RegistryThe Registry command allows you to create or modify string and dword registry values. When a Steam user is starting a game, Steam will scan all of the mounted depots for that game for any file with the install script flag and run them. You can see this in the generated manifest.txt file as a 100 in the Flags field. The install script is marked in the depot manifest.This may cause your local copy of the install script to be modified. This signature is validated by Steam before executing any install script, and is required to perform certain operations, including writing to the HKLM hive on Windows. The install script is uploaded to Steam and cryptographically signed.You can see an example on the Uploading to Steam - Advanced Build Scripts page.ĭuring the build process, two things take place: Second, mark an install script using the InstallScript directive in a depot build script.

Ensure that the file resides within the defined ContentRoot of the App or Depot. Integrating Install Scripts into Your BuildFirst, the install script file must be part of a depot that is installed with the build.

Note: All keynames and values can use escape sequences, so if you use a \, make it a \\.

The second keyname after the root describes what kind of action will take place. "Process 1" "%INSTALLDIR%\\DirectX\\DXSETUP.exe" "HasRunKey" "HKEY_LOCAL_MACHINE\\Software\\Valve\\Steam\\Apps\\480"
