   
spick56
Junior Member Username: spick56
Post Number: 76 Registered: 03-2006
Rating: N/A Votes: 0 | | Posted on Wednesday, December 07, 2011 - 05:35 pm: | |
When I create my script (using IS v11.1.2) for a VB6 project I see the following item in the resulting InnoScript: Source: C:\Program Files (x86)\Randem Systems\InnoScript\InnoScript 11\VB 6 Redist Files\stdole2.tlb; DestDir: {sys}; Flags: regtypelib restartreplace uninsneveruninstall; I recently upgraded from an earlier version of IS to v11.1.2 and haven't noticed that entry previously but mind you I have made some changes to my application so I don't know if that has anything to do with it. My problem is that when I try to install my application on my laptop (where it was compiled) it installs properly however if I try to install it on a Vista PC I get the following error: c:\Windows\system32\stdole2.tlb Unable to register the type library: RegisterTypeLib failed; code 0x8002801C. Error accessing OLE registry. When I comment that line in InnoSetup and try to install the package on the Vista PC then it installs OK but I get "Error (429) - ActiveX component can's create object (Main:Main)" although at this stage I don't know if the two are related. My questions are: a) should IS be creating that entry because my understanding is that every OS has its own stdole2.tlb and therefore shouldn't be included in an installation and b) if point a) is not correct then can you tell me what am I doing wrong? Thanks, Mike |