While it's possible within the product.xml file to set the path for your Central application's icon as either a relative or an absolute URL, consideration has to be made about how the files for your application will be deployed.
The installation will work if all application files are located in a different directory to where the installer.swf and product.xml are hosted, but you may discover that the icon may be missing from the installation badge if you've used relative paths in product.xml.
This happened to me recently during the Certifiable (http://certifiable.daemon.com.au) development process and I'd been scratching my head as to what was causing it. Since the application was installing into Central and the icon was appearing in all the right Central places I'd presumed that product.xml was correct and the problem was being caused by installer.swf.
At this point I should probably have read the documentation for product.xml, but what's the point of that...
Instead I went to the trouble of going through the files for the installer supplied in the Central SDK where I eventually discovered an if/else statement that was checking if the address for the icon contained "http" so I figured to try the absolute path as well. That worked with great success.
<quickPlug endorsement="unpaid">
If you've not tried out Mike Chambers' most excellent Flash Resource Manager you should.
It's a real time saver, using it I went through the documentation for product.xml this morning to reconfirm the details for product.xml paths.
Find out more about it here: http://www.markme.com/mesh/archives/004700.cfm
</quickPlug>
Posted by Melody at 07:50 AM | Permalink
Trackback: http://blog.daemon.com.au/cgi-bin/dmblog/mt-tb.cgi/230

