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

Nework install..


1 reply to this topic

jive02

jive02
  • Members
  • 40 posts

Posted 18 May 2002 - 15:41

Hi,

How do I prevent the user from installing on a network drive? Right now I can install pretty much anywhere on my company network and I don't want that. Stuff get weird, believe me :)

/Jonas
- jonas

Taco Bell

Taco Bell

    IS6 Expert

  • Moderators
  • 1,281 posts

Posted 20 May 2002 - 13:46

You can use the following call:
GetSystemInfo (nItem, nvResult, svResult);

where nItem is DRIVE.  Upon doing so, nvResult will return one of the following constants signifying the type of the drive specified in svResult:
IS_UNKNOWN - Target drive is unknown.
IS_REMOVABLE - Target drive is a floppy drive.
IS_FIXED - Target drive is a fixed drive.
IS_CDROM - Target drive is a CD-ROM drive.
IS_REMOTE - Target drive is a network drive.

See the help topic for more information.
user posted image