My installation uses packages so that the user can decide which file groups he wants. The user should be able to install any additional package if he runs setup again. Kind of like the "modify installation" feature in MS Office installations.
So far I created a registry check on pre-load of the welcome screen. The setup checks if it can find an installation path in the registry and if it can, it tries to find the main executable in this path. If it exists, it jumps directly to a seperate packages screen. So far so good.
Since the package screen skips over the installation screen the strInstallFolderPath - variable isn't set, so I set it manually with:
strInstallFolderPath=rootpath;
Rootpath is a variable that contains the installation path from the registry.
When I run the setup, everything seems fine. I immediately get the new packages screen, I can select packages, but when I progress to the installation screen the installer just vanishes after checking file conditions. No error message, nothing. I have no clue what I missed to make this work, but there must be something. Any ideas are greatly appreciated.

Reply With Quote