Thanks for the reply's guys,

That would explain why i have been unable to get the custom action to work.

I know this is a very messy way of doing things, but i am still being asked
to find a solution to the fact Windows Installer does not have a Network
folder browser.

...So i am still pursuing other ideas, one idea i have been thinking about
is to have the Custom action as an Exe, but to do that i would need to be
able to pass the session handle to the exe. Do any of you know if that is
possible ?

Also I know I could have the custom action as a vb Script file and then
shell out to an Exe to which i could pass parameters, but again would i be
able to pass the session handle ?

Does any of this sound like it would be possible, or can any of you think of
a better way i could implement a Network Folder browser ?

Any information would be greatly appreciated, even if it is just to say
"cant be done" as i can then at least go back to my superiors with some
ammunition.

Thanks in advance - :0)


Rob Mensching-6 wrote:
> 
> Hmm, I don't think that's right. A CustomAction can usually show UI. 
> However, CustomActions based off of a button click are very restricted. 
> I think maybe those are the ones that can't show UI (probably something 
> to do with message pump madness).
> 
> Brian Rogers wrote:
>> 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
>>   
> 
> ------------------------------------------------------------------------------
> 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
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Custom-Action---tp2752485p2811418.html
Sent from the wix-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
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