PDA

View Full Version : Want "ADD TO PATH"/"REMOVE FROM PATH" functions


HayoOellrich
05-28-2002, 02:51 AM
Hi !

When coding installs, then very often there is the need to modify the PATH settings (a registry value for WinNT/2K/XP; an Autoexec.bat entry for Win9x/ME).

It is true, that I could write action code to do this job (which is a little bit tricky, if I want to ensure, that a path is not entered twice).

I propose to add new functions "ADD TO PATH" and "REMOVE FROM PATH". These functions could do all the required stuff in background, so there is no need to code these things (its a lot of lines).