Skip to content
⌘ NSIS Forum Archive

Section Index

5 posts

Vytautas#

Section Index

Is it possible to assign the section index to a variable, e.g. change the section index in runtime?

Vytautas
Vytautas#
I'm trying to make a dynamic section system which depends on the availability of some files on the target system. This was an idea of how to achieve a part of that system.

Is there a way to get the section index of the currently running section?

Vytautas
WarmAr#
It is really a pity, that it is impossible to change parameters of sections at run-time.
For example, disable some section or change of section indexes using callback .onInit.
WarmAr#edited
I was mistaken. Unfortunately I cannot remove the previous message any more.
For section management it is necessary to use simply SectionGetFlags and SectionSetFlags