Hi Pally, Thank you so much for your response! That gives me hope haha. I was actually reading the blog by Neil and had a question. I understand I can get the directory to be set but that's an installation directory. Can I create a custom directory OR can I actually use the INSTALLDIR (or whatever it is called) and when the installation is run can I trick the installer so instead of using the directory for installation folder actually snatch that directory to be stored in a variable within our code so our application knows where to look for the thumbnails?
We can fetched the thumbnails over the web just fine but now our application is deployed in the same machine where we fetch the thumbnails so instead of going through a loop with http request we can easily look for thumbnails in the local machine. The reason for asking the path for the folder is because thumbnails are not always stored in the same folder, as that is a preference that a user can set. The problem I was having was when I created a custom dialog (using orca)that asks whether the use wants our application to fetch the thumbnail over the web or just from their local machine. Opening a browse dialog works fine but every time I chose a folder and press 'ok' I'd get '2707' (target not specified). And wasn't sure exactly what was causing the problem. I'm assuming it probably has to do with custom action and was wondering if WiX had a better way of going about it. So my question still remains, is it possible to create a custom ID or variable to store the directory (which is not meant for installation but only purpose is to pass down the directory path into our code). I really hope that made sense... haha thanks, again! 1. The web stuff I'm not sure about. It's likely possible using custom actions as with most things. Someone else may have tried something similar but I don't think pulling arbitrary files off a web server is supported by default in the Windows Installer. 2. Very possible using standard Windows Installer UI controls. Have a look at the InstallDirDlg.wxs in the WiX 3.0 sources which does pretty much what you're trying to here except you'd need to hook it into the radio buttons first. You can even use the BrowseDlg in WiXUI without modification for your browse button. Neil Sleightholm's blog on customizing the WiXUI at http://neilsleightholm.blogspot.com/2008/08/customised-uis-for-wix.html should help point you in the right direction. Personally I'd tackle it as 2 separate issues and get the second part working as you'd like it to first, as the web stuff looks like it could take a lot of time to get working right but that's me and I could be wrong. Good luck Palbinder Sandher Software Deployment & IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the <Virtual Environment>** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -- View this message in context: http://n2.nabble.com/Reference-custom-directory-tp2670501p2685638.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users