|
|
#1 |
|
Junior Member
Join Date: Nov 2004
Location: Oak Ridge TN
Posts: 1
|
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? |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,202
|
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 Need an installer? http://www.afrowsoft.co.uk |
|
|
|
|
|
#3 |
|
Moderator
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,202
|
Need an installer? http://www.afrowsoft.co.uk |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|