It might be something like that, but I'm not sure if it works:

You need to publish a property from the control you use for dialog selection 
(or maybe you use Mondo already?)

<Control Id="MyInstallDirDlg" ...>
    <Publish Property="CA_PATH" Value="[PATH]"/>
</Control>

Now you can reference your CA_PATH (using the sugestions from my previous 
emails) within your CA.
    
See if it works.

Dacian



----- Original Message ----
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
To: fiordean dacian <[EMAIL PROTECTED]>
Sent: Tuesday, July 3, 2007 12:42:24 PM
Subject: Re: [WiX-users] Fw:  deffered custom actions

thats works.


<Control Id="NameUserLang" Type="Text" X="212" Y="50"  Width="101" Height="18" 
UserLanguage="yes" Text="[PATH]"/>
 this control is under some dialog box.and this displays the path which user 
selected.Now i want to pass this path to my dll using custom action.



    <CustomAction Id="MyAction" Return="check" Execute="deferred" 
BinaryKey="dll" 
                                              DllEntry="Print" HideTarget="yes" 
/>
    <Binary Id="dll" src="dll.dll" />
    
<CustomAction Id="MyAction.SetProperty" Return="check" Property="MyAction" 
Value="[PATH]" /> 
    
<InstallExecuteSequence>

<Custom Action="MyAction.SetProperty" After="InstallFiles"/> 
<Custom Action="MyAction"   After="MyAction.SetProperty" /> 

</InstallExecuteSequence>


But this gives dosent allocate memory or some problem with the buffer i have 
allocated in my dll with msigetproperty...

what should i do...

DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the 
property of Persistent Systems Pvt. Ltd. It is intended only for the use of the 
individual or entity to which it is addressed. If you are not the intended 
recipient, you are not authorized to read, retain, copy, print, distribute or 
use this message. If you have received this communication in error, please 
notify the sender and delete all copies of this message. Persistent Systems 
Pvt. Ltd. does not accept any liability for virus infected mails.







       
____________________________________________________________________________________
Sick sense of humor? Visit Yahoo! TV's 
Comedy with an Edge to see what's on, when. 
http://tv.yahoo.com/collections/222
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to