Forum Discussion

AdamRich's avatar
AdamRich
Copper Contributor
Feb 15, 2024

Pass variables during EXE installation.

When specifying an install location it does not allow basic system variables to be passed. 

 

  • %LocalAppData%
  • %UserName%

 

- Found when trying to install an application. 

installation arguments /DIR="%LocalAppData%\Kotem\SPViewer" /LICENSE="%LocalAppData%\Kotem\SPViewer\Kotem.CFG" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART

 

Result

Creates folder on the root drive named "%LocalAppData%\Kotem\SPViewer" and does not use the Local App Data Folder.

 

No RepliesBe the first to reply

Resources