Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 13th January 2006, 14:32   #1
proy_relisource
Junior Member
 
Join Date: Jan 2006
Posts: 2
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.
proy_relisource is offline   Reply With Quote
Old 13th January 2006, 14:34   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,337
See Logical Code Structures section of the tutorial. It explains how you can influence the flow of the script.

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
Old 16th January 2006, 05:33   #3
proy_relisource
Junior Member
 
Join Date: Jan 2006
Posts: 2
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.
proy_relisource 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