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

FindAllFiles used with CopyFile


1 reply to this topic

deanolivier

deanolivier
  • Full Members
  • 3 posts

Posted 04 March 2011 - 14:31

Hi there everyone,

I have just recently started using Installshield 2010 and I am having a slight problem with my installscript.

I am using FindAllFiles to find all the files in my directory. When found I want to copy it to another directory using CopyFile.

As I said I am new to this and I am having a slight issue. Below is a snippet of my code.

SearchDir = TempFolder + "Ultimate Connection\\ActiveRetail\\Reports";
fResult = FindAllFiles(SearchDir, "*.*", MatchingFile, RESET);

while (fResult = 0)
fResult = FindAllFiles(SearchDir, "*.*", MatchingFile, CONTINUE);
nResult = CopyFile(MatchingFile, Create_Dir ^ "*.*");
switch (nResult)


deanolivier

deanolivier
  • Full Members
  • 3 posts

Posted 07 March 2011 - 11:07

I solved this myself.