I'm trying to skip the InstallTypeDlg and SetupTypeDlg for users who have an earlier version of the product installed, i.e., for an update. (I can't use "Show Only If" for those dialogs because that option is disabled in the Air theme which I'm using.)
So under the direction of Tech Support, I modified the published events associated with the <Accept> button in LicenseAgreementDlg as follows:
NewDialog.....VerifyReadyDlg.....AI_INSTALL AND ( OLDPRODUCTS )
NewDialog.....InstallTypeDlg.....AI_INSTALL AND ( NOT OLDPRODUCTS )
The <Back> button on the VerifyReadyDlg now has these events:
NewDialog.....LicenseAgreementDlg.....AI_INSTALL AND InstallMode=InstallModeCustom AND ( OLDPRODUCTS )
NewDialog.....FolderDlg.....AI_INSTALL AND InstallMode=InstallModeCustom AND ( NOT OLDPRODUCTS )
There are two problems:
1) The InstallTypeDlg and SetupTypeDlg are not seen, even for a user with no previous version of the product installed. That suggests to me that OLDPRODUCTS always evaluates to TRUE but maybe there's another explanation.
2) The <Install> button on the VerifyReadyDlg now does nothing. The dialog does not change. That button has the standard published events, the only one of which that doesn't start with OutofDiskSpace=1 is:
EndDialog.....Return.....AI_INSTALL AND InstallMode=InstallModeCustom
Sigh. Can someone help me get this to work?
Thanks.
-Bob
FOLLOW US
Get the latest news in Application Packaging