Tuesday, September 25, 2007

iTunes, QuickTime, and Windows 2000

Three cheers for progress.

Apple no longer supports Windows 2000 for QuickTime and iTunes, and one can surmise future software will be the same. Naturally, my work laptop runs Windows 2000 thereby excluding me from the updated Apple software.

Or does it?

Orca is a Microsoft tool for manipulating .MSI installer files. Using it to change the version checking of the MSI files, QuickTime and iTunes can be installed on Windows 2000.

Unfortunately, it doesn't quite work. QuickTime will install and, after making sure gdiplus.dll is installed, plays sample.mov. iTunes is not so lucky. Starting it results in the following dialog box:

iTunes.exe - Entry Point Not Found

The procedure entry point HeapSetInformation could not be located in the dynamic link library KERNEL32.dll.

HeapSetInformation is a function available in Windows XP and Vista but not 2000. iTunes uses it to enable a low-fragmentation heap. It's probably unnecessary, but it does prevent prevent iTunes from running.

It may be possible to bypass the function call and allow iTunes to run, but trivial modification of the iTunes executable doesn't work. iTunes does some hashing of itself for consistency purposes and stops running when it detects modification. This check would also need to be bypassed, so it may not be worthwhile.

To avoid downloading a whole SDK, grab Orca from here.

AppDeploy has good information on modifying MSI files.

Wednesday, July 18, 2007

Acrobat 8 (really 8.1)

Yesterday I upgraded from Acrobat 7.0 to 8.1. Naturally it didn't work. Acrobat would not start and instead I received an error about .joboptions. Adobe tried to be helpful and repair it by re-running the installer. Naturally that did not work. Neither did the tried and true uninstall-reinstall method.

The error was about the following files being inaccessible.
"C:\Documents and Settings\All Users\Application Data\Adobe\Adobe PDF\Settings\*.joboptions"

The solution is straight forward. Permissions on "C:\Documents and Settings\All Users\Application Data\Adobe\Adobe PDF\" were incorrect. The SYSTEM user had Full Control, but Everyone and Administrators only had Read permission. Not even List Folder Contents. Giving the Full Control permission to the directory let Acrobat run properly as the subdirectories were now accessible.

Update:
The exact error message is:

Unable to find "Adobe PDF" resource files.

"C:\Documents and Settings\All Users\Application Data\Adobe\Adobe PDF\Settings\*.joboptions"

Do you want to run the installer in repair mode?

You may also need to change the permissions for Adobe PDF and all the subdirectories. Otherwise you'll get messages from about Windows Configuring Adobe Acrobat when you try to right click and/or open Office programs.

And so it begins

Nothing much to say here. I just plan to post interesting computer problems, solutions and information. Hopefully others find it helpful.