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
Hey Dieter,
It will be difficult to achieve what you are looking for using the native
Windows Installer UI. You could look at the file browse dialog used in
WixUI_InstallDir. From there I would look at using a custom action to
validate the property value selected. If it isn't valid, prompt a warni
Hi,
I really hope you can help me. I wrote an installer that works, but now I need
a interface, where the user have to choose a file with a certain name. It is
possible that there are more than one file with this name. And I have to get
the path of this file while the installation so i can set
7 matches
Mail list logo