Error accessing the OLE registry

Started by spick56, July 02, 2010, 05:34:55 AM

Previous topic - Next topic

spick56

Hi,
 
Today I downloaded the latest InnoScript (V10.2.15) and ran it to create a script file, based on my existing InnoScript .pjt file.  
All went OK so I invoked InnoSetup by clicking Inno Setup 5.2.3 button.
When I ran InnoSetup I got an error (that I've been getting for a while) re: {app}\MyApp.exe, as follows:
  Root: HKCR; SubKey: MyApp.Document\Shell\Open\Command; ValueType: string; ValueData: {app}\MyApp.exe %1, open; Flags: uninsdeletevalue; Tasks: Association1
 
When I remove the quotes and have only {app}\MyApp.exe then it runs past that point but fails just before the end of instalation, as per the following error:
    C:\Windows\system32\stdole2.tld.
     Unable to register the type library: Register TypeLib failed; code 0x8002801C.
     Error accessing the OLE registry.

 
I then installed the latest InnoSetup (V5.3.10) however I got the same result.
When I uninstalled the latest InnoScript and reinstalled my previous version (V9.3.0) I still got my old error re: the quotes but after I removed those all worked ok.
 
It's pointing at InnoSCript even though the error occurs when running InnoSetup.
 
Any ideas as to what may be causing it?
 
Cheers
 
P.S. I'm running Vista OS with latest patches.