IT WORKS!! I have to do a little tidying up and add the code to set my WIX
property with the selected file but the dialog now appears!
Thanks very much for your help Mike, I think I may be able to finish the
week on a high after all!
--
View this message in context:
http://windows-installer-xml
That's great Mike, thanks, I'll give it a go.
--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/OpenFileDialog-fails-in-Win7-tp5538592p5542668.html
Sent from the wix-users mailing list archive at Nabble.com.
--
I ran into this same problem when trying to use OpenFileDialog(). You need
to make a new thread with a different appartment type for the UI to show.
Here is a sample of what I did to make it work.
// create a new thread with appropriate apartment state to launch UI
FileBrowser fileBrowser =
Thanks for the reply Nick. I tried the BrowseDlg but it only goes down to
directory level and doesn't allow you to select individual files.
--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/OpenFileDialog-fails-in-Win7-tp5538592p5539413.html
Sent from
WiX does offer up a browse dialog control called DirectoryList. It's often
paired up with a PathEdit control to display the path you've selected, a
button to navigate up one directory (PushButton control that publishes the
DirectoryListUp event), a button to create a new folder (PushButton that
pu
5 matches
Mail list logo