-
runtime error 713 Class not registered
hello everybody,
I created an application in vb6 that handles a database from microsoft access 2003, using ado and i am trying to create a setup file.
I didn't find friendly package and deployment wizard and i am using inno setup script wizard 5 and i am really new to this. My problem is that i created the setup and when i run my progam when i try to display records i am getting runtime error 713
Class not registered. Looking for object with clsid: {59245250-7A2F-11D0-9482-00A0C9111OED}
My inno script:
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define MyAppName "Prodelectron"
#define MyAppVerName "Prodelectron 1.0"
#define MyAppPublisher "assimakopoulou aggelikh"
#define MyAppExeName "Prodelectron.exe"
[Setup]
AppName={#MyAppName}
AppVerName={#MyAppVerName}
AppPublisher={#MyAppPublisher}
DefaultDirName={pf}\{#MyAppName}
DefaultGroupName={#MyAppName}
OutputDir=C:\Program Files\ISTool\Output\prodelectron2
OutputBaseFilename=ProdelectronSetup
Compression=lzma
SolidCompression=yes
[Languages]
Name: english; MessagesFile: compiler:Default.isl
[Tasks]
Name: desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}; Flags: unchecked
[Files]
Source: C:\Program Files\Microsoft Visual Studio\VB98\ergasia_hlektron_ae\Prodelectron.exe; DestDir: {app}; Flags: ignoreversion
Source: C:\Program Files\Microsoft Visual Studio\VB98\ergasia_hlektron_ae\myapphelp.chm; DestDir: {app}; Flags: ignoreversion
Source: C:\Program Files\Microsoft Visual Studio\VB98\ergasia_hlektron_ae\mydb_new.mdb; DestDir: {app}; Flags: ignoreversion
Source: C:\WINDOWS\system32\asycfilt.dll; DestDir: C:\WINDOWS\system32; Flags: ignoreversion
Source: C:\WINDOWS\system32\comcat.dll; DestDir: C:\WINDOWS\system32; Flags: ignoreversion
Source: C:\WINDOWS\system32\COMDLG32.OCX; DestDir: C:\WINDOWS\system32; Flags: ignoreversion
Source: C:\WINDOWS\system32\hhctrl.ocx; DestDir: C:\WINDOWS\system32; Flags: ignoreversion
Source: C:\WINDOWS\system32\itircl.dll; DestDir: C:\WINDOWS\system32; Flags: ignoreversion
Source: C:\WINDOWS\system32\itss.dll; DestDir: C:\WINDOWS\system32; Flags: ignoreversion
Source: C:\WINDOWS\system32\MSADODC.OCX; DestDir: C:\WINDOWS\system32; Flags: ignoreversion
Source: C:\Program Files\Common Files\System\ado\msador15.dll; DestDir: C:\Program Files\Common Files\System\ado; Flags: ignoreversion
Source: C:\WINDOWS\system32\MSBIND.DLL; DestDir: C:\WINDOWS\system32; Flags: ignoreversion
Source: C:\WINDOWS\system32\MSCOMCT2.OCX; DestDir: C:\WINDOWS\system32; Flags: ignoreversion
Source: C:\WINDOWS\system32\MSCOMCTL.OCX; DestDir: C:\WINDOWS\system32; Flags: ignoreversion
Source: C:\WINDOWS\system32\MSDBRPTR.DLL; DestDir: C:\WINDOWS\system32; Flags: ignoreversion
Source: C:\Program Files\Common Files\DESIGNER\MSDERUN.DLL; DestDir: C:\Program Files\Common Files\DESIGNER; Flags: ignoreversion
Source: C:\WINDOWS\system32\MSHFLXGD.OCX; DestDir: C:\WINDOWS\system32; Flags: ignoreversion
Source: C:\WINDOWS\system32\MSSTDFMT.DLL; DestDir: C:\WINDOWS\system32; Flags: ignoreversion
Source: C:\WINDOWS\system32\msvbvm60.dll; DestDir: C:\WINDOWS\system32; Flags: ignoreversion
Source: C:\WINDOWS\system32\oleaut32.dll; DestDir: C:\WINDOWS\system32; Flags: ignoreversion
Source: C:\WINDOWS\system32\olepro32.dll; DestDir: C:\WINDOWS\system32; Flags: ignoreversion
Source: C:\WINDOWS\system32\stdole2.tlb; DestDir: C:\WINDOWS\system32; Flags: ignoreversion
Source: C:\WINDOWS\system32\VB6STKIT.DLL; DestDir: C:\WINDOWS\system32; Flags: ignoreversion
Source: C:\WINDOWS\system32\MSDATREP.OCX; DestDir: C:\WINDOWS\system32; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Icons]
Name: {group}\{#MyAppName}; Filename: {app}\{#MyAppExeName}
Name: {group}\{cm:UninstallProgram,{#MyAppName}}; Filename: {uninstallexe}
Name: {commondesktop}\{#MyAppName}; Filename: {app}\{#MyAppExeName}; Tasks: desktopicon
[Run]
Filename: {app}\{#MyAppExeName}; Description: {cm:LaunchProgram,{#MyAppName}}; Flags: nowait postinstall skipifsilent
I am anxious because i must have it 2 hours later and i don't know what to do. Please please help me. Any help will be much appreciated.
Thanx everybody
in advanced.
-
Re: runtime error 713 Class not registered
-
Re: runtime error 713 Class not registered
-
Re: runtime error 713 Class not registered
You're welcome and I'm sure randem our Inno expert will see this and help you.
-
Re: runtime error 713 Class not registered
-
Re: runtime error 713 Class not registered
You are deploying many files that you should not and you are lucky you haven't destroyed someones system if you have used that installation. You are using the ignoreversion flag on everything and that is disastrous.
Try creating your script with ********** and compare the differences. You will get a handle on exactly what I mean.
-
Re: runtime error 713 Class not registered
Randem which files are disastrous for this installation?
What exactly represents flag? And why ignoversation flag is disastrous too?
And what can i do for these.
Thank you much reply me.
-
Re: runtime error 713 Class not registered
You should look at the Inno Setup documentation on that flag. It is explained well and so are the other flags it uses.
Do like I suggested in post #6 and it will be a little clearer...
-
Re: runtime error 713 Class not registered
Randem, now my script is as follows, i dont know if is correct, but i just wanted your opinion. In my computer the setup file runs fine, i dont know what would be happen, if i try to install it in other machines .
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define MyAppName "Prodelectron"
#define MyAppVerName "Prodelectron 1.0"
#define MyAppPublisher "assimakopoulou aggelikh"
#define MyAppExeName "Prodelectron.exe"
[Setup]
AppName={#MyAppName}
AppVerName={#MyAppVerName}
AppPublisher={#MyAppPublisher}
DefaultDirName={pf}\{#MyAppName}
DefaultGroupName={#MyAppName}
OutputDir=C:\Program Files\ISTool\Output\prodelectron_new
OutputBaseFilename=ProdelectronSetup
Compression=lzma
SolidCompression=yes
[Languages]
Name: english; MessagesFile: compiler:Default.isl
[Tasks]
Name: desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}; Flags: unchecked
[Files]
Source: C:\Program Files\Microsoft Visual Studio\VB98\ergasia_hlektron_ae\Prodelectron.exe; DestDir: {app}; Flags: ignoreversion
Source: C:\Program Files\Microsoft Visual Studio\VB98\ergasia_hlektron_ae\myapphelp.chm; DestDir: {app}; Flags: ignoreversion
Source: C:\Program Files\Microsoft Visual Studio\VB98\ergasia_hlektron_ae\mydb_new.mdb; DestDir: {app}; Flags: ignoreversion
Source: ..\prodelectron_istool\asycfilt.dll; DestDir: {sys}; Flags: sharedfile
Source: ..\prodelectron_istool\COMCAT.DLL; DestDir: {sys}; Flags: sharedfile
Source: ..\prodelectron_istool\hhctrl.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile
Source: ..\prodelectron_istool\itircl.dll; DestDir: {sys}; Flags: sharedfile
Source: ..\prodelectron_istool\itss.dll; DestDir: {sys}; Flags: sharedfile
Source: ..\prodelectron_istool\MSADODC.OCX; DestDir: {sys}; Flags: regserver restartreplace sharedfile
Source: ..\prodelectron_istool\msador15.dll; DestDir: C:\Program Files\Common Files\System\ado; Flags: sharedfile
Source: ..\prodelectron_istool\MSBIND.DLL; DestDir: {sys}; Flags: sharedfile
Source: ..\prodelectron_istool\MSCOMCT2.OCX; DestDir: {sys}; Flags: regserver restartreplace sharedfile
Source: ..\prodelectron_istool\MSCOMCTL.OCX; DestDir: {sys}; Flags: regserver restartreplace sharedfile
Source: ..\prodelectron_istool\MSDBRPTR.DLL; DestDir: {sys}; Flags: sharedfile
Source: C:\Program Files\Common Files\DESIGNER\MSDERUN.DLL; DestDir: C:\Program Files\Common Files\DESIGNER; Flags: sharedfile
Source: ..\prodelectron_istool\MSHFLXGD.OCX; DestDir: {sys}; Flags: regserver restartreplace sharedfile
Source: ..\prodelectron_istool\MSSTDFMT.DLL; DestDir: {sys}; Flags: sharedfile
Source: ..\prodelectron_istool\msvbvm60.dll; DestDir: {sys}; Flags: sharedfile
Source: ..\prodelectron_istool\oleaut32.dll; DestDir: {sys}; Flags: sharedfile
Source: ..\prodelectron_istool\olepro32.dll; DestDir: {sys}; Flags: sharedfile
Source: ..\prodelectron_istool\stdole2.tlb; DestDir: {sys}; Flags: regtypelib
Source: ..\prodelectron_istool\VB6STKIT.DLL; DestDir: {sys}; Flags: sharedfile
Source: ..\prodelectron_istool\MSDATREP.OCX; DestDir: {sys}; Flags: regserver restartreplace sharedfile
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
Source: ..\prodelectron_istool\COMDLG32.OCX; DestDir: {sys}; Flags: regserver restartreplace sharedfile
[Icons]
Name: {group}\{#MyAppName}; Filename: {app}\{#MyAppExeName}
Name: {group}\{cm:UninstallProgram,{#MyAppName}}; Filename: {uninstallexe}
Name: {commondesktop}\{#MyAppName}; Filename: {app}\{#MyAppExeName}; Tasks: desktopicon
[Run]
Filename: {app}\{#MyAppExeName}; Description: {cm:LaunchProgram,{#MyAppName}}; Flags: nowait postinstall skipifsilent
Thank you again,
in advanced.
-
Re: runtime error 713 Class not registered
That is what testing (Quality Control) is for...
You are deploying a database with no MDAC's
perhaps you may want to read this Installer Problems
-
Re: runtime error 713 Class not registered
So Randem, if i well understood, by installer problems, must i have to change the restartreplace flag to if only doesn't exist flag in all files to avoid replacing system files in other computers during running the setup file? Do i have to do it in all files or in specific files? If i have to do it in specific files, which are these files? Any help, will be much appreciated.
Thank you again
in advanced.
-
Re: runtime error 713 Class not registered
No, to only replace files if they are a newer version is the default. Why would you want to use the flag onlyifdoesntexist? That is not proper for the file may exist and be an older version and your app needs the newer version and may not run properly. Run ********** and compare the differences then you may see what I mean
-
Re: runtime error 713 Class not registered
Yes but what about if the file may exist and be a newer version and my app replaces it with the old? Is it proper? And what can i do in this case, that perhaps i don't know the files version in the machine i am going to install the application? In case the system files are newer from my application files, it's not properly to replace them, as its not properly too, not replace them if these are older, and my application needs newer to works fine.
Is it proper, to use the PromptIfOlder flag?
What is the best solution? Use the PromptIfOlder in all OCXs and DLLs files?
And what about restartreplace flag? Is it nessacary to use it?
Thank you
very much.
-
Re: runtime error 713 Class not registered
Randem what exactly are MDAC's? I' ve tried many times http://www.**********.com/**********.html but with no effect
-
Re: runtime error 713 Class not registered
Some mod doen't want you to use it...
MDAC - Microsoft Data Access Components
-
Re: runtime error 713 Class not registered
I managed to download inno script 7.2 Beta. Well, i compiled my project with this and realized that my application couldn't run because inno script hadn't include the mdb file mydb.mdb and the help file, myapp.chm.
I included them by add files tab, i ran the created script by inno script 7.2 Beta and it runs ok. I am just wandering now, i read the instructions file about mdacs and saw that i must make the automatic os updater, and my question is, do i have to do it in every machine i want install my application? How much does it affect the functionallity of my application and how?
-
Re: runtime error 713 Class not registered
Also, which mod doesn't want me to use it?
-
Re: runtime error 713 Class not registered
Who knows which mod. It has been seen that where the word I-N-N-O-S-C-R-I-P-T is it is replaced with astericks (even in post wher people ask about it). It seems that they want you to use PDW and stay confused. I imaging that way you post more questions and view more ads. You see even in your post it was replaced when you asked a question about it.
The app does not automatically add your mdb (help, text, etc...) it has no idea what the name is... The safest way is to always install everything that you need on the target machine and not leave anything to guess work. Some machines will have what you want while other will not. You can either have you installation and app work everytime or some of the time... I myself like for my app to work EVERYTIME!!!!
-
Re: runtime error 713 Class not registered
I just got your PRIVATE MESSAGE and it seems a mod is even reading those for they have asterisked out the name in your question...
-
Re: runtime error 713 Class not registered
Quote:
Originally Posted by randem
Who knows which mod. It has been seen that where the word I-N-N-O-S-C-R-I-P-T is it is replaced with astericks (even in post wher people ask about it). It seems that they want you to use PDW and stay confused. I imaging that way you post more questions and view more ads. You see even in your post it was replaced when you asked a question about it.
It wasn't done by a Mod (if it had been, there would be an "edited by" comment), it is done automatically, set up by the site Admins.
It was not done due to posts/page-views/ad's/etc and it was not related to which packaging tool people use - it is because of something that you have discussed with moderators before.
If you want to discuss it, PM myself or any other Mod/Admin - as we aren't allowed to discuss things like this in public.
Quote:
I just got your PRIVATE MESSAGE and it seems a mod is even reading those
Moderators do not have the ability to do that! :eek:
-
Re: runtime error 713 Class not registered
Quote:
Originally Posted by si_the_geek
Moderators do not have the ability to do that! :eek:
Evidently someone has for it has been done...
-
Re: runtime error 713 Class not registered
That is not what happened - the same happens (in posts and PM's) to several other words too, and no moderators are involved in that either.
-
Re: runtime error 713 Class not registered
I have never had a PM to me modified... Until now. So PM's are NOT Private it seems...
-
Re: runtime error 713 Class not registered
The PM was not modified any more than posts are, and was not done manually - certain words are filtered out automatically.
If you want to discuss the reasons why that word was added to the list of filtered words (and I think you should), please PM myself or another mod/admin.
-
Re: runtime error 713 Class not registered
Oh well, I guess someone else will have to help...
-
Re: runtime error 713 Class not registered
Thank you Randem for your replies. You just forgot to answer my question:
"What about if the file may exist and be a newer version and my app replaces it with the old? Is it proper? And what can i do in this case, that perhaps i don't know the files version in the machine i am going to install the application? In case the system files are newer from my application files, it's not properly to replace them, as its not properly too, not replace them if these are older, and my application needs newer to works fine.
Is it proper, to use the PromptIfOlder flag?
What is the best solution? Use the PromptIfOlder in all OCXs and DLLs files?
And what about restartreplace flag? Is it nessacary to use it?"
Also, as a conclusion i must install Automatic OS Updater in every machine, i want to install my application. Right? Does Automatic OS Updater affects the Operating System, are there bad consequences after installation of Automatic OS Updater? I just dont want to have problems in the functionallity of my operating system ang generraly of my computer.
Thank you
much again.
-
Re: runtime error 713 Class not registered
If you use the Inno Setup installer with the proper settings the old file will not be replace the newer one.
If you use the standard settings that you have used you will be fine and no need to worry. Don't annoy the use with the prompt. There are no bad reactions to using the AutoOSUpdater. You should install it on every machine in question unless you know the system is up to date. Meaning you are just doing a reinstall of your app on the machine, Then there is no reason to re-install the AutoOSUpdater.
-
Re: runtime error 713 Class not registered
Thank you very much again, for your help, how do i know that i use the Inno Setup installer with the proper settings, the standard settings? Is it possible to see it? I am using inno setup 5, and i created the iss file with inno script as you told me. Well, is it possible to know if i am using the proper setting, or not and how?
Thank you, so much.
-
Re: runtime error 713 Class not registered
Inno Script uses the proper settings automatically so no worry there. They only worry is if you manually change things.
-
Re: runtime error 713 Class not registered
Well, my scipt now, is as follows, i have in comments "[INI]
;Filename: {app}\Prodelectron.url; Section: InternetShortcut; Key: URL; String: ", and "Name: {group}\{cm:ProgramOnTheWeb, Prodelectron}; Filename: {app}\Prodelectron.url" because i dont want to use these. I hope still only have the proper settings. What do you think? What is your opinion?
Have to worry about proper settings?
[Setup]
;-----------------------------------------------------------------------------------------------------
; Taken from VBP Project File Parameters AppName, AppName AppVersion and Company
;-----------------------------------------------------------------------------------------------------
AppName=Prodelectron
AppVerName=Prodelectron 1.0.0
AppPublisher=Asimakopoulou
;-----------------------------------------------------------------------------------------------------
AppVersion=1.0.0
VersionInfoVersion=1.0.0
AllowNoIcons=no
DefaultGroupName=Prodelectron
DefaultDirName={code:GetAppFolder}\Prodelectron
AppCopyright=
PrivilegesRequired=Admin
MinVersion=4.0,4.0
Compression=lzma
OutputBaseFilename=ProdelectronSetup
[Tasks]
[Files]
Source: c:\program files\randem systems\**********\********** 7.0\vb 6 redist files\msvbvm60.dll; DestDir: {sys}; Flags: uninsneveruninstall regserver restartreplace sharedfile; OnlyBelowVersion: 0,6
Source: c:\program files\randem systems\**********\********** 7.0\vb 6 redist files\oleaut32.dll; DestDir: {sys}; Flags: uninsneveruninstall regserver restartreplace sharedfile; OnlyBelowVersion: 0,6
Source: c:\program files\randem systems\**********\********** 7.0\vb 6 redist files\olepro32.dll; DestDir: {sys}; Flags: uninsneveruninstall regserver restartreplace sharedfile; OnlyBelowVersion: 0,6
Source: c:\program files\randem systems\**********\********** 7.0\vb 6 redist files\asycfilt.dll; DestDir: {sys}; Flags: uninsneveruninstall sharedfile; OnlyBelowVersion: 0,6
Source: c:\program files\randem systems\**********\********** 7.0\vb 6 redist files\stdole2.tlb; DestDir: {sys}; Flags: uninsneveruninstall sharedfile regtypelib; OnlyBelowVersion: 0,6
Source: c:\program files\randem systems\**********\********** 7.0\vb 6 redist files\comcat.dll; DestDir: {sys}; Flags: uninsneveruninstall regserver restartreplace sharedfile; OnlyBelowVersion: 0,6
Source: c:\program files\microsoft visual studio\vb98\ergasia_hlektron_ae\myapphelp.chm; DestDir: {app}; Flags: ignoreversion
Source: c:\program files\microsoft visual studio\vb98\ergasia_hlektron_ae\mydb_new.mdb; DestDir: {app}; Flags: ignoreversion
Source: c:\program files\prodelectron_istool\msdbrptr.dll; DestDir: {sys}; Flags: regserver restartreplace sharedfile
Source: c:\program files\prodelectron_istool\msbind.dll; DestDir: {sys}; Flags: regserver restartreplace sharedfile
Source: c:\program files\prodelectron_istool\msstdfmt.dll; DestDir: {sys}; Flags: regserver restartreplace sharedfile
Source: c:\program files\prodelectron_istool\msadodc.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile
Source: c:\program files\prodelectron_istool\mshflxgd.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile
Source: c:\program files\prodelectron_istool\mscomctl.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile
Source: c:\program files\prodelectron_istool\comdlg32.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile
Source: c:\program files\prodelectron_istool\mscomct2.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile
Source: c:\program files\microsoft visual studio\vb98\ergasia_hlektron_ae\prodelectron.exe; DestDir: {app}; Flags: ignoreversion
;[INI]
;Filename: {app}\Prodelectron.url; Section: InternetShortcut; Key: URL; String:
[Icons]
Name: {group}\Prodelectron; Filename: {app}\Prodelectron.exe; WorkingDir: {app}
;Name: {group}\{cm:ProgramOnTheWeb, Prodelectron}; Filename: {app}\Prodelectron.url
Name: {group}\{cm:UninstallProgram, Prodelectron}; Filename: {uninstallexe}
[Run]
Filename: {app}\Prodelectron.exe; Description: {cm:LaunchProgram, Prodelectron}; Flags: nowait postinstall skipifsilent; WorkingDir: {app}
[UninstallDelete]
Type: files; Name: {app}\Prodelectron.url
[Code]
function GetAppFolder(Param: String): String;
begin
if InstallOnThisVersion('0,6', '0,0') = irInstall then
Result := 'C:\Users\Public\' + ExpandConstant('{username}')
else
Result := ExpandConstant('{pf}');
end;
Thank you,
again very much.
-
Re: runtime error 713 Class not registered
You have still taken things out that need to be there. Do you have any idea as to why they are there or did you remove them because you did not understand them? Blindly changing thing will not get you further ahead. The script that Inno Script made was sufficient why did you modify it?
-
Re: runtime error 713 Class not registered
You also need to add MDAC's to your installation. You are using a database. Select the AutoOSUpdater and re-run Inno Script
-
Re: runtime error 713 Class not registered
; ********** Version 7.2 Build 0 Trial
; Randem Systems, Inc.
; Copyright 2003-2007
; Website: http://www.***********
; Support: http://www.**********.com/cgi-bin/discus/discus.cgi
; OS: Windows XP 5.1 build 2600 (Service Pack 2)
; Date: Αύγουστος 19, 2007
; VB Runtime Files Folder: C:\Program Files\Randem Systems\**********\********** 7.0\VB 6 Redist Files\
; Visual Basic Project File (.vbp): C:\Program Files\Microsoft Visual Studio\VB98\ergasia_hlektron_ae\Prodelectron.vbp
; Inno Setup Script Output File (.iss): C:\Program Files\prodelectron_istool\prodelectron1982007 Release.iss
; Script Template Files (.tpl): C:\Program Files\Randem Systems\**********\********** 7.0\Templates\Release.tpl
; : C:\Program Files\Randem Systems\**********\********** 7.0\Templates\VBRuntime.tpl
; : C:\Program Files\Randem Systems\**********\********** 7.0\Templates\Vista.tpl
; ------------------------
; References
; ------------------------
; Visual Basic runtime objects and procedures - (MSVBVM60.DLL)
; Standard OLE Types - (OLEPRO32.DLL)
; OLE Automation - (STDOLE2.TLB)
; Microsoft Data Report Designer v6.0 - (MSDBRPTR.DLL)
; Microsoft ActiveX Data Objects Recordset 2.8 Library - (msador15.dll)
; Microsoft Add-In Designer - (MSADDNDR.TLB)
; Microsoft ActiveX Data Objects 2.0 Library - (msado20.tlb)
; Microsoft Data Binding Collection - (MSBIND.DLL)
; Microsoft Data Formatting Object Library - (MSSTDFMT.DLL)
; --------------------------
; Components
; --------------------------
; HHCtrl 4.0 Type Library - (hhctrl.ocx)
; Microsoft ADO Data Control 6.0 (OLEDB) - (MSADODC.OCX)
; Microsoft Hierarchical FlexGrid Control 6.0 (OLEDB) - (MSHFLXGD.OCX)
; Microsoft Windows Common Controls 6.0 (SP6) - (MSCOMCTL.OCX)
; Microsoft Common Dialog Control 6.0 (SP6) - (COMDLG32.OCX)
; Microsoft Windows Common Controls-2 6.0 - (MSCOMCT2.OCX)
[Comments]
; In the folder where your installation was created is a folder named Support. In this folder you will place the AutoOSUpdater, .Net Framework and the Scripting Runtime installations
; that you want to deploy with your installation. Both you installation exe and this folder need to be deployed fo your installation to work properly
(i forgot copy paste all these above, but all these are in comments, by inno script, Well still i have the proper settings, or must i have to run the automatic os updater?)
[Setup]
;-----------------------------------------------------------------------------------------------------
; Taken from VBP Project File Parameters AppName, AppName AppVersion and Company
;-----------------------------------------------------------------------------------------------------
AppName=Prodelectron
AppVerName=Prodelectron 1.0.0
AppPublisher=Asimakopoulou
;-----------------------------------------------------------------------------------------------------
AppVersion=1.0.0
VersionInfoVersion=1.0.0
AllowNoIcons=no
DefaultGroupName=Prodelectron
DefaultDirName={code:GetAppFolder}\Prodelectron
AppCopyright=
PrivilegesRequired=Admin
MinVersion=4.0,4.0
Compression=lzma
OutputBaseFilename=ProdelectronSetup
[Tasks]
[Files]
Source: c:\program files\randem systems\**********\********** 7.0\vb 6 redist files\msvbvm60.dll; DestDir: {sys}; Flags: uninsneveruninstall regserver restartreplace sharedfile; OnlyBelowVersion: 0,6
Source: c:\program files\randem systems\**********\********** 7.0\vb 6 redist files\oleaut32.dll; DestDir: {sys}; Flags: uninsneveruninstall regserver restartreplace sharedfile; OnlyBelowVersion: 0,6
Source: c:\program files\randem systems\**********\********** 7.0\vb 6 redist files\olepro32.dll; DestDir: {sys}; Flags: uninsneveruninstall regserver restartreplace sharedfile; OnlyBelowVersion: 0,6
Source: c:\program files\randem systems\**********\********** 7.0\vb 6 redist files\asycfilt.dll; DestDir: {sys}; Flags: uninsneveruninstall sharedfile; OnlyBelowVersion: 0,6
Source: c:\program files\randem systems\**********\********** 7.0\vb 6 redist files\stdole2.tlb; DestDir: {sys}; Flags: uninsneveruninstall sharedfile regtypelib; OnlyBelowVersion: 0,6
Source: c:\program files\randem systems\**********\********** 7.0\vb 6 redist files\comcat.dll; DestDir: {sys}; Flags: uninsneveruninstall regserver restartreplace sharedfile; OnlyBelowVersion: 0,6
Source: c:\program files\microsoft visual studio\vb98\ergasia_hlektron_ae\myapphelp.chm; DestDir: {app}; Flags: ignoreversion
Source: c:\program files\microsoft visual studio\vb98\ergasia_hlektron_ae\mydb_new.mdb; DestDir: {app}; Flags: ignoreversion
Source: c:\program files\prodelectron_istool\msdbrptr.dll; DestDir: {sys}; Flags: regserver restartreplace sharedfile
Source: c:\program files\prodelectron_istool\msbind.dll; DestDir: {sys}; Flags: regserver restartreplace sharedfile
Source: c:\program files\prodelectron_istool\msstdfmt.dll; DestDir: {sys}; Flags: regserver restartreplace sharedfile
Source: c:\program files\prodelectron_istool\msadodc.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile
Source: c:\program files\prodelectron_istool\mshflxgd.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile
Source: c:\program files\prodelectron_istool\mscomctl.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile
Source: c:\program files\prodelectron_istool\comdlg32.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile
Source: c:\program files\prodelectron_istool\mscomct2.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile
Source: c:\program files\microsoft visual studio\vb98\ergasia_hlektron_ae\prodelectron.exe; DestDir: {app}; Flags: ignoreversion
;[INI]
;Filename: {app}\Prodelectron.url; Section: InternetShortcut; Key: URL; String:
[Icons]
Name: {group}\Prodelectron; Filename: {app}\Prodelectron.exe; WorkingDir: {app}
;Name: {group}\{cm:ProgramOnTheWeb, Prodelectron}; Filename: {app}\Prodelectron.url
Name: {group}\{cm:UninstallProgram, Prodelectron}; Filename: {uninstallexe}
[Run]
Filename: {app}\Prodelectron.exe; Description: {cm:LaunchProgram, Prodelectron}; Flags: nowait postinstall skipifsilent; WorkingDir: {app}
[UninstallDelete]
Type: files; Name: {app}\Prodelectron.url
[Code]
function GetAppFolder(Param: String): String;
begin
if InstallOnThisVersion('0,6', '0,0') = irInstall then
Result := 'C:\Users\Public\' + ExpandConstant('{username}')
else
Result := ExpandConstant('{pf}');
end;
-
Re: runtime error 713 Class not registered
You forgot more than that. You did not re-run Inno Script. You don't think just showing me the same thing is going to change what I think of the script do you???? The target computer will not be fooled either :)
You did not add the AutoOSUpdater, You are missing things.
-
Re: runtime error 713 Class not registered
Well, i gated through http://www.***********/support.html#A...20Installation and selected O/S Updaters - >Automatic Installation. So i downloaded VB_DCOM_MDAC_JET_AutoSetup_XP setup file. I ran it on my computer. I recompiled the script file and the new iss file is as follows:
; ********** Version 7.2 Build 0 Trial
; Randem Systems, Inc.
; Copyright 2003-2007
; Website: http://www.***********
; Support: http://www.**********.com/cgi-bin/discus/discus.cgi
; OS: Windows XP 5.1 build 2600 (Service Pack 2)
; Date: Αύγουστος 26, 2007
; VB Runtime Files Folder: C:\Program Files\Randem Systems\**********\********** 7.0\VB 6 Redist Files\
; Visual Basic Project File (.vbp): C:\Program Files\Microsoft Visual Studio\VB98\ergasia_hlektron_ae\Prodelectron.vbp
; Inno Setup Script Output File (.iss): C:\Program Files\prodelectron_istool\prodelectron2682007 Release Release.iss
; Script Template Files (.tpl): C:\Program Files\Randem Systems\**********\********** 7.0\Templates\VBRuntime.tpl
; : C:\Program Files\Randem Systems\**********\********** 7.0\Templates\Vista.tpl
; ------------------------
; References
; ------------------------
; Visual Basic runtime objects and procedures - (MSVBVM60.DLL)
; Standard OLE Types - (OLEPRO32.DLL)
; OLE Automation - (STDOLE2.TLB)
; Microsoft Data Report Designer v6.0 - (MSDBRPTR.DLL)
; Microsoft ActiveX Data Objects Recordset 2.8 Library - (msador15.dll)
; Microsoft Add-In Designer - (MSADDNDR.TLB)
; Microsoft ActiveX Data Objects 2.0 Library - (msado20.tlb)
; Microsoft Data Binding Collection - (MSBIND.DLL)
; Microsoft Data Formatting Object Library - (MSSTDFMT.DLL)
; --------------------------
; Components
; --------------------------
; HHCtrl 4.0 Type Library - (hhctrl.ocx)
; Microsoft ADO Data Control 6.0 (OLEDB) - (MSADODC.OCX)
; Microsoft Hierarchical FlexGrid Control 6.0 (OLEDB) - (MSHFLXGD.OCX)
; Microsoft Windows Common Controls 6.0 (SP6) - (MSCOMCTL.OCX)
; Microsoft Common Dialog Control 6.0 (SP6) - (COMDLG32.OCX)
; Microsoft Windows Common Controls-2 6.0 - (MSCOMCT2.OCX)
[Comments]
; In the folder where your installation was created is a folder named Support. In this folder you will place the AutoOSUpdater, .Net Framework and the Scripting Runtime installations
; that you want to deploy with your installation. Both you installation exe and this folder need to be deployed fo your installation to work properly
[Setup]
;-----------------------------------------------------------------------------------------------------
; Taken from VBP Project File Parameters AppName, AppName AppVersion and Company
;-----------------------------------------------------------------------------------------------------
AppName=Prodelectron
AppVerName=Prodelectron 1.0.0
AppPublisher=Asimakopoulou
;-----------------------------------------------------------------------------------------------------
AppVersion=1.0.0
VersionInfoVersion=1.0.0
AllowNoIcons=no
DefaultGroupName=Prodelectron
DefaultDirName={code:GetAppFolder}\Prodelectron
AppCopyright=
PrivilegesRequired=Admin
MinVersion=4.0,4.0
Compression=lzma
OutputBaseFilename=Prodelectron100Release
[Tasks]
Name: AutoOSUpdater; Description: Install MDAC's for Database Operations; GroupDescription: Install MDAC's:
[Files]
Source: c:\program files\microsoft visual studio\vb98\ergasia_hlektron_ae\myapphelp.chm; DestDir: {app}; Flags: ignoreversion
Source: c:\program files\microsoft visual studio\vb98\ergasia_hlektron_ae\mydb_new.mdb; DestDir: {app}; Flags: ignoreversion
Source: c:\program files\prodelectron_istool\msdbrptr.dll; DestDir: {sys}; Flags: regserver restartreplace sharedfile
Source: c:\program files\prodelectron_istool\msbind.dll; DestDir: {sys}; Flags: regserver restartreplace sharedfile
Source: c:\program files\prodelectron_istool\msstdfmt.dll; DestDir: {sys}; Flags: regserver restartreplace sharedfile
Source: c:\program files\prodelectron_istool\msadodc.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile
Source: c:\program files\prodelectron_istool\mshflxgd.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile
Source: c:\program files\prodelectron_istool\mscomctl.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile
Source: c:\program files\prodelectron_istool\comdlg32.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile
Source: c:\program files\prodelectron_istool\mscomct2.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile
Source: c:\program files\microsoft visual studio\vb98\ergasia_hlektron_ae\prodelectron.exe; DestDir: {app}; Flags: ignoreversion
;[INI]
;Filename: {app}\Prodelectron.url; Section: InternetShortcut; Key: URL; String:
[Icons]
Name: {group}\Prodelectron; Filename: {app}\Prodelectron.exe; WorkingDir: {app}
;Name: {group}\{cm:ProgramOnTheWeb, Prodelectron}; Filename: {app}\Prodelectron.url
Name: {group}\{cm:UninstallProgram, Prodelectron}; Filename: {uninstallexe}
[Run]
Filename: {src}\Support\VB_DCOM_MDAC_JET_AutoSetup_XP.exe; Parameters: /NORESTART /VERYSILENT; WorkingDir: {tmp}; Flags: skipifdoesntexist; Tasks: AutoOSUpdater
Filename: {app}\Prodelectron.exe; Description: {cm:LaunchProgram, Prodelectron}; Flags: nowait postinstall skipifsilent; WorkingDir: {app}
[UninstallDelete]
Type: files; Name: {app}\Prodelectron.url
[Code]
function GetAppFolder(Param: String): String;
begin
if InstallOnThisVersion('0,6', '0,0') = irInstall then
Result := 'C:\Users\Public\' + ExpandConstant('{username}')
else
Result := ExpandConstant('{pf}');
end;
I think that is all right now :)
The program runs proper in my computer, i don't know what about in others.
So, when i want to install my application in other computers i have to update the system if it's not, or run the automatic os updater according to the version of operating system and then run my application setup file. Right?
A question, does it affects if in one machine is installed vs.net? Personally i created my application in vb6?
Thank you another time,
so much.
-
Re: runtime error 713 Class not registered
No, it will not affect VS.Net. The AutoOSUpdater will take care of any of the Windows OS's automatically. It will install when you install your app as long as it is selected (checked).
Since you used the OS Updater that is XP specific, only expect your app to work on XP systems. There is one there for every OS...
-
Re: runtime error 713 Class not registered
I am glad my application works properly. Thank you so much :)
Would it be good idea to download all the versions of automatic os updater
and put them in a cd, so everytime i need to run one of these according to the version of operating system to run the proper automatic os updater setup from cd to install it on a machine? Would this work before install my application setup file on a machine?
Automatic OS Updater for MDAC/JET/DCOM
All Windows Versions (32.9 mb) - Last Updated 5/27/05
Winodows 9x (23 mb) - Last Updated 5/27/05
Windows Me (23 mb) - Last Updated 5/27/05
Windows NT (20 mb) - Last Updated 5/27/05
Windows 2K (19 mb) - Last Updated 5/27/05
Windows XP (19 mb) - Last Updated 5/27/05
Thank you,
very much.
-
Re: runtime error 713 Class not registered
Why download all of them when this one is the only one you need: All Windows Versions (32.9 mb) - Last Updated 5/27/05
????
-
Re: runtime error 713 Class not registered
That's the best idea. Although, I am just wandering. After i install the Windows XP (19 mb) - Last Updated 5/27/05 i went to inno script and in os updater combo box i selected WinXP and then compiled and created the iss file you saw above. I am just thinking that when i install the automatic os updater All Windows Versions (32.9 mb) - Last Updated 5/27/05, i have to recreate the iss file through inno script because i have to choose a selection for os updater. What can i do for this? It's impossible want to run my application setup in a machine and have to recreate before this, iss file through inno script and select the os updater version to include the mdacs in the iss file? Any suggestion?
Thank you
very much.
-
Re: runtime error 713 Class not registered
I have no clue what you said...
Just edit the lines that have the OS Updater for XP, change the name from the XP updater to the updater for all the OS's. Then re-create your installation file using Inno Setup. No need to re-run thru Inno Script.