If I understand your question correctly, you would likely want to use the PalmSource Installer version 1.5. Version 1.5 packagebuilder.exe supports creating a single packaged *-installer.prc file with a *.prc and two *.pdb files. This compressed .prc format was not supported in version 1.0 of the PalmSource Installer which is included with PODS 1.1. The files would be compressed using standard zip format. The preferred method is to use *.psi for over the air downloads, but if you are looking for one application *-installer.prc with multiple files to be extracted on the device side for a variety of user devices (OS 3.5 to OS 6.1.0) this could be your solution.
Steps to Create *-installer.prc: 1. Download the latest PalmSource Installer developer kit from http://www.palmos.com/dev/tools/installer/. 2. Create PSML. The PSML (xml) would look like the following. For reference this is from the tangle.psml sample included with the kit. Note the CreatePRC="true" in the xml. Also, you might want to consider the target device and possibly require your pdb be installed to card, note the InstallToCard="Required": <?xml version="1.0" encoding="UTF-8"?> <PalmOSInstaller xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://installer.palmsource.com/psi.xsd"> <Notes> This game, Tangle, requires 2 files be installed. The Package Builder utility takes both of these files and puts them in one file and compresses them for a more efficient download. The resulting .PSI file can be installed over the air (OTA) to devices or via the PalmSource Installer desktop software. This sample also demonstrates installing an MP3 file to a specific expansion card directory - but only to a TapWave Zodiac. </Notes> <Publisher Name="Nth Lab"> <ContactInfo Type="Support"> <Address1>144 South 3rd St. #433</Address1> <City>San Jose</City> <State>CA</State> <Country>USA</Country> <Zip>95112</Zip> <URL>www.nthlab.com</URL> <Email>[EMAIL PROTECTED]</Email> </ContactInfo> </Publisher> <Product CreatePRC="true" Title="Tangle by R. Webb" Description="Tangle is a drag-and-drop puzzle game of endless variations for Palm OS. Please register if you enjoy the game. " DisplayVersion="1.02" ID="Tangle" Version="1.0.2.0" DownloadURL="http://www.palmsource.com/installer/samples/Tangle/Tangle.psi"> <Output Filename="..\..\SampleWebPages\Tangle\Tangle.psi"/> <Component Description="Tangle for Palm OS" Platform="PalmOS"> <HandheldFile AllowRun="true" Filename="Tangle.prc" InstallToCard="OK" Title="Tangle Game"/> <HandheldFile Filename="TnglStandard.pdb" InstallToCard="No" Title="Tangle Puzzle Data"/> <Select Type="DeviceID"> <When Description="Tapwave" DeviceID="Tpwv"> <HandheldFile Title="Background Music" OTAExclude="true" Filename="Tangle.mp3" InstallToCard="Required" OutputDirectory="/AUDIO"/> </When> </Select> </Component> </Product> </PalmOSInstaller> 3. Place your prc and pdbs in the same folder along with your psml file and packagebuilder.exe file. At the command line using packagebuilder.exe version 1.5 enter the following: Packagebuilder sampleapp.psml Your *.installer.prc file will be output. -Jeremy -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ute ochcyklar Sent: Friday, April 29, 2005 6:38 AM To: Palm Developer Forum Subject: Installing both application and database(s) at the same time Hello! My problem is as follows: My application reads data from two different databases which are created outside the palm (typically by another program). But I want to be able to install my program with them and with only a single .prc file. Is this possible? What i would like to do is to do it in the development environment which comes with the Palm Developer Suite (i guess its Eclipse), but I can't find any information about how that could be done. And if this is possible - are there any limits on the sizes of the databases included? (the total size of mine is like 24 megabytes) I hope someone can answer my questions. Searching on the web has given me very little. _________________________________________________________________ Hitta r�tt p� n�tet med MSN S�k http://search.msn.se/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
