Tutorials:Install Scripts: Difference between revisions

From LANCommander
No edit summary
No edit summary
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]]''
{{#categorytree:Games}}

Revision as of 05:59, 31 July 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

no subcategories