What if I had used SmartMonitor?

For this tutorial I Originally had SmartMonitor enabled and this is what I got instead:

Frame5


-In Setup Editor view, Tables tab

-Press Ctrl-F and enter [!



-When one is found, check to see if that value in the registry of the Snapshot PC has the Long file path or the Short file path.

Frame6

Here the root column is 0 which means the CLASSES_ROOT hive.

Therefore we look in the registry for:

HKCR\TypeLib\{5852F5E0-8BF4-11D4-A245-0080C6F74284}\1.0\HELPDIR



Here I used Installation Expert view to find it:

Since the path is C:\Program files\ . and not C:\Progra~1\... WPS should have encoded starting with [# but instead encoded it starting with [!. In this particular case, Sun’s JVM will puke on such a thing. To fix it we change the [! to [#.


This happens at 12 places in the package including the example above:

HKCR\TypeLib\{5852F5E0-8BF4-11D4-A245-0080C6F74284}\1.0\HELPDIR

@ [!j2re1.4.2_03]\javaws\

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\javaws.exe

Path [!j2re1.4.2_03]\javaws

HKLM\SOFTWARE\JavaSoft\Java Web Start\1.4.2_03

Home [!j2re1.4.2_03]\javaws

HKLM\SOFTWARE\JavaSoft\Java Web Start\1.2.0_01

Home [!j2re1.4.2_03]\javaws

HKLM\SOFTWARE\JavaSoft\Java Web Start\1.2

Home [!j2re1.4.2_03]\javaw

HKLM\SOFTWARE\JavaSoft\Java Web Start\1.0.1_04

Home [!j2re1.4.2_03]\javaws

HKLM\SOFTWARE\JavaSoft\Java Web Start\1.0.1_03

Home [!j2re1.4.2_03]\javaws

HKLM\SOFTWARE\JavaSoft\Java Web Start\1.0.1_02

Home [!j2re1.4.2_03]\javaws

HKLM\SOFTWARE\JavaSoft\Java Web Start\1.0.1

Home [!j2re1.4.2_03]\javaws

HKLM\SOFTWARE\JavaSoft\Java Runtime Environment\1.4.2_03

JavaHome [!j2re1.4.2_03]

HKLM\SOFTWARE\JavaSoft\Java Runtime Environment\1.4

JavaHome [!j2re1.4.2_03]

HKLM\SOFTWARE\JavaSoft\Java Plug-in\1.4.2_03

JavaHome [!j2re1.4.2_03]