How to display UI dialog from C++ custom action? I found function MsiPreviewDialog(). It need a handle to the preview. I Found MsiEnableUIPreview() function, whitch need a handle to database. I try to get database handle from MsiGetActiveDatabase() and MsiOpenDatabase() and it was allways 0.
P.S. Custom action call's in <ProgressText> context. <UI> <ProgressText Action="Check_InterBase_Server_Runnig">!(loc.CheckIBRunning)</ProgressText> </UI> <CustomAction Id="Check_InterBase_Server_Runnig" BinaryKey="InterBaseDLL" DllEntry="CheckIBRunning" Execute="deferred" Return="check" Impersonate="yes"/> <InstallExecuteSequence> <Custom Action="Check_InterBase_Server_Runnig" After="ProcessComponents">NOT Installed</Custom> </InstallExecuteSequence> <Binary Id="InterBaseDLL" SourceFile="$(var.SolutionDir)/ca/$(var.Configuration)/InterBase.dll"/> -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Display-UI-Dialog-from-custom-action-dll-tp4985420p4985420.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users