Changes

Jump to: navigation, search

XUL Application Packaging

2,526 bytes added, 00:12, 27 January 2009
Windows Development
====XML in XUL====
===Windows Development- [http://wix.sourceforge.net/ WiX]=======Creating a Basic WiXfile====WiX begins with a fairly simple XML file, which will once compiled and linked will generate an msi installer. That's if you want to create an installer for your target users just to click and install completely automatically. The WiX file is labelled with a .wxs extension and has this XML schema:  <?xml version='1.0' encoding='windows-1252' ?> <Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'> <Product Name='FooBar' Id='ADD A GUID' Language='1033' Codepage='1252' Version='1.0.0' Manufacturer='Zoo'> <Package Id='DIFFERENT GUID' Keywords='Installer' Description='Zoo 1.0' Comments='None' InstallerVersion='100' Languages='1033' SummaryCodepage='1252'/> <Media Id='1' Cabinet='Sample.cab' EmbedCab='yes' DiskPrompt="CD-ROM #1" /> <Property Id='DiskPrompt' Value="Zoo Installer [1]" /> <Directory Id='TARGETDIR' Name='SourceDir' > <Directory Id='ProgramFilesFolder' Name'PFiles'> <Directory Id='Foo' Name='Foo'> <Directory Id='INSTALLDIR' Name='FooBar' LongName='FooBarApplication'> <Component Id='MainExecutable' Guid='A DIFFERENT GUID'> <File Id='FooBar.exe' Name='FooBar.exe' LongName='FooBarApplication.exe' DiskId='1' Source=...> <Shortcut /> </File> </Component> ...-> MULTIPLE COMPONENTS CONTAINING FILES </Directory> </Directory> </Directory> <Directory Id='ProgramMenuFolder' Name='PMenu' LongName='Programs'> <Directory Id='ProgramMenuDir' Name='FooBar' LongName... /> </Directory> <Directory Id='DesktopFolder' Name='Desktop' /> </Directory> <Feature Id='Complete' Level='1'> <ComponentRef Id='MainExecutable' /> ...-> ONE COMPONENTREF FOR EACH COMPONENT FROM ABOVE </Feature> <Icon Id='FooBar.exe' SourceFile='FooBarApp.exe' /> </Product> </Wix>This a very rough layout of the file, for a complete tutorial visit: [http://www.tramontana.co.hu/wix/ WiX Tutorial] ====WiX Tools====The main tools that most users will use:*candle.exe**is the Wix Compiler**which takes the .wxs creates a .wixobj*light.exe**is the Wix Linker**takes the .wixobj and creates a .msi *dark.exe**is a Wix decompiler**taking the .msi back to a wxs source file There is a great diagram of all of the Wix tools here: [http://wix.sourceforge.net/ coretoolset.html WiXToolset]<br />
== Project Plan ==
1
edit

Navigation menu