views:

887

answers:

1

I am trying to set Path (Envioenment Variable) using InstallScript for InstallShield 8. The function EzBatchAddPath("PATH", "C:\Windows", "", AFTER); can only be used when autoexec.bat is set to ReadOnly=false and Hidden=false.

Are there other methods which can perform the same action without these restriction

Thanks in advance

+1  A: 

Why not update the path at runtime with a wrapper script or similar, what if other executables in the users path conflict with names of your executables? It's a really unreliable solution

sascha