Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 22nd January 2004, 19:45   #1
newUser101
Junior Member
 
Join Date: Jan 2004
Posts: 1
replacing files after build installer

Hi,
I a new user to NSIS and would like to know if there is some way to do the following. I would like to build an installer one time on a windows pc and then later on replace some of the files in the installation with new files. I have an application that is built on solaris using java (server and client application) and it has a windows pc client that would be nice to have a windows installer. The client jar file changes on a nightly basis and I don't want to have to rebuild the entire installer on a windows pc everytime there is a change. Is there anyway to do this with NSIS?

Thanks.
newUser101 is offline   Reply With Quote
Old 22nd January 2004, 19:58   #2
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
No, you can't replace files in an existing compilation.

You can however use an emulator like Wine to run makensis on a Linux system.

Porting makensis (not the installer VM itself but the compiler) to another platform should also be possible, but that will require some work.
Joost Verburg is offline   Reply With Quote
Old 22nd January 2004, 23:06   #3
stnchris
Junior Member
 
Join Date: Jan 2004
Posts: 6
you could use CopyFiles rather than File in your install script. Just built the install script once, and use that rarely-rebuilt version to install the nightly-rebuilt .jar files.

The .jar files would be external to the install script, install them like:

CopyFiles "$EXEDIR\jarfiles\file1.jar" "$INSTDIR\file1.jar"
stnchris is offline   Reply With Quote
Reply
Go Back   Winamp 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