Archive: Copy files from installer dir to another?


Copy files from installer dir to another?
Hey guys! I have searched a bit, but I haven't found anything. I want to copy files from the installer dir to another, don't matter where installer are. there is some easy way to do this?


Do you mean copying files from where the executable is located? Look at CopyFiles.

Stu


Originally posted by Afrow UK
Do you mean copying files from where the executable is located? Look at CopyFiles.

Stu
my goal is make a font installer. by this, i want that the 'installer' copy fonts from the folder that it is located to the windows Fonts folder. but it needs to work on any folder, to simplify the work.

there are some way to this with one .bat file, but with NSIS is looks better, and can be much more customizable.

and, btw, there is some way to install the font with custom name? if yes, how can I make a prompt to the user to him set the font's name?

You still haven't made it clear whether you want the files stored inside the installer executable or whether they will be bundled beside the installer executable (i.e. on a CD). You need to look at some examples.

Stu


Originally posted by Afrow UK
You still haven't made it clear whether you want the files stored inside the installer executable or whether they will be bundled beside the installer executable (i.e. on a CD). You need to look at some examples.

Stu
the files will be not stored with the installer. the installer will be 'standalone'. it'll be like this: the user has the fonts on its computer, then he download my 'installer' and place it in the same folder of the fonts. he runs the installer and the installer copy the fonts to Windows' Fonts folder, installing it.

It'll be same thing as copy-paste, but with files outside the installer, and that didn't come with it.

Search for 'install font'.

Stu