Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Selective extraction of Files (http://forums.winamp.com/showthread.php?t=235381)

proy_relisource 13th January 2006 14:32

Selective extraction of Files
 
Hi,
My application needs JDK 1.4.2 to run properly. I have bundled a jdk 1.4.2 with my installer. But if at the destination machine a jdk1.4.2 is already installed then i don't want to extract the jdk with the installer. I am able to check if a jdk is already installed or not in the target system but i can not stop copying the bundled jdk when a jdk is already installed on the target system. I have searched this forum and was unable to find any solutions. Any help will be great for me. Thanks in advance.

kichik 13th January 2006 14:34

See Logical Code Structures section of the tutorial. It explains how you can influence the flow of the script.

proy_relisource 16th January 2006 05:33

Thanks
 
Thanks Kichik.
I guess i should have tried it before. but i thought that if i use a logical structure before a
code:
File
command, then may be that file won't get packed with the installer. But i was wrong. I guess that was just stupid of me. Anyway, thanks again.


All times are GMT. The time now is 05:41.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.