PDA

View Full Version : SB8 Tips and Tricks: Enable or disable a Feature programmatically



NewsArchive
03-08-2013, 11:57 AM
-- Enable or disable a "Feature" programmatically

Features are specifically designated portions of an application's total
functionality. For example, an application may have features like "Help
Files", "Tutorials", "Sample Files", "Win64", etc. You can create Features
and Feature hierarchies. Define whether a feature installed with the Typical
Installation, the Complete Installation, or allow the end user to customize
the installation by selecting specific features or feature hierarchies.

SetupBuilder 8 introduces a cool new script function: "Set Feature
State...". This function lets you programmatically enable or disable a
Feature from script level at installer runtime.

This gives you even more power and control over the installation process.

For example, enable a "Win64" Feature only on Windows 64-bit machines. Or
enable a specific "Program Edition" based on a Password or Serial Number
Key. Your customer enters a Serial Number and SetupBuilder automatically
installs the correct product edition (Standard, Professional, Enterprise,
Trial, etc.).

See attached screenshots.

Friedrich

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

--Helping You Build Better Installations
--SetupBuilder "point. click. ship"
--Create Windows 8 ready installations in minutes
--Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
03-09-2013, 01:56 AM
Cool! I think I'll add a disabled 64-bit feature to all my installs and
let those running it wonder how to get it enabled <g>. Or is that just
a tad too mean? <vbg>

--

Russ Eggen
RADFusion International, LLC