Reply to Thread

Post a reply to the thread: Get System Info(Drive Type) function

Your Message

Click here to log in

What's the name of our main installation product (in uppercase letters), directly followed by the current year?

 

You may choose an icon for your message from this list

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 05-30-2013, 03:02 AM
    linder

    Re: Get System Info(Drive Type) function

    Peter,

    The "Drive Type" option is a wrapper around the GetDriveType Windows API. If you pass an UNC notation to GetDriveType, a trailing backslash is required. It should then return $DRIVE_REMOTE$ in your case.

    For example: \\ServerName\Drive\

    If you still get $DRIVE_NO_ROOT_DIR$, please see:

    http://support.microsoft.com/kb/244089

    Does this help?

    Friedrich
  • 05-29-2013, 01:08 PM
    Peter Gysegem

    Get System Info(Drive Type) function

    When using the Get System Info(Drive Type) function, If I use either C: or C:\ for the Drive Letter it returns $DRIVE_FIXED$ as it should. However, if I use a valid mapped drive for the Drive Letter, e.g. either Z: or Z:\, the function returns $DRIVE_NO_ROOT_DIR$. It returns the same thing if I use UNC notation \\ServerName\Drive.

    Is it me or is the function not working properly?

    This is SetupBuilder 8.0.4063.

Posting Permissions

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