Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

ExistsDir()


3 replies to this topic

seagum

seagum
  • Members
  • 3 posts

Posted 14 October 2002 - 14:11

Hi !

I am currently in the process of a migration of an IS 5.x based installation program towards an IS 6.31 setup and found some differences in the implementation of the InstallScript function ExistsDir().
In IS 5, call ExistsDir() with the following path statement was possible and successfully performed : ..\..\PATH\DISK1.
In IS 6, a call to ExistsDir() with the mentioned parameter always returns NOTEXISTS (-1).

Can anybody confirm this difference ?
Has anybody already developed a workaround to this situation ?

Thanks in advance
Michael

Taco Bell

Taco Bell

    IS6 Expert

  • Moderators
  • 1,281 posts

Posted 14 October 2002 - 17:33

Never used IS5, but according to the IS6 help, the parameter "Specifies the fully qualified path of the directory to find on the target system.", so a relative one is not acceptable.
user posted image

seagum

seagum
  • Members
  • 3 posts

Posted 14 October 2002 - 17:58

Hi !

I basically agree, but the same statement was also present in the IS 5 documentation.

Blake Miller Wonder

Blake Miller Wonder
  • Members
  • 121 posts

Posted 14 October 2002 - 20:15

IS versions and patches are like a see-saw or a teeter-totter.
Some bugs get fixed and other things which worked perfectly fine are then broken.  Go figure...
Blake Miller @ Wonderware