Just wanted to say thanks to Edin for getting the installer building alongside the normal snapshot builds.
The big thing that got this done was going thru the Feature list and removing those Features without Components that where in the Extensions.wxs file. However, the XPath queries were spotty at best. The clean way of doing this by iterating thru all of the ComponentRefs in ExtensionFeatures.wxs and doing an XPath query on each one would often skip many results, so I had to do the less-than-elegant way and iterate thru the results of getElementsByTagName(”Component”) for each ComponentRef. At least it works now…
I’m also working on the making the installer work for PHP 6; it’s mostly a bunch of %s/php5/php6/g thru the files, so it should be out there relatively quickly.
April 30, 2007
Posted by
John Mertic |
Computing, PHP, Programming |
|
No Comments
I’ve reworked the code to configure IIS and Apache to use CustomActions that are included directly in the MSI itself instead of running the installed scripts apacheconfig.php and IISConfig.exe; the big advantage is that I can access installer features and properties directly and now can add uninstaller actions to remove the web server configurations.
Here’s the changes:
- Updated Apache configuration; tries to look for directives already existing and comments them out. Also removes the added directives on uninstall.
- Remove IIS configuration on uninstall.
- Force installer to be run by an administrator; should help with Vista issues.
- Other bug fixes ( see list )
The next Release Candidate build should have the changes.
April 24, 2007
Posted by
John Mertic |
PHP |
|
No Comments