I need to loop through all the drives on the target machine to see if a specific folder exists on that drive. Different machines may have this folder on different drives, so I need to find the exact path to it.
I can't find a function/method that will give me a list of drives on the target machine. Can anyone give me any suggestions?
I could just go through all letters of the alphabet and use the GetSystemInfo function to see if this is a valid drive on the target machine, but this seems a bit of an overkill.
Does anyone know how to do it or have run into the same issue?
I use InstallShield 10.5
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.
Disk drives on the target machine
2 replies to this topic
Posted 15 September 2005 - 21:19
I am not sure about 10.5, but in 6 and 11 there is a function called GetValidDrivesList that does what you want to do. Check to see if that function is in 10.5.