Appending to PATH

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello everybody,

I am trying to append some text to the system PATH registry value via a
component. I haven't found any documentation about the Advanced properties
that indicates how to do this. Does one of the Write Options append?

Thanks,

David
 
David,

Modifying the system Path default environmental variable is to change [HKLM\SYSTEM\CurrentControlSet\Control\Session
Manager\Environment],"Path" reg.key.
You either change the value in the "Session Manager (Windows subsystem)" registry section or overwrite it with TD Extra Registry
data or your own component.
 
I tried editing the Session Manager registry key, but the change did not
propogate to the post-FBA O/S. I recently added the Windows Media Player 9.0
component to my image, and it does modify the system PATH variable. Is this
accomplished through an FBA command? I haven't seen any built-in command for
this purpose, so I assume I would need to write a helper application...

David

KM said:
David,

Modifying the system Path default environmental variable is to change [HKLM\SYSTEM\CurrentControlSet\Control\Session
Manager\Environment],"Path" reg.key.
You either change the value in the "Session Manager (Windows subsystem)" registry section or overwrite it with TD Extra Registry
data or your own component.

--
Regards,
KM, BSquare Corp.

Hello everybody,

I am trying to append some text to the system PATH registry value via a
component. I haven't found any documentation about the Advanced properties
that indicates how to do this. Does one of the Write Options append?

Thanks,

David
 
David,
I tried editing the Session Manager registry key, but the change did not
propogate to the post-FBA O/S. I recently added the Windows Media Player 9.0
component to my image, and it does modify the system PATH variable. Is this
accomplished through an FBA command? I haven't seen any built-in command for
this purpose, so I assume I would need to write a helper application...


Well... not an application but just a simple batch script that uses reg.exe will do :-) Launch it through FBA Generic Command.
Just make sure to set it to run at very late FBA phase.

--
Regards,
KM, BSquare Corp.

KM said:
David,

Modifying the system Path default environmental variable is to change [HKLM\SYSTEM\CurrentControlSet\Control\Session
Manager\Environment],"Path" reg.key.
You either change the value in the "Session Manager (Windows subsystem)" registry section or overwrite it with TD Extra Registry
data or your own component.

--
Regards,
KM, BSquare Corp.

Hello everybody,

I am trying to append some text to the system PATH registry value via a
component. I haven't found any documentation about the Advanced properties
that indicates how to do this. Does one of the Write Options append?

Thanks,

David
 
Back
Top