Dear Advanced Installer,
We would like to achieve the following scenario:
1. WelcomeDlg is displayed by the installer
2. Side-by-side installation is turned on at the Upgrades tab + UpgradeDlg is added to the project
3. If the following 3 conditions are fulfilled, then the UpgradeDlg should be appearing after the WelcomeDlg (so when the user is clicking on the Next button of the WelcomeDlg)
a) we have a server and client type of installation, and for that a THE_MODE property. UpgradeDlg should be visible on for Client installerers, so when THE_MODE="Client",
b) we introduced a new property called MULTIVERSION. The default value is "FALSE", and if the user is starting the installed from Command Prompt by passing in e.g. MULTIVERSION="TRUE", then the client installer should start in "multiversion" mode, so side-by-side installation should be offered, aka UpgradeDlg should be visible after the WelcomeDlg.
c) this should only happen if a previous version of our product is installed. For that we also have a property called OLDPRODUCTS. So if OLDPRODUCTS exists (has a value), then the UpgradeDlg should appear, otherwise it makes no sense to offer a side-by-side installation.
I'll send over our .aip to you, could you please take a look at the WelcomeDlg's Publised Events for the Next button?
Right now the conditions is:
OLDPRODUCTS AND MULTIVERSION="TRUE" AND THE_MODE="Client" -> and then the UpgradDlg should appear (Display specific dialog)
Somehow the condtion is not working. I tried to use a shorter conditions as a test, so I tried to use only OLDVERSIONS, or only "MULTIVERSION="TRUE", I also tried to use "MULTIVERSION=TRUE" without quotes. I also tried only "THE_MODE="Client", so kind of I tried 10-15 different combinations, but I can never ever get the UpgradeDlg after the WelcomeDlg. Always the default RegionSelectDlg comes.
Of course I start the installer from Command Prompt with such a command:
TheClient.exe MULTIVERSION="TRUE" /L*Vx log.log
But I also tried the following commands:
TheClient.exe MULTIVERSION="TRUE"
TheClient.exe MULTIVERSION=TRUE /L*Vx log.log
TheClient.exe MULTIVERSION=TRUE
TheClient.exe MULTIVERSION=1 /L*Vx log.log
TheClient.exe MULTIVERSION=1
No matter what I do, the UpgradeDlg is never appearing. I have a suspicion there is a problem with out .aip, maybe?
I will send over the recent version of our .aip, also a logfile for you.
Could you please take a look? I would need to fix this problem still this week, that's why I marked as important, as we are about to release a new version of our product.
Best regards, and thanks,
Zsolt
FOLLOW US
Get the latest news in Application Packaging