Hi!
I wonder how I can schedule a custom action to be excuted just before a
certain dialog is shown. For example I want the custom action
<CustomAction Id="FillPackageList" BinaryKey="FILL_PACKAGE_LIST"
DllEntry="FillPackageList" />
to be executed before the "SelectPackageDialog" is shown (the action fills a
combobox in the Dialog).
can I do it like this?
<Custom Action="FillPackageList" Before="SelectPackage"></Custom>
or how should it be done?
Below is my "Dialog sequence":
<Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog"
Value="Return" Order="999">1</Publish>
<Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog"
Value="SelectPackageDialog">1</Publish>
<Publish Dialog="SelectPackageDialog" Control="Back" Event="NewDialog"
Value="WelcomeDlg">1</Publish>
<Publish Dialog="SelectPackageDialog" Control="Next" Event="NewDialog"
Value="SelectArcGisDialog" Order="2"><![CDATA[UPGRADE <> "0"]]></Publish>
<Publish Dialog="SelectPackageDialog" Control="Next" Event="NewDialog"
Value="SelectCategoryDialog" Order="2"><![CDATA[UPGRADE = "0"]]></Publish>
<Publish Dialog="SelectCategoryDialog" Control="Back"
Event="NewDialog" Value="SelectPackageDialog">1</Publish>
<Publish Dialog="SelectCategoryDialog" Control="Next"
Event="NewDialog" Value="SelectArcGisDialog" Order="2"></Publish>
<Publish Dialog="SelectArcGisDialog" Control="Back" Event="NewDialog"
Value="SelectCategoryDialog"><![CDATA[UPGRADE = "0"]]></Publish>
<Publish Dialog="SelectArcGisDialog" Control="Back" Event="NewDialog"
Value="SelectPackageDialog"><![CDATA[UPGRADE <> "0"]]></Publish>
<Publish Dialog="SelectArcGisDialog" Control="Next" Event="NewDialog"
Value="SelectArcGisUncPath" Order="2"><![CDATA[ARCGIS = "0"]]></Publish>
<Publish Dialog="SelectArcGisDialog" Control="Next" Event="NewDialog"
Value="VerifyReadyDlg" Order="2"><![CDATA[ARCGIS <> "0"]]></Publish>
<Publish Dialog="SelectArcGisUncPath" Control="Back" Event="NewDialog"
Value="SelectArcGisDialog">1</Publish>
<Publish Dialog="SelectArcGisUncPath" Control="Next" Event="NewDialog"
Value="VerifyReadyDlg" Order="2"></Publish>
<Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog"
Value="SelectArcGisUncPath" Order="1">NOT Installed AND <![CDATA[ARCGIS =
"0"]]></Publish>
<Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog"
Value="SelectArcGisDialog" Order="1">NOT Installed AND <![CDATA[ARCGIS <>
"0"]]></Publish>
<Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog"
Value="MaintenanceTypeDlg" Order="2">Installed</Publish>
<Publish Dialog="MaintenanceWelcomeDlg" Control="Next"
Event="NewDialog" Value="MaintenanceTypeDlg">1</Publish>
<Publish Dialog="MaintenanceTypeDlg" Control="RepairButton"
Event="NewDialog" Value="VerifyReadyDlg">1</Publish>
<Publish Dialog="MaintenanceTypeDlg" Control="RemoveButton"
Event="NewDialog" Value="VerifyReadyDlg">1</Publish>
<Publish Dialog="MaintenanceTypeDlg" Control="Back" Event="NewDialog"
Value="MaintenanceWelcomeDlg">1</Publish>
/Hans
--
View this message in context:
http://www.nabble.com/Scheduling-a-Custom-Action-for-a-certain-Dialog-tf4322634.html#a12309357
Sent from the wix-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users