Archive: Merge few installation script


Merge few installation script
Hello,

I'm creating a complex installation. I would like to split it into several scripts for modularity. How can I access from one script to another, in order to create the right flow ?

Thanks,
May


Use !include.

-Stu


My snh file includes 2 functions.

My Main.sni file has only include to the snh file. When I run it, it executes automatically the funcitons from the snh file. How can I call only one funciton from the snh function, so to control the installation flow ?

Thanks,
Maya


I assume you mean nsh and nsi files.
Wrap the functions in !ifdef and !endif and !define a constant before you !include the script to use that function.

-Stu