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

Copy files into D drive or C drive based on availability of D drive.


1 reply to this topic

PavanKumar1234

PavanKumar1234
  • Full Members
  • 4 posts

Posted 12 September 2013 - 09:02

Our Requirment:

1. Check if D: drive is present or not.
2. If present, then copy files into D:\Folder1 or else into C:\Folder1

I tried copying files using Files & Folders section. But there was no way over there to acheive the desired conditional copying.

Thanks,
Pavan


aakash.tiwari12@gmail.com

aakash.tiwari12@gmail.com
  • Full Members
  • 34 posts

Posted 06 December 2013 - 06:22

Hi Pavan,

 

One thing you can do.

You can access registry HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices

Here you extract value \DosDevices\D:

if it present means you can copy to D drive.

 

For runtime copying you see FeatureSetTarget() in installshield Help.