HaMsTeYr
5th October 2009 13:20 UTC
Dynamic & 64 Bit only Sections?
Hi, i'm trying to create an installer, and that would need dynamic sections, though i'm unsure on how to go about it...
Is it possible to have installer sections that show only if the operating system is of 64 bit architecture, and/or sections that only show if a few registry entries exist?
MSG
5th October 2009 13:44 UTC
I don't think you can make sections invisible, but you can deselect and disable them using SectionSetFlags. Do this in .onInit, or anywhere else before the components page (like the components pre function).
http://nsis.sourceforge.net/Docs/Chapter4.html#4.9.13.1
Use x64.nsh to check for 64 bits architecture.
HaMsTeYr
5th October 2009 15:48 UTC
Ah... awesome cake... i managed to work around getting it done... thanks :)
Anders
5th October 2009 16:00 UTC
Remove a sections name and it will not show on the components page