Using the same project XML file, I'd like to create both a complete CDROM install and a "setup" install that downloads components from the web server. If the CDROM install is running, there's no need to show the page to set the web server details (username and password), so I could potentially add a rule to prevent that page showing if it's a CDROM installation. However, I don't seem to be able to find a build type test (e.g. similar to the platform test). Perhaps I can do it by detecting the presence of downloadable components, but I don't know how to do that either.
asked 07 Jun '12, 12:49
One option is to set an installer's hidden parameter at build time. For example setting up a hidden parameter to store the value:
And then specify it to be cdrom or regular at build time when invoking the CLI:
This approach is described in more details in Creating Custom Builds section of InstallBuilder user guide.
Another option is to compare installer filename. For CDROM mode it will be
This checks that last element of
answered 08 Jun '12, 03:14