I am using install builder to create a installer which primarily copies a set of folders in the specified install directory. I want that the copying of some folders be password protected i.e user has to enter a password if he wants those folders copied. How can I do that in Install builder.?
asked 17 May '13, 03:11
InstallBuilder provides encryption of the payload. However, the encryption has to be done for the entire installer and not individual files.
To enable encryption, simply add the following to your project and make a full build:
If you want some content to be available - such as free/demo version and paid version - the best solution is to simply provide two installers - one (without password) for the free/demo version and full version with password enabled. The full installer could also check that free version is already installed (i.e. by checking if certain files are present in the installation directory) and skip copying of files also in the free version.
You can find out more in Encryption and password protection section of InstallBuilder user guide.
The documentation also shows options for using HTTP protocol to get password for the installer over the Internet and requiring specifying a valid license and/or username and password to retrieve the password. This can be useful to limit possibilities for illegal redistribution of the software as well track licenses and/or installations of the software.
answered 17 May '13, 04:21
Here's how I do this: after the end user has chosen components, in readyToInstallActionList, I determine if any "protected" ones are selected. If so, I ask for a registration code using showStringQuestion. If the entered string contains the correct substrings/passcodes for all the components selected, good. Otherwise I deselect the unauthorized components using componentSelection.
Here's how I determine whether to ask for the reg. code (I have 3 components that require password protection):
answered 10 Jun '16, 13:40