Click to See Complete Forum and Search --> : Inet problem. 'MSINET.OCX' missing.
sjku
May 2nd, 2007, 03:13 AM
Hi,
A software of mine is using INET1 and I think 'MSINET.OCX' is the component added for it.
On some systems when the software is started, it says 'MSINET.OCX' missing or is not registered.
How do I handle this problem?
I took a look in the system32 folder, found the file and 2 more files with same name, but different extensions.
Please let me know what can be done to solve this...
Thank you :)
DigiRev
May 2nd, 2007, 03:36 AM
You need to install/register the msinet OCX file. This is why you need to use an installer when distributing your program to other people. Inno Setup is a good free one and Easy Install Creator is a lot easier but not as customizable.
sjku
May 2nd, 2007, 04:58 AM
Hi,
I downloaded both those you suggested. The easy install creater is good! However, I was not asked to select .ocx components to install while building an installer.
(It's also mentioned on their site that one can select .ocx and .dll files required...)
Did I do something wrong? Please suggest :)
My software has 1 exe, 1 help.html , 1 txt file.
The exe file uses INET1 and RICHTEXT components. The error returned on some systems is MSINET.OCX missing...
Thank you :)
Hack
May 2nd, 2007, 06:37 AM
The error returned on some systems is MSINET.OCX missing...
Only some, not all?
sjku
May 2nd, 2007, 10:40 AM
Yes, the problem is only on some systems, not all...
I have distributed 5 packs of this. 2 of them reported the error.
Can you please tell me what to do? :) These people are constantly sending me emails...
Thank you :)
Hack
May 2nd, 2007, 11:19 AM
Then I suspect it isn't your software. If it was, then none of them would be working.
What is the difference between the ones with the errors and the ones without? OS? SP? Machine type/age?
sjku
May 2nd, 2007, 11:52 AM
For now, I asked the people to download the microsoft updates, but I'm not sure if that will help. Below is what their systems are:
1. Windows XP 2002
2. Office 2003.
My system is older than that...
Should I try with an installer? If so, please tell me how to add MSINET.OCX and RICHTEXT files to the "easy install creater".
I created an installer with this software, but it never asked to specify or include the ocx files...
Thanks :)
sjku
May 2nd, 2007, 12:47 PM
Hi,
I also tried inno setup, but that doesn't ask to add these ocx files as well...
Am i missing some step in these installers?
Thank you for the guidance so far. :)
sjku
May 2nd, 2007, 02:16 PM
Can you please tell me what to edit in this "inno setup script", so it checks and installs required OCX files?
Thanks :)
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
[Setup]
AppName=dbs book
AppVerName=DBS book version 3
DefaultDirName={pf}\dbs book
DefaultGroupName=dbs book
LicenseFile=D:\0vb\install creaters\license.txt
OutputBaseFilename=setup
SetupIconFile=D:\vb\hrd\final\dbs.ico
Compression=lzma
SolidCompression=yes
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files]
Source: "D:\vb\hrd\final\dbs.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\vb\hrd\final\msu-conf.txt"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\vb\hrd\final\dbs_help.html"; DestDir: "{app}"; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Icons]
Name: "{group}\dbs book"; Filename: "{app}\dbs.exe"
Name: "{commondesktop}\dbs book"; Filename: "{app}\dbs.exe"; Tasks: desktopicon
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\dbs book"; Filename: "{app}\dbs.exe"; Tasks: quicklaunchicon
[Run]
Filename: "{app}\dbs.exe"; Description: "{cm:LaunchProgram,dbs book}"; Flags: nowait postinstall skipifsilent
sjku
May 3rd, 2007, 04:33 AM
Can someone please suggest something here...
What modifications do I need to make to the inno setup install script above so it checks for appropriate .ocx files?
Should I remove the flag from the following code?
[Files]
Source: "D:\vb\hrd\final\dbs.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\vb\hrd\final\msu-conf.txt"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\vb\hrd\final\dbs_help.html"; DestDir: "{app}"; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
The first file "dbs.exe" uses the 2 components. (Rich text and Inet)
Thank you :)
Hack
May 3rd, 2007, 07:05 AM
I think this thread would be better served here.
Moved.
sjku
May 3rd, 2007, 04:24 PM
Sorry for posting it in the internet application forum... My mistake :)
Can you please tell me if the following install script is correct and checks/ "registers" required ocx files? I did make an installer using this, but haven't heard from people using it yet, and cannot test on my pC as application is already registered on my pc...
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
[Setup]
AppName=dbs book
AppVerName=DBS book version 3
DefaultDirName={pf}\dbs book
DefaultGroupName=dbs book
LicenseFile=D:\0vb\install creaters\license.txt
OutputBaseFilename=setup
SetupIconFile=D:\vb\hrd\final\dbs.ico
Compression=lzma
SolidCompression=yes
[Languages]
Name: "english"; MessagesFile: "compiler
Big Grinefault.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files]
Source: "C:\WINDOWS\SYSTEM32\MSINET.OCX"; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: "C:\WINDOWS\SYSTEM32\RICHTX32.OCX"; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: "D:\vb\hrd\final\dbs.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\vb\hrd\final\msu-conf.txt"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\vb\hrd\final\dbs_help.html"; DestDir: "{app}"; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Icons]
Name: "{group}\dbs book"; Filename: "{app}\dbs.exe"
Name: "{commondesktop}\dbs book"; Filename: "{app}\dbs.exe"; Tasks: desktopicon
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\dbs book"; Filename: "{app}\dbs.exe"; Tasks: quicklaunchicon
[Run]
Filename: "{app}\dbs.exe"; Description: "{cm:LaunchProgram,dbs book}"; Flags: nowait postinstall skipifsilent
Is that script OK?
Please suggest changes if it's wrong...
Thank you :)
sigid
May 17th, 2007, 01:57 PM
At the risk of being somewhat OT here: on the machines where the error message occurs - have they recently upgraded to IE7, by any chance?
randem
May 17th, 2007, 02:38 PM
********** would have added the ocx automatically no questions asked...
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.