cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jeeban
Level 2

Copy Files

hello ....
i m copying data from one directory to destination directory, but instade of copy my data , data1.cab, data.cab, and data.hdr is copied..

szTempSrc = SRCDIR ^ "Data\*.*";
szTempTarg =svDir ^ "Data";
nRet = XCopyFile(szTempSrc, szTempTarg , INCLUDE_SUBDIR);

and again i m using the copyFiels , same result, no data is copy , but cab files is copied.

nRet = CopyFile(SRCDIR ^ "Data" ^ "*.*", svDir ^ "Data" ^ "*.*");


what is the reason.....
Labels (1)
0 Kudos
(1) Reply
RobertDickau
Flexera Alumni

If you have a compressed build, it might be that SRCDIR refers to the temp directory from which the installer is running; perhaps see if the directory PACKAGE_LOCATION is in points to the correct media location?
0 Kudos