Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 5 of 5

Thread: Add PATH ?

  1. #1
    Join Date
    May 2002
    Location
    Istanbul / Turkey
    Posts
    7

    Grin 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. #2
    Join Date
    May 2002
    Location
    Istanbul / Turkey
    Posts
    7

    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...

  3. #3
    Join Date
    Nov 2001
    Location
    Bremen - Germany
    Posts
    49

    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

  4. #4
    Join Date
    May 2002
    Location
    Istanbul / Turkey
    Posts
    7

    Re: Add PATH ?

    Hi,

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

  5. #5
    Join Date
    Jul 2003
    Posts
    1

    Grin Re: Add PATH ?

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts