HELP - How do I Import a HKEY_CLASSES_ROOT .reg key into a layer?

This issue has been solved. See solution.
belton72's picture

Hi,

I have packaged Adobe Acrobat Reader 9 following the instructions from the user 'trb48'... https://www-secure.symantec.com/connect/articles/creating-layer-adobe-reader-9

As per the instructions I have captured using a 'Single Program Capture' but everytime we click on a .PDF on the Web using IE7 we are presented with a pop-up dialog saying Acrobat/Reader is not running...

According to Adobe there are two workarounds as per the following KB article... http://kb.adobe.com/selfservice/viewContent.do?externalId=kb405461

The question is how do I place the HKEY_CLASSES_ROOT reg key into the VSA.

The string will be different. Also should it go into the READ only layer for User/HKLM?

Any help would be appreciated.

Thanks,

RL

AngelD's picture

Manually edit

Why not edit the layer and create the registry keys & value?
You could also just edit the redirection area directly.

I would put it in the read-only sublayer under HKLM\SOFTWARE\Classes\Software\Adobe...

belton72's picture

Update

Hi AngelD,

Hmm. I ended up adding the key as 'HKLM\SOFTWARE\Classes\Software\Adobe\Acrobat\Exe'

With the default value set as 'C:\Program Files\Adobe\Reader 9.0\Reader\AcroRd32.exe' but I'm afraid this didn't resolve the issue.

Back to the drawing board I suppose.

AngelD's picture

I think you need to

I think you need to use the "svs" defined folder for ProgramFiles, can't remember the exact name for it but I would guess you should find at least one reference to it in your current layer (something like [ProgramFiles].

Jordan's picture

it's [_B_]ProgramFiles[_E_]

it's [_B_]ProgramFiles[_E_] but the hard coded path should work.  You should use the SVS variable over %ProgramFiles%.

If a forum post solves your problem please flag is as the solution

I you like an article, blog post or download vote it up

AngelD's picture

Thanks Jordan

Thanks Jordan for providing the correct folder reference, never can't remember those.

Jordan's picture

Looks like it might be a bad

Looks like it might be a bad capture/install or even something else-not sure what would block acrobat from loading in this case, I just checked with the latest SVS version (2.1.3071) and I cannot replicate this on Windows XP.

My suggestion would be to try this on a clean machine/VM and see if you're still getting the error.

If a forum post solves your problem please flag is as the solution

I you like an article, blog post or download vote it up

belton72's picture

Found the problem

Solution

Hi all,

The problem wasn't with SVS it was with the Adobe Customisation Wizard...

When creating a pure MSI using both the Adobe Customisation Wizard 9.0.0 and Reader 9.1 we were able to recreate this problem everytime.

Yet when our packager (thankfully we employed one) created the MSI using ORCA we were not able to recreate the problem.

I'd say thats a bit more than a coincidence.

Now we captured the new MSI (created in ORCA) into a SVS layer all is well. :)

Thanks,

RL