Friday, March 2, 2012

MSI Error 1723: There is a problem with this windows installer package.

MSI file installation errors out with "1723: There is a problem with this windows installer package.". If you try to launch a .vbs file, you get the error message "Can't find script engine "VBScript" for script "filename""

This is caused by an invalid file specified in the following Registry Value:
HKEY_CLASSES_ROOT\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32\Default .

The value should, in most cases be "C:\Windows\system32\VBScript.dll"

In my case, it was set to "C:\Program Files\McAfee\VirusScan Enterprise\scriptsn.dll". Apparently this was leftover from a previously uninstalled copy of McAfee VirusScan Enterprise 8.7i, which we no longer use.

In order to edit the value, you should edit the permissions on "HKEY_CLASSES_ROOT\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32" to give Administrators Full Control.

Thursday, January 26, 2012

Repair Missing / Incorrect Product Name in HP Desktop BIOS.

The Product Name / SKU Number / Serial Number in an HP Desktop BIOS are not available for editing by default.

While in the bios, press Ctrl+A , and then go to Security>System ID's. The missing editable fields are now available for editing.
wmic csproduct get name

Windows command line to return Model Name from BIOS. Tested with HP Desktops / Laptops successfully.

Monday, August 15, 2011

Word Frequency Generator links

I just spent 30 minutes searching the web and found these two useful word list frequency generators:

http://rainbow.arch.scriptmania.com/tools/word_counter.html

http://writewords.org.uk/word_count.asp

Thursday, January 6, 2011

Internet Explorer Homepage "Hijack"

Every new user that would log into a system with a particular image on it would have their homepage redirected to "http://ie.redirect.hp.com/svs/rdr?TYPE=3&tp=iehome&locale=en_US&c=93&bd=all&pf=cmdt" , even though the Default User Profile had the homepage set to http://www.google.com/. This was a one time thing, once the user changed the homepage it would stick.

After much trial and tribulation, I found the culprit. It is a file called "C:\Program Files\Internet Explorer\SIGNUP.ins"

At the end of the file, some HP bloatware appended the following lines:
[URL]
Home_page=http://ie.redirect.hp.com/svs/rdr?TYPE=3&tp=iehome&locale=en_US&c=93&bd=all&pf=cmdt
FirstHomePage=http://ie.redirect.hp.com/svs/rdr?TYPE=3&tp=iehome&locale=en_US&c=93&bd=all&pf=cmdt


After removing the lines, the homepage for new users was Google once again.

Friday, December 3, 2010

pyGTK issues on with Python 2.7 , GTK 2.22.0 and Windows 7

I just installed Python, pyGTK, GTK+ on this system, and wrestled with getting Python to load GTK for a couple hours.

Everytime I would open Python and type "import gtk", I would receive the following error:

Traceback (most recent call last):
File "", line 1, in
import gtk
File "C:\Python27\lib\site-packages\gtk-2.0\gtk\__init__.py", line
40, in
from gtk import _gtk
ImportError: DLL load failed: The specified procedure could not be found.
>>>

I could not get past this error until the following:

a) made the GTK runtime bin directory path to the first item in the PATH system variable (maybe something else like GIMP has a GTK dll that isn't compatible)

b) restarted the computer (killing and restarting explorer seems to update the path statement for the session, but not for some applications.)

Thursday, November 11, 2010

Sleep and Hibernate Greyed Out

On Windows Vista or Windows 7, Sleep and Hibernate may be disabled if you have a legacy driver installled.

You can find the offending driver by running "powercfg -Hibernate ON" from the command prompt.

I received a message like this:

The following items are preventing hibernation on this system.
There are one or more legacy drivers installed:
LMCPort



...Now I just have to figure out what to do with that legacy driver to make it work.