|
|
#1 |
|
Guest
Posts: n/a
|
n00b at this, little help please
Hi I'm a n00b at this and trying to make a very basic intaller.
All I want it to do is copy a few files to different directories - all doc & settings\all users\programs and windows\fonts. I don't need the user to set this, I'm just unsure on how you use mulitple files as all the examples user one file. Thanks for any help |
|
|
|
#2 |
|
Guest
Posts: n/a
|
ok here is my code, i'm unsure on what to do from here, hopefully you'll be able to see what i'm trying to do
code: |
|
|
|
#3 |
|
Debian user
(Forum King) Join Date: Jan 2003
Location: Arch land
Posts: 4,917
|
mmm
code: Try code: Read the docs about the NSIS' constants.... * PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE. * Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE. |
|
|
|
|
|
#4 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Or even:
code: NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Nov 2004
Posts: 3
|
That don't work for me either.. It seems the $FONTS var is not resolved. If I use the full path the font copies over fine, but using $FONTS just gives an error:
code: Using the lines with $FONTS don't work, switch to the lines with the full path and it's OK.. |
|
|
|
|
|
#6 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
You are confusing run-time with compile-time!
$FONTS is the constant that will contain the user's Fonts folder path on run-time. The File command will store a file on compile-time into your installer, and thus you must give it the path to a file to compress on your hard-drive (not on the user's!) -Stu |
|
|
|
|
|
#7 |
|
Junior Member
Join Date: Nov 2004
Posts: 3
|
So it should be like this??
code: |
|
|
|
|
|
#8 |
|
Major Dude
|
indeed it should.
hand by comm@nder21 ---------- WiKi pages:CreateInternetShortcut|Enhanced FindWindow|Parse CSV-Data|Open/Close CD-Drive|Installer without Icon|Vista application compatibility |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|