Archive: Extra files installed


Extra files installed
If I have a customer save the installer to their PC and install, all of the files in the folder in which the installer is located are copied into the install path. I only want files contained in the EXE to be installed, not along with copying files that already exist. Can this copying be prevented? I can't find any reference to this 'feature'.


Most people include files in the installer itself, that can be done using the File command.

If you are using CopyFiles you should only copy the files you need.


Extra files installed
Maybe I wasn't clear. My installer contains just the files I want installed. I am not doing any copyfiles or any other command that I know of to cause this action. If a customer has a folder called c:\temp that contains file1.txt, file2.txt and file3.txt, etc and they copy my installer into c:\temp and run the installer their original files are copiedtheir original files are copied to my install path. To my knowledge, I never told the installer to make copies of c:\temp\file1.txt, c:\temp\file2.txt, c:\temp\file3.txt, etc. but they are copied. I want to prevent them from being copied.


I have no idea what you are doing. NSIS does not copy any files unless you tell it to do so.

Please attach a script.