Announcement

Collapse
No announcement yet.

Add PATH ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Add PATH ?

    How can i add %AppDir% location OS PATH Environment ?

    I'm using SF 6.0.1.0 and cant find any simple method add path.

    If users OS Win9X/Me add autoexec.bat else WinNT/2K/XP add registry...

  • #2
    Re: Add PATH ?

    So i cant find any simple method in SF6 and write code myself...

    I can share this code for your help...


    Design > Actions > After Installing : Import Actions (InstAppPath.sfa)

    http://216.167.93.75/~intel/temp/InstAppPath.sfa (right click:save target as)


    Design > Uninstall > After Uninstalling : Import Actions (UninstAppPath.sfa)

    http://216.167.93.75/~intel/temp/UninstAppPath.sfa (right click:save target as)


    Build SF 6.0.1.0 and tested WinME/XP...

    Comment


    • #3
      Re: Add PATH ?

      Hi!

      I checked your code. In both cases (registry and autoexec.bat), you should parse the existing path setting to check if the path extension is already in somewhere else. Otherwise, multiple occurences of the path xtension may exist.

      And in case the autoexec.bat does not exist yet, you could create one.

      Hayo

      Comment


      • #4
        Re: Add PATH ?

        Hi,

        Thanks for responding, code is updated and uploaded the server.

        Comment


        • #5
          Re: Add PATH ?

          PATH action links, that you have posted, are dead somehow [img]/ubbthreads/images/icons/frown.gif[/img]

          Comment

          Working...
          X