Old 26th January 2011, 15:57   #1
dullboy
Junior Member
 
Join Date: Jan 2011
Posts: 6
Quote:
Originally Posted by MSG View Post
You're mistaken: You cannot make an installer that only contains file XYZ if some condition is met. If you need it installed at ANY point, the installer MUST have it compressed inside.

What you probably want is this:
${If} (some condition here)
File Yourfile.ext
${EndIf}

The above will always compile Yourfile into the installer, but it will only be extracted (at runtime) if the condition is met.


Or if your problem is that you want to include files dynamically (to make different installers depending on what files you have on your compiling PC), you'll probably have to use this:
File YourDynamicFolder\*.*
No, my question is that the files to be extracted do not exist before installation and they will be generated during installation. Is there any way I can do that? Thanks.
dullboy is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast 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