www.icetips.com  Icetips Utilities Documentation 11/30/2010    

SetupBuilder Class: CopyTheFiles

Previous  Top  Next  


Prototype: (),Long,PROC

 

ReturnsNumber of files copied

 

This method creates a directory structure specified in the PathString property in the folder specified by the LocalCSIDL property.  It uses the CreateDirectories method from the UtilityClass and the CopyFiles method from the ShellClass to copy the folder structure from the Global folder in the SBGlobalInstallPath property to the Local folder in the SBLocalInstallPath property.  This method is called by the FinishInstall method.  When the method is finished copying, it updates the FilesCopied value of the HKCU\SOFTWARE registry key along with the partial path that is specfied in the PathString property.

 

Example:

 

CopyTheFiles            ROUTINE

 

If Loc:LocalCSIDLNumber And Loc:GlobalCSIDLNumber

  ITS.FinishInstall(Loc:PartialPath, Loc:LocalCSIDLNumber, Loc:GlobalCSIDLNumber)

End

 

 

See also:

GlobalCSIDL

LocalCSIDL

PathString

SBGlobalInstallPath

SBLocalInstallPath

 

CreateDirectories

UtilityClass

ShellClass

 

 

 



Direct link to this page: http://www.icetips.com/manuals/utilities/copythefiles_setupbuilder.htm