I would like to create an install that is basically a wrapper for some files I would like to install on a target machine. Currently I'm using NSIS and it has been working quite well, however it is quite a pain to create the uninstaller portion in NSIS, in addition to some other minor problems I am encountering.
The installer has to be able to do the following:
1) Allow users to select the components he/she wants to install (should be easy enough)
2) Allows users to input an optional passphrase - entering a valid passphrase will make an additional component available to the user that he/she can choose to install
3) Ability to run another setup file (as mentioned earlier, my installer is just a wrapper) that is packaged with the installer, for it to install its own files. I understand that this can be done using the Custom Attached Action function as part of the actions carried out by the installer, but I need this to be one of the choices in the components, and not automatically installed when the installer is run.
4) Automatically creates an installer that can run the uninstaller for the setup file mentioned in 3) and also removes the other installed files selected by the user during installation
To illustrate:
Let's say I have 6 files in my installer. Each of these files are optional components - they can be selected or deselected by the user during the installation.
File 'A' is a setup file that installs a program 'X' on the user's computer.
File 'B' is a setup file that upgrades any version of program 'X' that might be already installed on the user's computer.
File 'C', 'D', 'E' are document files that can be viewed in program 'X'.
File 'F' is also a document file that can be viewed in program 'X'
When the user runs the installer, he should be given the option to enter a passphrase. If he enters a valid one, File 'F' is made available to him in addition to the other files. If he does not, only File 'A' to 'E' will be made available to him.
When selecting components to install, if File 'A' is selected, File 'B' will be deselected, and vice versa.
If file 'A' is selected, the installer will run File 'A' directly from the installer, to let it install its own files.
If File 'B' is selected, program 'X' on the user's computer is upgraded, also by running File 'B' directly from the installer.
If File 'C' to 'F' are selected, they are copied to the user specified directory on the user's computer (set by default to where Program 'X' might be installed)
The user may choose to "install" with the following possibilities:
1) Just run File 'A'
2) Just run File 'B'
3) Run File 'A' and copy one or more files from 'C' to 'F'
4) Run File 'B' and copy one or more files from 'C' to 'F'
5) User should also be able to just copy one or more files from 'C' to 'F' without running either File 'A' or File 'B'
6) No files selected (exits installer)
The uninstaller should allow any files 'C' to 'F' that were installed via my installer to be removed, and also able to run the uninstaller that was installed along with Program X (that was generated/installed by the File 'A' or File 'B' setup files)
Would all these be possible with Advanced Installer, and could anyone briefly describe how they could be achieved? I would also like to know if AI has support for skinned dialogs similar to the likes of InstallShield, InstallAware, and NSIS's ExperienceUI and UltraModernUI addons.
Many thanks.
FOLLOW US
Get the latest news in Application Packaging