nuttinjeff
7th August 2009 15:59 UTC
Option to only extract some files
Hi,
I currently use InnoSetup to build the installation of my software. But I have a new situation that Inno can't handle, so I was searching for another program.
I need to ask a option to the user (like a component selection): one option make a normal install and the other option just decompress some files to a selected dir (without installing to add/remove programs).
Can I archieve this with NSIS?
Thanks.
pengyou
7th August 2009 19:20 UTC
Yes. NSIS does not automatically create Add/Remove Program entries for you so you can create a script that does what you want.
nuttinjeff
11th August 2009 15:10 UTC
Originally posted by pengyou
Yes. NSIS does not automatically create Add/Remove Program entries for you so you can create a script that does what you want.
Thanks pengyou, but is possible to change the "add/remove programs" entry in install time? Like, one option create the entry and other don't.
Thanks.
Anders
11th August 2009 15:25 UTC
of course it is possible, the easy way is just to put the add/remove registry code in a separate section and let the user choose on the components page