Skip to content
⌘ NSIS Forum Archive

Change sections at runtime

2 posts

superrock#

Change sections at runtime

Hi!
🙄

To make my installation more flexible, it would be nice to enable or disable a section at runtime. E.g. it would like to check on .oninit the existence of the hardlock driver and give the user the correct installation default.


Regards,
Rocky
Guest#
Hi superrock,

it's not possible to disable sections at runtime.

You could try to create some INI and use install options instead.

First check the existence of the drivers and then modify the INI at runtime to your needs.


Good luck, greetz,
Hendri.