Re: [WiX-users] select file dialog

2008-04-23 Thread Patrick Kranz
Thanks very much for this hint. After refreshing my small C++ skills I 
was now able to solve this issue :)

Best regards,
Patrick


dB. schrieb:
> We use a C++ custom action that calls GetOpenFileName for this. 
>
>   OPENFILENAME ofn = {0};
>   TCHAR szFilters[] =
>   //_T("All Files (*.*)\0*.*\0")
>   L"Pem File (*.pem)\0*.pem\0";
>
>   ofn.lStructSize = sizeof(ofn);
>   ofn.hwndOwner = GetForegroundWindow();
>   ofn.lpstrFile = szOriginalPath;
>   ofn.nMaxFile = ARRAYSIZE(szOriginalPath);
>   ofn.lpstrFilter = szFilters;
>   ofn.nFilterIndex = 1;
>   ofn.lpstrFileTitle = NULL;
>   ofn.nMaxFileTitle = 0;
>   ofn.lpstrInitialDir = NULL;
>   ofn.Flags = OFN_PATHMUSTEXIST | OFN_FILEMUSTEXIST;
>   //ofn.Flags = OFN_HIDEREADONLY; 
>   
>   if (GetOpenFileName(&ofn) == TRUE)
>   {
>   }
>
>   

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] select file dialog

2008-04-16 Thread dB.
We use a C++ custom action that calls GetOpenFileName for this. 

OPENFILENAME ofn = {0};
TCHAR szFilters[] =
//_T("All Files (*.*)\0*.*\0")
L"Pem File (*.pem)\0*.pem\0";

ofn.lStructSize = sizeof(ofn);
ofn.hwndOwner = GetForegroundWindow();
ofn.lpstrFile = szOriginalPath;
ofn.nMaxFile = ARRAYSIZE(szOriginalPath);
ofn.lpstrFilter = szFilters;
ofn.nFilterIndex = 1;
ofn.lpstrFileTitle = NULL;
ofn.nMaxFileTitle = 0;
ofn.lpstrInitialDir = NULL;
ofn.Flags = OFN_PATHMUSTEXIST | OFN_FILEMUSTEXIST;
//ofn.Flags = OFN_HIDEREADONLY; 

if (GetOpenFileName(&ofn) == TRUE)
{
}

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Patrick
Kranz
Sent: Wednesday, April 16, 2008 10:38 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] select file dialog

Hello everyone,

I am playing around with WiX for quite some time now but I am a little 
stuck at the moment. Is there any ready-to-use dialog like the browse 
dialog that allows me to select single files?

I need to install SSL certificates during my installation and these 
certificates should be provided by the user during the installation. 
Therefore I need some sort of dialog where the user can choose the 
certificate (.pfx) file.

I appreciate every help.

Best regards,
Patrick



-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/j
avaone
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] select file dialog

2008-04-16 Thread Bob Arnson
Patrick Kranz wrote:
> I am playing around with WiX for quite some time now but I am a little 
> stuck at the moment. Is there any ready-to-use dialog like the browse 
> dialog that allows me to select single files?
>   

No. Unfortunately, MSI doesn't expose a list view that shows files.

-- 
sig://boB
http://joyofsetup.com/



-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] select file dialog

2008-04-16 Thread Patrick Kranz
Hello everyone,

I am playing around with WiX for quite some time now but I am a little 
stuck at the moment. Is there any ready-to-use dialog like the browse 
dialog that allows me to select single files?

I need to install SSL certificates during my installation and these 
certificates should be provided by the user during the installation. 
Therefore I need some sort of dialog where the user can choose the 
certificate (.pfx) file.

I appreciate every help.

Best regards,
Patrick


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users