Tutorials:Install Scripts: Difference between revisions

From LANCommander
No edit summary
No edit summary
Tag: Manual revert
 
(3 intermediate revisions by the same user not shown)
Line 10: Line 10:


'''''Note:''''' ''After the extraction of the game is complete and the install script has been executed, the LANCommander Playnite extension will automatically execute any [[Tutorials:Name Change Scripts|name change script]]''
'''''Note:''''' ''After the extraction of the game is complete and the install script has been executed, the LANCommander Playnite extension will automatically execute any [[Tutorials:Name Change Scripts|name change script]]''
For a list of documented install scripts, see [[:Category:Games With Install Scripts]].

Latest revision as of 23:05, 27 December 2023

Overview

LANCommander supports the use of install scripts for handling anything after the download and extraction of a game on a client machine. Common uses for install scripts include importing registry keys, updating configs, and templating file structures. Like all client-side scripts with LANCommander, these are essentially PowerShell scripts that are executed post-extraction.

Here are some examples of some post-install actions you may want to consider:

  • Import/create registry keys necessary for game execution
  • Automatic detection and config update to support the resolution of the primary display
  • Scaffolding save game file structures in the user's profile directory
  • Automatic installation of dependencies such as a redistributable

Note: After the extraction of the game is complete and the install script has been executed, the LANCommander Playnite extension will automatically execute any name change script

For a list of documented install scripts, see Category:Games With Install Scripts.