steveculshaw
18th March 2005 16:50 UTC
Single install EXE (beginner)
I know this is dumb, but it's late on Friday, so please forgive this
I've tried the FAQ and looked through the doc's, but I can't see how I create a single installer EXE ???
I have a directory \SRC with various files, sub-directories, etc. in, including my NSIS script
My script installs into \MyApp Ok on my PC, but I've copied the MyInstall.exe to another PC and it fails, as the files aren't there :-(
All I seem to be getting is the commands in my EXE
- if the source directory is present, things worka
Afrow UK
18th March 2005 17:03 UTC
You must be using CopyFiles.
This copies files from one location to another on the same computer.
You must be after the File command which compresses files into the installer exe and extracts them to $OUTPATH which must be set with SetOutPath
E.g.
SetOutPath $INSTDIR
File /r "C:\myApp-Files\*.*"
This will compress all files inside the directory on your system and extract them to $INSTDIR on the user's system, keeping the sub-directory structures intact.
-Stu
steveculshaw
18th March 2005 17:22 UTC
Thank you
Thank you
that was it, I was using CopyFiles rather than File :-(