I want to make Steam backups installer. However, Steam allow to user make multiple library folders which makes installation difficult.
There are a few tasks that I want to perform.
- Installer should identify path from registry to identify where Steam is installed.
The resulting path from registry open file
X:\Steam\config\config.vdf
and read value of
"BaseInstallFolder_1"
,"BaseInstallFolder_2"
,"BaseInstallFolder_3"
and etc.Example of
config.vdf
:"NoSavePersonalInfo" "0" "MaxServerBrowserPingsPerMin" "0" "DownloadThrottleKbps" "0" "AllowDownloadsDuringGameplay" "0" "StreamingThrottleEnabled" "1" "AutoUpdateWindowStart" "-1" "AutoUpdateWindowEnd" "-1" "LastConfigstoreUploadTime" "1461497849" "BaseInstallFolder_1" "E:\\Steam_GAMES"
The resulting path or paths of the file
config.vdf
bring inDirEdit
If user have multiple paths to the folder in different locations then give option select through DirTreeView or Radiobuttons.
How it should look like:
I know how to identify Steam path
WizardForm.DirEdit.Text := ExpandConstant('{reg:HKLM\SOFTWARE\Valve\Steam,InstallPath|{pf}\Steam}')+ '\steamapps\common\gamename';
But it is difficult to perform other tasks
Thanks in advance for your help.