Variables
These features are available since launcher version 1.6.0.
In the filename attributes and argument tags are now variables allowed. The following placeholders can be used:
Internal Launcher Variables
| Variable | Value (Example) |
|---|---|
| %LogDir% | C:\Windows\Logs\SCCM\Apps (launcher.exe.config) |
| %LocalCopyDir% | C:\Windows\LauncherCache (launcher.exe.config) |
| %PackageDir% | The folder where RunLauncher.exe is located |
| %WorkDir% | %PackageDir% or %LocalCopyDir%%PackageName% when local copy is activated |
| %TaskAction% | Install or Uninstall |
| %TaskStart% | yyymmdd-hhMMss |
| %Manufacturer% | z.B. Adobe |
| %ProductName% | z.B. Reader |
| %Version% | z.B. 10.1.3 |
| %PackageVersion% | z.B. 001 |
| %ConfigurationName% | "" oder ConfigName |
| %InstallationType% | Physical oder Virtual |
| %Language% | DE |
| %Architecture% | x86, x64, x99 |
| %ProductKey% | %Manufacturer%_%ProductName%_%Version%_%PackageVersion%[_%ConfigurationName%]_%InstallationType%_%Language%_%Architecture% |
| %LogFileNameCustom% | %LogDir%%ProductKey%_%TaskStart%_%TaskAction%_Custom.log |
Launcher Functions
| Placeholder | Resulting String |
|---|---|
| ${GetLogFileName('Custom')} | %LogDir%%ProductKey%_%TaskStart%_%TaskAction%_Custom.log |
Windows Environment Variables
These variables are resolved to the one defined in the operating system.
| Variable |
|---|
| %Temp% |
| %ProgramFiles% |
| %ProgramFiles(x86)% |
| %WinDir% |
| %ComputerName% |
| %Date% |
| %Random% |
| %Time% |