<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://nsis.sourceforge.io/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Reference%2FCopyFiles</id>
	<title>Reference/CopyFiles - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://nsis.sourceforge.io/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Reference%2FCopyFiles"/>
	<link rel="alternate" type="text/html" href="https://nsis.sourceforge.io/mediawiki/index.php?title=Reference/CopyFiles&amp;action=history"/>
	<updated>2026-04-27T16:11:49Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.17</generator>
	<entry>
		<id>https://nsis.sourceforge.io/mediawiki/index.php?title=Reference/CopyFiles&amp;diff=21312&amp;oldid=prev</id>
		<title>Jan: Created page with &quot;=CopyFiles=   [/SILENT] [/FILESONLY] filespec_on_destsys destination_path [size_of_files_in_kb]  Copies files from the source to the destination on the installing system. Useful ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://nsis.sourceforge.io/mediawiki/index.php?title=Reference/CopyFiles&amp;diff=21312&amp;oldid=prev"/>
		<updated>2011-11-27T10:39:36Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;=CopyFiles=   [/SILENT] [/FILESONLY] filespec_on_destsys destination_path [size_of_files_in_kb]  Copies files from the source to the destination on the installing system. Useful ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=CopyFiles=&lt;br /&gt;
&lt;br /&gt;
 [/SILENT] [/FILESONLY] filespec_on_destsys destination_path [size_of_files_in_kb]&lt;br /&gt;
&lt;br /&gt;
Copies files from the source to the destination on the installing system. Useful with [[Reference/$EXEDIR|$EXEDIR]] if you want to copy from installation media, or to copy from one place to another on the system. You might see a Windows status window of the copy operation if the operation takes a lot of time (to disable this, use /SILENT). The last parameter can be used to specify the size of the files that will be copied (in kilobytes), so that the installer can approximate the disk space requirements. On error, or if the user cancels the copy (only possible when /SILENT was omitted), the error flag is set. If /FILESONLY is specified, only files are copied.&lt;br /&gt;
&lt;br /&gt;
Fully-qualified path names should always be used with this instruction. Using relative paths will have unpredictable results.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;highlight-nsis&amp;gt;CreateDirectory $INSTDIR\backup&lt;br /&gt;
CopyFiles $INSTDIR\*.dat $INSTDIR\backup&amp;lt;/highlight-nsis&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jan</name></author>
	</entry>
</feed>