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

EnterDisk Problem, I want "Browse..." path


1 reply to this topic

Dave I

Dave I
  • Members
  • 195 posts

Posted 28 August 2001 - 17:03

Im calling EnterDisk to prompt the user for a file and then I want to check that file with FileGrep.  The user also has the option of browsing for the file across the network.

Now  IS5.5 Filegrep required an unqualified path, so if the user browsed for the file then the directory would be stored in SRCDIR and everything was Okey Dokey.  The FileGrep worked as the unqualified filename used SRCDIR ^szFilename;

Now in ISWI2.03, I have no way of accessing the path entered by the user as SRCDIR is not modified and I cant do a filegrep to find a string.

e.g.

EnterDisk (svMsg, szFileName)
(FileGrep(szFileName, svCode, svReturnLine, nvLineNumber, RESTART)

Is the EnterDisk "Browse..." directory stored anywhere and how do I access it. Is it a bug in ISWI?

Alternatively how do I call my own dialog from a script in ISWI2.03

Thanks,
Dave


Dave I

Dave I
  • Members
  • 195 posts

Posted 30 August 2001 - 10:31

Its OK folks, I sorted it.  FYI.....

I created my own EnterDisk type dialog and called it   with MsiDoAction and the got the path MsiGetProperty.

Thanks,
Dave