installer: August 2008 Archives

Hi!

Proudly presenting you the new beta of Installer - 4.0b6.

New and changed:
  • Search. It searches among packages from the repositories you have added, and, if you let it sit for 5 seconds, will query our server and return packages that are available from repositories you don't have added (that we know about) with an option to automatically add and install. Repository owners, upgrade to the latest version of the repo code (below) to have your repository added to the search engine.
  • Uninstall now works correctly.
  • Fixed a lot of locking issues especially with custom HTML info pages.
  • Updated the Categories and Tasks icons so they are less ugly.
  • Fixed a bug with multiple copies of Installer appearing in Installed Packages under some circumstances.
  • Installer will now correctly check and prompt for an update of itself.

Also, to accompany the Installer release, a new edition of the Repository code is up. Grab it here: repo-r1114.zip

What's new in the repo code?
  • Added an option to ping the Installer search server so it reindexes your repository. The ping occurs during regenerate.php run.
  • Much better handling of ZIP archives, since this is what most people had troubles with. It now attempts to determine which way to use to unzip your files (PEAR::ZipArchive, zip_open or shell_exec("unzip")). Please note that we didn't test zip_open piece of the code as we don't have a server with that plugin compiled in PHP.
  • DOMDocument::load() should work under PHP4. We hope.
  • Slightly better handling of the multiple versions of the same package.
How to upgrade? Simply replace regenerate.php with the new one, and add new configuration parameters from config.inc.default.php to your config.inc.php. There are two: REPOSITORY_URL, that should have a full path to your repo (with a trailing slash), and ZIP_CMDLINE_PATH (only add this if needed). Refer to config.inc.default.php for the descriptions and copy-paste goodness.

Don't forget to regenerate your repositories once upgraded, and also don't forget to put 2.0.2 into POSSIBLE_FIRMWARE_VERSIONS array so people on the new firmware can see your packages!

Thanks. :)

Installer 4.0b5

| | TrackBacks (0)
installer4_nova.jpg
Thanks to your positive feedback and reports, we proudly present the immediate availability of Installer 4.0b5.

What's new?

  • Many visual enhancements and fixes in regards to source and packages display.
  • Fixed an issue with failing installs with dependencies under some circumstances.
  • Fixed a bug causing package information to be displayed incorrectly (size 0 bytes) on the first access, or when the custom information HTML page (such as packages from Big Boss' repository) was not displayed.
  • When updating a package, and one of its dependencies also has an update available, the dependency will be updated as well.
  • The package icons will only be downloaded when on the Wi-Fi to help you save on bandwidth.
  • The repositories are being refreshed upon Installer.app launch so you always stay on the bleeding edge with the updates. This is exeperimental behavior and we're not yet sure it will make it to the final release.
  • Fixed a script command Confirm that was returning invalid button index for the "OK" button.
  • Lots and lots of both cosmetic and internal application core fixes that improve the overall performance, presentation and stability of the application.
Meanwhile, we have also took the opportunity and updated Community Sources package. It now includes a repository for modmyifone.com (which needs no introduction, imho), and iphone-notes.de that has BSD Subsystem and OpenSSH, as well as numerous carrier bundles and other useful stuff.
Looking at the comments for the previous post, I've decided to summarize a little bit a list of common problems with the repository code.

My packages don't show up!
First of all, make sure that you have placed the packages in the correct folder. The proper location is packages/<Category Name>/package.zip. Many of you put the zip file right into the packages/ directory - this won't work as it has to know the category for it, too. So make sure your, for example, wallpaper, is in packages/Wallpapers/MyGreatWallpaper.zip.

I get "cannot extract Install.plist" error when running regenerate.php!
Make sure you have compressed your package in a way that all files are contained at the root of the zip archive, and not in a subfolder. This is easily done (on a Mac) by selecting all the individual files that go into package and choosing Compress from the contextual menu, instead of compressing the folder containing your files. This can be checked in Terminal.app by running zipinfo <your zip file>: if you see something like MyPackage/Install.plist in the listing instead of just Install.plist - your package is not compressed correctly.

Errors with DOMDocument->load() not defined.
Currently investigating why this may be happening. If you have an idea, let me know. :)

...to be continued, if necessary...

Hello,

This is a first entry on the new blog, we hope you like it. :) We'll keep the posts here short and to the point.

Meanwhile, please find below the link for the source code for the Installer 4 repository - in PHP - essentially, all you need to quickly set up your repository. :) The archive contains the code itself, documentation, and a few sample packages. Questions? Comments? Leave a comment here.

Download the current repository code: repo-r1050.zip

Please keep the comments to the topic of this post. We are working on the Installer update and will keep you informed here... in a separate post. All comments not on the post topic will be deleted.