Skip to content
⌘ NSIS Forum Archive

One file more than one sections

6 posts

Laslie#

One file more than one sections

Hi!

I have more applications which use more common files.
These applications are one-one section.
How can I install these common files?

Sorry for my bad english.
Laslie
Comm@nder21#
how do you mean?
you want to install more than one application with one installer.
all that application have some files in common, and u want to knwo how to install this files, without integrate it in every section?
is this your question?
Vytautas#
Create a hidden section which will always be installed and place the common files there.

Vytautas
Comm@nder21#
but be sure, that the hidden section includes code to prevent it from being installed, if no other section including files, that will require the common files section, is selected.

u can hide a section by renaming it from "<sectionname>" to "-<sectionname>".

kichik, will this section always be installed, even if inst-types are set, and this page isnt part of them?
or will i have to set "/o" and "SectionIn RO" for a hidden section?
kichik#
Originally posted by Comm@nder21
kichik, will this section always be installed, even if inst-types are set, and this page isnt part of them?
or will i have to set "/o" and "SectionIn RO" for a hidden section?
No, hidden sections are affected by install types too. You should either use SectionIn RO which will cause it to be in all install types (didn't do that in b4, only in latest CVS version) or use SectionIn 1 2 3 4 ...