cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
peterbi
Level 7

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 -

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
Labels (1)
0 Kudos
(1) Reply
peterbi
Level 7

BTW, I do have 'EnableLinkedConnections' reg entry set to 1 (DWORD) already.
0 Kudos