Prev Previous Post   Next Post Next
Old 19th November 2006, 22:26   #1
Jamyn
Junior Member
 
Join Date: Aug 2002
Location: Texas
Posts: 36
Commandline Extract .nsi?

Hi all,

I'm having a bit of difficulty creating a "hidden" section that extracts the .nsi files when presented with a commandline option. Basically, I want to bundle the .nsi files with the installer, and if I run setup.exe /WITHSOURCE or something, it also extracts the .nsi files to the install dir.

Putting together the three required pieces into a working solution is giving me trouble.

1) disable the hidden "extract source" section by default.
2) check commandline for /WITHSOURCE, re-enable the hidden section that extracts the source if the commandline option was there.
3) extract the source. I dont really need it to extract a full source, just the original .nsi file.

Has anyone done something like this in their installer, and could give me a tip, pointers, or an example? I greatly appreciate it.
Jamyn is offline   Reply With Quote
 
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