Open main menu

CDOT Wiki β

Changes

XUL Application Packaging

2,873 bytes added, 17:26, 13 December 2008
Project News
* October 16, 2008
** Working Solution: Using the Stack I am able to get 2 levels deep, it will work for basic XULRunner applications
 
*October 20, 2008
** Figured out how to go through the directories recursivly
 
* October 24, 2008
** XRap version 0.1 Officially Released
 
* November 4, 2008
** It was suggested to make this an entirely XULRunner based program, it makes sense, so today I made a simple XUL app, with some buttons, label and textbox.
** I figured out how the XUL file and the JavaScript file are linked, which is by using <command> in the XUL file to call a function in the JavaScript file.
** Hooked up the buttons to output text from a textbox to a label
 
* November 9, 2008
** Looking into doing File I/O, Mark Finkle directed me to a page on MDC, and I found some stuff on XULPlanet
** Managed to read a file, as well as get the Directory name where the file was located
** Learned about .leafName from some guys on IRC, which gets the name of the directory or file, without the need to parse it (I had to parse through the path to the directory/file using string manipulation)
 
* November 14, 2008
** Started reading about creating an XML document in XUL, there is very little documentation on it
** After a long conversation in the #Xulrunner channel, I was directed to use the JavaScript implementation of XML
 
* November 16, 2008
** XML turned out to be quite easy in JavaScript, in creating the nodes from the XML document
** I ended having to use the nsIDOMSerializer interface and the xmlserializer component to make the XML file
** I am getting a better handle on how JavaScript works, and figured that XUL is used for creating controls for an app, while the JavaScript gives those controls its functionality
 
* November 22, 2008
** I can't seem to findout how to run a execute a program from JavaScript, it seems to be practically forbidden
** Found a simple JavaScript GUID generator, I don't feel like its the best solution though, I'm looking for a GUID generator function in JavaScript
 
* November 25, 2008
** Mark Finkle commented on my blog about the nsIUUIDGenerator interface, for generating the GUID for the WiX file
 
* December 2, 2008
** The guys in #Xulrunner told me to look into nsIProcess for running external applications
** Created a batch file to executing the candle.exe and light.exe WiX programs, to compile and link the wix files
 
* December 4, 2008
** Found the.run() function of nsIProcess, which can execute candle.exe and light.exe from the command line, without the need of creating a batch file.
** Fixing compile errors I get when the WiX programs candle.exe and light.exe run against the .wxs file XRap creates
 
* December 6, 2008
** Adding validation to the code, to check for files WiX files created before
** Adding validation to check for the XULRunner runtime, and if its directory is in the applications directory
 
* December 10, 2008
** Removing unnecessary code, and fixing the UI
 
* December 13, 2008
** XRap v0.3 for Windows is Released
==Releases==
1
edit