Archive: Simple multiple file copies


Simple multiple file copies
I have a simple set of 3 zip files I want to be able to install to specific locations for demo purposes.
The first is a jakarta_tomcat server I want to unzip to d:\jakarta, the second is a zipped webapp that is to be installed in the tomcat server after removing any old copy,
and the third is a d:\data directory that is zipped up with databases, etc. I need to be able to create a MSAccess odbc connection if possible, also.

Since none of this has anything to do with a windows executable, and doesn't modify the registry to my knowledge, what do I do? I can't seem to get started based on what I've seen.

Is there a simple example of just packaging a set of zip files and unzipping the to specific locations?


You should run a program like unzip.exe (search Google)

You can compress it into your installer like so:
File "/oname=$TEMP\unzip.exe" "local\unzip.exe"

Then run it like so:
nsExec::Exec '"$TEMP\unzip.exe" -o "$INSTDIR\zip.zip" -d "d:\data"'

There are some database functions on the archive:
http://nsis.sourceforge.net/archive/...b.php?page=113

-Stu


Here's a URL I just found for you:
ftp://ftp.th-soft.com/UNZIP.EXE

-Stu