Hi
I am using the example given in wixwiki.com to create an application. 
The folder path selected is stored in the Property WIXUI_INSTALLDIR. 

 <Publish Dialog="InstallDirDlg" Control="Next" Event="SetTargetPath"
Value="[WIXUI_INSTALLDIR]" Order="1">1</Publish>
      <Publish Dialog="InstallDirDlg" Control="Next" Event="NewDialog"
Value="VerifyReadyDlg" Order="2">1</Publish>
      <Publish Dialog="InstallDirDlg" Control="ChangeFolder"
Property="_BrowseProperty" Value="[WIXUI_INSTALLDIR]" Order="1">1</Publish>
      <Publish Dialog="InstallDirDlg" Control="ChangeFolder"
Event="SpawnDialog" Value="BrowseDlg" Order="2">1</Publish>
      
Now I am not sure how to call My Custom DLL. Presently I am calling it by
<Binary Id="SampleDllCa" SourceFile="Sample.dll" />
        <CustomAction Id="MyCustom" BinaryKey="SampleDllCa" DllEntry="[EMAIL 
PROTECTED]" />

 <InstallExecuteSequence>
 <Custom Action="MyCustom" After="InstallFinalize" />
 </InstallExecuteSequence>

I am trying to display the destination folder path selected through Wix UI.
MsiGetProperty(hInstall,"WIXUI_INSTALLDIR",folderName,&folderLen)

But the value appearing in the Message Box on entering the DLL is
"TARGETDIR" which is because of 
<Property Id="WIXUI_INSTALLDIR" Value="TARGETDIR" />

How to obtain the new folder path that the user is selecting in the Wix UI?
 I think I am making a mistake in InstallExecuteSequence. :confused:
I want to invoke the custom dll on click of next button. 

Please help. Thanks.
-- 
View this message in context: 
http://www.nabble.com/Invoke-custom-DLL-on-clicking-Next-Button---reading-the-destination-directory-using-MSIGetProperty-tf4961836.html#a14211747
Sent from the wix-devs mailing list archive at Nabble.com.


-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to