I've done a package which deploy some binaries and add a path to the PATH environment variable.
That was done using "supp" like it's shown in OPSI manual :
Code: Alles auswählen
DefVar $Path$
Set $Path$ = EnvVar ("Path")
Set $InstallDir$ = "C:\myapp"
...
Registry_PathPatch /32Bit
...
[Registry_PathPatch]
openkey [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\control\Session Manager\Environment]
set "Path"="$Path$"
supp "Path" ; "$InstallDir$\bin"
Can you tell me what can I do ? Does a contrary of "supp" exists ?
Thanks.