Old 11th October 2005, 12:37   #1
ah_new
Junior Member
 
Join Date: Oct 2005
Posts: 1
sample code pls ...

Hi all,

I am very new to NSIS. I'm rushing of doing my school project on a php + mysql system. I now need to build an installation kit with NSIS which able to copy files (php files) from a source (CD-ROM) to a folder in my hard drive (Eg: C:\hello\).
So, are there any sample can you guys provide to me?
I just need to copy and paste the files, and also delete them whenever "uninstallation" called. Pls shows some sample code (.nsi) to me, I'm lack of time to learn nsis script.
Many thanks.

Regards,
ah new
ah_new is offline   Reply With Quote
Old 11th October 2005, 12:39   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
There are a lot of examples in the Examples directory in your NSIS installation. Most of them copy files and delete them when uninstalling.

If you don't want to compress the files into the the executable, use CopyFiles to copy them from $EXEDIR.

There are also some IDEs that'd help you generate code quickly.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump