To the best of my knowledge you can't launch a custom UI from a Custom
Action. I believe you would need to take over full control of the UI in
order to achieve this.

Thanks,

Brian Rogers
"Intelligence removes complexity." - Me
http://icumove.spaces.live.com


On Fri, May 1, 2009 at 3:15 AM, Connatic <richardpgi...@gmail.com> wrote:

>
> HI Again,
>
> i have 1 final issue with my Wix Install, one of my colleagues has written
> a
> c++ dll which is basically a Network Folder Browser.
>
> I want to Call this Custom Action from a Dialog and return a path value.
>
> Obviously it is not working currently, there is no error, when you click on
> the associated browse button it just moves you to the Finish dialog, and
> doesn't install.
>
> This is the code i have so far
>
> <Binary Id="WiXFolderBrowse"
> SourceFile="$(var.SourceDirectory)\CustomActions\WiXFolderBrowse.dll" />
>
> <CustomAction Id="NetworkBrowserDialog" BinaryKey="WiXFolderBrowse"
> DllEntry="BrowseDlg" Execute="immediate" />
>
>
> and i have this inside a Dialog -
>
> <Control Id="Browse" Type="PushButton" X="260" Y="88" Width="65"
> Height="15"
> Text="&amp;Browse..." TabSkip="no">
>        <Publish Event="DoAction" Value="NetworkBrowserDialog">1</Publish>
>        <Publish Event="NewDialog" Value="ReadyToInstall">NOT SERVER_ROOT =
> "" AND NETWORK_OK = 1</Publish>
>        <Publish Property="DATA_ROOT" Value="[SERVER_ROOT]">1</Publish>
>        <Publish Event="[SERVER_ROOT]" Value="[SERVER_ROOT]">1</Publish>
>      </Control>
>
> The dll returns the value SERVER_ROOT
>
> basically the question i have is am i missing something ?
>
> I have seen lot of examples of custom action but not any that are called
> from a Dialog so i am not sure.
>
>
> --
> View this message in context:
> http://n2.nabble.com/Custom-Action---tp2752485p2752485.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> Register Now & Save for Velocity, the Web Performance & Operations
> Conference from O'Reilly Media. Velocity features a full day of
> expert-led, hands-on workshops and two days of sessions from industry
> leaders in dedicated Performance & Operations tracks. Use code vel09scf
> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to