RegisterAppPath
Write Application Path to Registry
Definition
Registers the path to an application file in the registry.
If the application path is registered, Windows sets the system variable PATH on the registered path during application startup
Normally, an installation program adds user-specific
paths to the registry
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\<AppPath
Key>.
<AppPath Key> must have the same name as the executable for
the application.
The value (standard) contains the path, including application file name;
the value Path only contains the path. Additional paths can be inputted
under Path (separated by semicolons).
Settings
Input
- Executable
file
The name and the path of the executable file.
The registry key and the associated value "Standard" are created using this entry. - Path
extensions...
Additional path entries needed by the application. The value of Path is created using this entry.
Options
Disable file redirection on x64 machines
For reasons of compatibilty, Ivanti DSM maps file and registry access to the default storage location for 32 bit applications (provided that the storage location differs from that of 64-bit applications). File access: whenever a 32-bit application attempts to access %windir%\System32, the access is redirected to %windir%\SysWOW64. Registry commands: when accessing HKEY_LOCAL_MACHINE\SOFTWARE the calls are redirected to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node. The x64-switch stops this redirection of file and registry accesses when running the script command on a x64 computer; the eScript command runs on the specified path. CallScript command: the script runs in a 64-bit process.