Archive: Invoking Main Section


Invoking Main Section
I know that installfiles page invokes Main section implicitly , but like to know how to invoke the same explicitly. I need to do this since , I'm planning to by pass the instfiles page


I don't think you can invoke the code in Sections outside of InstFiles - so what you could do is put the code for the sections of interest in macros, then !includemacro those inside your Sections -and- in whatever bypassing code you would be using.


As Animaether says, macros will have to do. You can't use a function because the progress bar on the InstFiles page will only act on one instruction (Call) rather than the function's contents.

Stu