Hi,
Because two MSI installations cannot run at the same time you should launch the driver installation before or after the actual installation (the exe could contain a MSI).
You can launch it before the installation by using a prerequisite or after or during (not recommended) the installation by using a custom action.
Here is how you can configure the custom action which launches that .exe during the installation (you should do this in the "VerifyReadyDlg" dialog). These are the steps:
- create a "New Installed Custom Action" be under "InstallExecuteSequence" -> "Install"
- in the the "Expression" field (in the "Execution Condition" section) you should have the condition:
Code: Select all
NOT Installed AND RADIO=1 AND LAUNCH="OK"
- in the "Dialogs" page you create a Radio Button Group and two radio buttons in it
- in the "Properties" page you set for the first button the following:
- for the second button you set this:
Code: Select all
Text: Do not install driver
Value: 2
- for the Radio Button Group you set the "Property Name" field to
RADIO
- for the "Next" button, in the "Published Events" tab you add the following control events (you use the SetProperty standard control event):
Code: Select all
[LAUNCH] OK RADIO=1
[LAUNCH] NOT OK RADIO=2
In order to launch the exe at the end of the installation you modify in the "ExitDialog" dialog the "Launch [ProductName]" text (the "Text" field in the "Properties" page) to "Install drivers". For the "Finnish" button, in the "Finnish Actions" tab you check the "Launch application at the end of installation" option and select the exe.
Let me now if you encounter any problems.
Regards,
Cosmin
FOLLOW US
Get the latest news in Application Packaging