RegisterTypeLib failed

Started by Randem, September 09, 2010, 11:10:22 AM

Previous topic - Next topic

Randem


webbiz

I won't know until someone else tries to install it. My systems never had a problem installing, so I imagined it had something to do with my systems already having the necessary files and registrations.
 
What part of this section would be necessary to troubleshoot this problem?
 
[Setup]
AppId=The Trading Calculators
AppName=The Trading Calculators
AppVerName=TTC 2.51
DefaultDirName={pf}TTC251
DefaultGroupName=TC
LicenseFile=D:PROGRAMMINGTTC260license.TXT
InfoBeforeFile=D:PROGRAMMINGTTC260beforetext.TXT
InfoAfterFile=D:PROGRAMMINGTTC260after.TXT
Compression=lzma
AppVersion=2.51
VersionInfoVersion=2.51
AllowNoIcons=no
DisableDirPage=auto
PrivilegesRequired=Admin
MinVersion=4.0,5.01
 
Thank you.

Randem

Well, the whole point of me asking was that I know something about the script that you do not know  . BTW: that is NOT the whole script. It will help me help you, that is why we wrote InnoScript...
 
Yes, the Auto OS Updater will add alot to your setup exe but if you do not know what to add it is the safest thing to do... Now does it work?

webbiz

Wow, adding the Auto OS Updater to my install script grew my setup.exe file from under 3MB to over 45MB!  
 
:-|

webbiz

What I posted was ALL the files under [Files]. Not sure what else in this script is worth looking at. Below are the other sections.
 
[Tasks]
Name: desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}
Name: quicklaunchicon; Description: {cm:CreateQuickLaunchIcon}; GroupDescription: {cm:AdditionalIcons}; Flags: unchecked
 
[Icons]
Name: {group}The Trading Calculators; Filename: {app}Ttc25_1.exe; WorkingDir: {app}
Name: {group}TTC Instructions; Filename: {app}ttc251.pdf
Name: {group}{cm:UninstallProgram, TTC251 }; Filename: {uninstallexe}
Name: {commondesktop}The Trading Calculators; Filename: {app}Ttc25_1.exe; Tasks: desktopicon; WorkingDir: {app}
Name: {commonappdata}MicrosoftInternet ExplorerQuick LaunchThe Trading Calculators; Filename: {app}Ttc25_1.exe; Tasks: quicklaunchicon; WorkingDir: {app};
 
[Run]
Filename: {app}Ttc25_1.exe; Description: {cm:LaunchProgram,The Trading Calculators}; Flags: nowait postinstall skipifsilent; WorkingDir: {app}
 
I'm not familiar with the Auto OS Updater, so I'll read up on it.
 
 
Webbiz

Randem

Yes, you should get that error. The next version of InnoScript will handle this automatically. In the meantime you will need to manually include the MDAC and JET installations or add the Auto OS Updater to the script (drop down selection) and add the dao2535.tlb file to the unsafe file list.
 
BTW: I don't see a database in your script. Are you using one? Please post the whole script.

webbiz

I'm not sure if this is the right place to ask this question. If not, I apologize.
 
I have a VB6 app that I created a InnoScript for. When you try to install it on a Windows 7 machine, you get the error window shown below:
 

 
This is what my [Files] section looks like:
 
[Files]
; begin VB system files
; (Note: Scroll to the right to see the full lines!)
Source: C:\Program Files\Randem Systems\InnoScript\InnoScript 10\VB 6 Redist Files\stdole2.tlb; DestDir: {sys}; Flags: regtypelib restartreplace sharedfile uninsneveruninstall; OnlyBelowVersion: 0,6
Source: d:\programming\deploy files\msvbvm60.dll; DestDir: {sys}; Flags: restartreplace uninsneveruninstall sharedfile regserver;
Source: d:\programming\deploy files\oleaut32.dll; DestDir: {sys}; Flags: restartreplace uninsneveruninstall sharedfile regserver;
Source: C:\Program Files\Randem Systems\InnoScript\InnoScript 10\VB 6 Redist Files\olepro32.dll; DestDir: {sys}; Flags: regserver restartreplace sharedfile uninsneveruninstall; OnlyBelowVersion: 0,6
Source: d:\programming\deploy files\asycfilt.dll; DestDir: {sys}; Flags: restartreplace uninsneveruninstall sharedfile;
Source: d:\programming\deploy files\comcat.dll;   DestDir: {sys}; Flags: restartreplace uninsneveruninstall sharedfile regserver;
Source: C:\Program Files\Randem Systems\InnoScript\InnoScript 10\VB 6 Redist Files\MSVBVM60.DLL; DestDir: {sys}; Flags: regserver restartreplace sharedfile uninsneveruninstall; OnlyBelowVersion: 0,6
Source: C:\Program Files\Randem Systems\InnoScript\InnoScript 10\VB 6 Redist Files\vb5db.dll; DestDir: {sys}; Flags:  restartreplace sharedfile;
; end VB system files
 
Source: d:\programming\deploy files\dbgrid32.ocx; DestDir: {sys}; Flags: restartreplace uninsneveruninstall sharedfile regserver;
Source: d:\programming\deploy files\comdlg32.ocx; DestDir: {sys}; Flags: restartreplace sharedfile;
Source: d:\programming\deploy files\comctl32.ocx; DestDir: {sys}; Flags: restartreplace uninsneveruninstall sharedfile regserver;
 
Source: d:\programming\deploy files\mbfiee32.dll; DestDir: {sys}; Flags: restartreplace sharedfile;
Source: d:\programming\deploy files\dao2535.tlb;  DestDir: {cf}\Microsoft Shared\DAO; Flags: restartreplace uninsneveruninstall sharedfile regtypelib;
 
 
Source: D:\PROGRAMMING\TTC260\Ttc25_1.exe; DestDir: {app}; Flags: ignoreversion
Source: D:\PROGRAMMING\TTC260\ttc251.pdf; DestDir: {app}; Flags: ignoreversion
Source: D:\PROGRAMMING\DEPLOY FILES\msfl651d.dll; DestDir: {app}; Flags: ignoreversion
 
Any suggestions?
 
Thanks.
Webbiz