Skip to content
⌘ NSIS Forum Archive

Steam User Path / Game Path Page

1 posts

Der_Synth#

Steam User Path / Game Path Page

Iv'e created a Steam User selection Page for my installer and i thought that some one else might have use for it.

Usage:

!define GAME "counter-strike source"
!include steamUserSelect.nsh

!insertmacro SteamUserSearch
This will show you this page

After the page has completed you can access thease Vars

$steamPath == Path To Steam Installation Dir
$steamUser == Selected Steam User
$steamUsers == Int Containing #Accounts With The Selected GAME

So if you use !define GAME "counter-strike source", than the path to the game will be
"$steamPath\SteamApps\$steamUser\${GAME}\"