Monday, October 10, 2011

connectify.me caused Virtualbox 4.1.4 installation to fail

Am relating my experiences here in the hope that it helps someone.


I was happily running VirtualBox 4.1.2 on Windows 7 64-bit, with connectify.me.

When VirtualBox 4.1.4 was released, my problems started. The installer for 4.1.4 uninstalled 4.1.2 properly, but it couldn't install properly, hanging at around the 80% mark (on the progress bar), without any error messages or CPU/hard-disk activity. The installer was still listed in the task manager, and could be terminated gracefully. However it simply refused to complete.

On a gut feel, I uninstalled connectify.me, went through the requisite reboots, and the subsequent installation of Virtualbox 4.1.4 went without a hitch.






Sunday, August 7, 2011

Customizing Windows 7 Explorer Infotip

Expanding on my previous post on
Customizing Windows 7 mp3 infotip to display album, song title, in this post, I try to explain a little more on customizing Windows 7 Explorer infotip in a generic manner, for any type of files already recognized by Windows.



A registry entry in HKEY_CLASSES_ROOT\SystemFileAssociations\ contains settings for how Windows behaves for different types of files, according to the file extension. Very often, for each extension, an entry named "FullDetails" as well as "InfoTip" exists.

The "FullDetails" entry contains all the file information that Windows understands for this type of file. For example, for a MP3 file, information such as "System.Music.AlbumTitle" and "System.Audio.EncodingBitrate" are available, representing the album title, or the audio bitrate of the the MP3 file.

The "InfoTop" entry, in comparison, contains the file information that Windows will display, when you hover the mouse over a file in Windows Explorer. It already contains some sensible values, but if you would like more information, or a different set to be displayed, look inside "FullDetails" to find the property that seems closest to the information you're trying to display, and insert that property into the "InfoTip" entry, in the order you desire. Properties are separated with a semi-colon (;).
 

HKEY_CLASSES_ROOT\SystemFileAssociations\.jpg

To give another real-life application, the default information displayed for JPG picture files are only the file type (JPG), the date taken, rating, the size of the picture (in pixels), and the size of the file.


Or in other words, the registry Infotip entry contains the following properties by default:
prop:System.ItemType;System.Photo.DateTaken;System.Keywords;*System.Photo.PeopleNames;System.Rating;*System.Image.Dimensions;*System.Size;System.Title

I would like to display more information in the Windows Explorer infotip, so I changed the registry entry to:
prop:System.ItemType;System.Photo.DateTaken;System.Keywords;*System.Photo.PeopleNames;System.Rating;*System.Image.Dimensions;*System.Size;System.PropGroup.Camera;System.Photo.CameraManufacturer;System.Photo.CameraModel;System.Photo.MeteringMode;System.Photo.ExposureProgram;System.Photo.ExposureBias;System.Photo.ExposureTime;System.Photo.FNumber;System.Photo.ISOSpeed;System.Photo.WhiteBalance;System.Photo.LensManufacturer;System.Photo.LensModel;System.Photo.FocalLengthInFilm;System.Photo.FocalLength;System.Photo.SubjectDistance;System.Photo.Flash;System.Photo.FlashEnergy;System.Photo.FlashManufacturer;System.Photo.FlashModel;System.Photo.LightSource;System.Title

Now, I no longer need to open another program just to see various technical details for the image.


For completeness, image files are historically named JPEG. Therefore I would apply the same changes to "HKEY_CLASSES_ROOT\SystemFileAssociations\.jpeg" so that the same information is displayed for JPEG files.