Hi,
I'm afraid that this feature is not supported directly, however, you can do this by using conditions for custom control events.
For example:
- you have two builds:
Build1 and
Build2
- in the "Dialogs" page you go to the "WelcomeDlg" dialog and select the "Published Events" tab for the "Next" button
- you set these control events:
Code: Select all
NewDialog FolderDlg AI_INSTALL AND AI_BUILD_NAME<>"Build1"
NewDialog UserRegistrationDlg AI_INSTALL AND AI_BUILD_NAME="Build1"
- this will show the "UserRegistrationDlg" dialog only for the
Build1 build
- for the "Back" button on the "FolderDlg" dialog you set these control events:
Code: Select all
NewDialog WelcomeDlg AI_INSTALL AND AI_BUILD_NAME<>"Build1"
NewDialog UserRegistrationDlg AI_INSTALL AND AI_BUILD_NAME="Build1"
- now you need to make sure that the custom action associated with the serial validation feature is executed only for
Build1; for this you open the AIP with a text editor and you find this line:
Code: Select all
<COMPONENT cid="caphyon.advinst.msicomp.MsiInstExSeqComponent">
- under it you modify the
ROW Action="AI_VALID_SERIAL" to look like this:
Code: Select all
<ROW Action="AI_VALID_SERIAL" Condition="(NOT Installed) AND (UILevel <> 5) AND (ProductID) AND (AI_BUILD_NAME="Build1")" Sequence="725"/>
- basically you add the
(AI_BUILD_NAME="Build1") condition to the serial validation custom action in order to execute it only for
Build1
If you need a sample project then please contact me at
support at advancedinstaller dot com.
Regards,
Cosmin