Hi Guillaume,...

The MSI does not support the File browse dialog.
You should check the CFileDialog class in MFC
http://msdn2.microsoft.com/en-us/dk77e5e7(VS.80).aspx

Here is a snippet of the code I was using for the same purpose:

extern "C" UINT __stdcall CAOpenFileDialog(MSIHANDLE hInstall)
{
        CFileDialog dlg;
        if(dlg.DoModal() == IDOK)
        {
                // do something
        }
        return ERROR_SUCCESS;
}

Regards

Stefan

Guillaume Girard wrote:
> Hi,
> 
> I can't find any support in Wix (or rather, in MSI) for building a file 
> chooser dialog. In particular, I'm missing a file list control. Am I 
> just being confused?
> 
> If this is indeed not supported by Wix/MSI, how would you go building 
> one? I thought of having a custom action filling in a list view, but I'm 
> a little doubtful about re-writing the whole logic behind a file chooser 
> dialog. Would it be possible to use a dialog from another UI in a custom 
> action?
> 
> Regards,
> Guillaume Girard.
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier.
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies | www.whitestein.com
Panenska 28 | SK-81103 Bratislava | Slovak Republic
Tel +421(2)5930-0735 | Fax +421(2)5443-5512

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to