This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- GetValidDrivesList() problem on Vista
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 14, 2009
07:00 PM
GetValidDrivesList() problem on Vista
Hi,
I have problem to use InstallScript program to get mapped drive from one of our testing Vista machines, the same program works fine on other Vista systems.
It's a pure InstallScript (no MSI) project, I just simply call GetValideDrivesList() same as the helping sample from IS, I could get the list from other Vista systems, but not the one I have problem with - the dialog showed empty list. Following is the code -
I know the thing should be Vista related, but how can I figure out where the problem is? I can't turn off UAC, but am allowed to sneak registry settings ...
Thanks,
Peter
I have problem to use InstallScript program to get mapped drive from one of our testing Vista machines, the same program works fine on other Vista systems.
It's a pure InstallScript (no MSI) project, I just simply call GetValideDrivesList() same as the helping sample from IS, I could get the list from other Vista systems, but not the one I have problem with - the dialog showed empty list. Following is the code -
listID = ListCreate (STRINGLIST);
// Get removable drives with at least 120 bytes free.
if (GetValidDrivesList (listID, REMOTE_DRIVE, 120) < 0) then
// Report an error; then terminate.
MessageBox ("Error to get remote drives", SEVERE);
abort;
else
// Display the list of removable drives.
SdShowInfoList ("Remote Drives", "Remote Drives", listID);
endif;
I know the thing should be Vista related, but how can I figure out where the problem is? I can't turn off UAC, but am allowed to sneak registry settings ...
Thanks,
Peter
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 14, 2009
07:08 PM
BTW, I do have 'EnableLinkedConnections' reg entry set to 1 (DWORD) already.