Hi Guys,

I am trying to overcome the headaches involved with maintaining the
dialogs for our MSI solutions and so have looked at the managed code
path.

While I know some of you will shun me for such a solution, I am merely
experimenting with the concept of using managed code to overcome one of
our biggest time wasters with MSI installers which is all the dialog
screens use to set properties. We have a series of MSI's all which
differ slightly from site to site and so I was looking at inheriting
winforms and making the tweaks there (removal of properties, addition of
properties, etc.

Onto the actual problem itself; I have setup a DTF custom action with
the dialog class in it which is created and called when run, what I am
having trouble with is slotting the custom action into the UI sequence
nicely. I wish for it to between the CustomizeDlg and VerifyReadyDlg
dialogs. Right now I have a modified WixUI_FeatureTree fragment which I
have put in the following code for the customizeDlg Dialog.

      <Publish Dialog="CustomizeDlg" Control="Next" Event="EndDialog"
Value="Return" Order="2">1</Publish>
      <Publish Dialog="CustomizeDlg" Control="Next" Event="DoAction"
Value="CA_ConfigUI" Order="1">1</Publish>

The two problems I have is once the 'EndDialog' is sent it immediately
begins the installation which I guess makes sense. Second is that I am
trying to invoke the session.Message(InstallMessage.ShowDialog, record)
method to start up final VerifyReadyDlg but I can find very little
information about this wrapper as the MsiProcessMessage API call seems
to not mention the Install Message.

My other thoughts were to just include a placeholder dialog in between
the two which would act as the container for invoking the custom action
but again I wanted something a bit more clean.

Any ideas on how to cleanly invoke a custom action in the middle of two
dialogs (while displaying no dialog boxes on the screen) and how to
continue the dialogs once the custom action is complete?

Thanks,
Murray 

This e-mail and any attachments to it (the "Communication") are confidential 
and are for the use only of the intended recipient. The Communication may 
contain copyright material of the Snowden Group ("Snowden"), or any of its 
related entities or of third parties. If you are not the intended recipient of 
the Communication, please notify the sender immediately by return e-mail, 
delete the Communication, and do not copy, print, retransmit, disclose, store 
or act in reliance on the Communication. Any views expressed in the 
Communication are those of the individual sender only, unless expressly stated 
to be those of Snowden. Although virus protection devices and procedures are in 
place, Snowden does not guarantee the integrity of the Communication, or that 
it is free from errors, viruses or interference. Snowden advises email 
recipients to carry out their own virus checks before opening any attachment.  
Please note that the main telephone number for the Snowden Perth office has 
changed to +61 8 9213 9213.


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to