1
edit
Changes
→XULRunner
[http://jsdoodnauth.wordpress.com/2008/11/26/xul-file-io-write-files/ Writing Files in XUL]
----
==== The File Picker ====One of the goals of this packager is for it to be platform independent. By using the File Picker, not only does it make it easy for the end-user to select the location of their application, but nsIFilePicker will return a platform specific path to the program. function openDirDialog() { const nsIFilePicker = Components.interfaces.nsIFilePicker; var fp = Components.classes["@mozilla.org/filepicker;1"] .createInstance(Components.interfaces.nsIFilePicker); fp.init(window,”Select Directory”,nsIFilePicker.modeGetFolder); var ret = fp.show(); if (ret == nsIFilePicker.returnOK || ret == nsIFilePicker.returnReplace) { applicationPath = fp.file.path; document.getElementById(’tb_inputPath’).value = applicationPath; } }There are different modes which the File Picker can operate which can be found [http://www.xulplanet.com/references/xpcomref/ifaces/nsIFilePicker.html here]----
===Windows Development - [http://wix.sourceforge.net/ WiX]===