急急!!程序安装后启动出现...类未注册信息,不能使用 (200分)

R

ranxg

Unregistered / Unconfirmed
GUEST, unregistred user!
我设计了一个应用软件(由多个程序组成),半年来已在数十台机子安装测试和应用,未出现问题.
但今天在一台新机子(配置不错)Win98系统安装时,安装过程一直顺利.但软件一启动,就出现"非法操作,请与...".
确认后,又提示:....soket..类..未注册..的信息.始终不能进入程序,我一连装了三次,都如此,只好灰溜溜的收手.
请高人指点!!!
 
可能与硬件有关,导致一些操作系统的功能不正常.
 
打不开程序有两个,其中一个程序中用到联网获取时间,该机没有调制解调器不能联网,
,但两个程序都打不开,其他程序都可以,是何原因?
 
可能winsocet.dll文件不存在!
 
同是Win98,他的新机子咋会没有.机主是一个刚接触电脑的人.不可能自行调整.
 
看批处理文件AUTOEXEC.BAT,查看路径设置是否正确。
 
我的软件不涉及自动批处理文件
 
可能用上了COM组件, ActiveX控件,这种错误经常碰到,熟得很
 
是有ActiveX控件,关于flash.为何有的机子不出错?该如何解决??
 
安装该控件,一般软件的作者清楚用了哪些控件,叫他(们)作一个安装程序.
如果只用了flash,只要上网安装一下flash播放控件
 
安装程序如何做,心理没谱!
 
flash有一个带inf文件的,右键,选安装:

[Version]
Signature="$Chicago$"
AdvancedINF=2.5

[DefaultInstall]
CopyFiles=SWFiles, inffile
AddReg=SW.AddReg
RegisterOCXs=RegisterOCXSection

[DefaultUninstall]
cleanup=1
Delfiles=SWFiles
delreg=SW.DelReg
UnRegisterOCXs=UnRegisterOCXSection

[strings]
productname="Shockwave Flash"
; added for the win 98 cd install
GUID = "{D27CDB6E-AE6D-11cf-96B8-444553540000}"
GUIDFACT = "{D27CDB6E-AE6D-11cf-96B8-444553540000}"
DefaultName = "Macromedia Shockwave Flash"
ComponentID = "Flash"
VersionNumber = "6,0,47,0"
LocaleID = "EN"

[RegisterOCXSection]
%11%/macromed/flash/Flash.ocx

[UnRegisterOCXSection]
%11%/macromed/flash/Flash.ocx

[SW.AddReg]
; shockwaveflash is used here the sync with the currently used CIF files on www.microsoft.com
; if we used shockwave for flash then durring the IE4 uninstall we would not get uninstalled
HKLM,SOFTWARE/Microsoft/Windows/CurrentVersion/Uninstall/ShockwaveFlash,"QuietDisplayName",,"%ProductName%"
HKLM,SOFTWARE/Microsoft/Windows/CurrentVersion/Uninstall/ShockwaveFlash,"QuietUninstallString",,"RunDll32 advpack.dll,LaunchINFSection %17%/swflash.inf,DefaultUninstall,5"
HKLM,SOFTWARE/Microsoft/Windows/CurrentVersion/Uninstall/ShockwaveFlash,"RequiresIESysFile",,"4.70.0.1155"

; added for win 98 cd install
HKLM,"SOFTWARE/Microsoft/Active Setup/Installed Components/%GUID%",,,"%DefaultName%"
HKLM,"SOFTWARE/Microsoft/Active Setup/Installed Components/%GUID%","ComponentID",,"%ComponentID%"
HKLM,"SOFTWARE/Microsoft/Active Setup/Installed Components/%GUID%","IsInstalled",1,01,00,00,00
HKLM,"SOFTWARE/Microsoft/Active Setup/Installed Components/%GUID%","Version",,"%VersionNumber%"
HKLM,"SOFTWARE/Microsoft/Active Setup/Installed Components/%GUID%","Locale",,"%LocaleID%"

; added for win 98 cd install
HKLM,"SOFTWARE/Microsoft/Active Setup/Installed Components/%GUIDFACT%",,,"%DefaultName%"
HKLM,"SOFTWARE/Microsoft/Active Setup/Installed Components/%GUIDFACT%","ComponentID",,"%ComponentID%"
HKLM,"SOFTWARE/Microsoft/Active Setup/Installed Components/%GUIDFACT%","IsInstalled",1,01,00,00,00
HKLM,"SOFTWARE/Microsoft/Active Setup/Installed Components/%GUIDFACT%","Version",,"%VersionNumber%"
HKLM,"SOFTWARE/Microsoft/Active Setup/Installed Components/%GUIDFACT%","Locale",,"%LocaleID%"


; 9/10/98 smp added key for win98 uninstall from control panel...
HKLM, "Software/Microsoft/Windows/CurrentVersion/Setup/OptionalComponents/SwFlash","Installed",,1

[SW.DelReg]
HKLM,SOFTWARE/Microsoft/Windows/CurrentVersion/Uninstall/ShockwaveFlash,"QuietDisplayName",,"%ProductName%"
HKLM,SOFTWARE/Microsoft/Windows/CurrentVersion/Uninstall/ShockwaveFlash,"QuietUninstallString",,"RunDll32 advpack.dll,LaunchINFSection %17%/swflash.inf,DefaultUninstall,5"
HKLM,SOFTWARE/Microsoft/Windows/CurrentVersion/Uninstall/ShockwaveFlash,"RequiresIESysFile",,"4.70.0.1155"

; added for the win 98 cd install
HKLM,"SOFTWARE/Microsoft/Active Setup/Installed Components/%GUID%",,,"%DefaultName%"
HKLM,"SOFTWARE/Microsoft/Active Setup/Installed Components/%GUID%","ComponentID",,"%ComponentID%"
HKLM,"SOFTWARE/Microsoft/Active Setup/Installed Components/%GUID%","IsInstalled",1,01,00,00,00
HKLM,"SOFTWARE/Microsoft/Active Setup/Installed Components/%GUID%","Version",,"%VersionNumber%"
HKLM,"SOFTWARE/Microsoft/Active Setup/Installed Components/%GUID%","Locale",,"%LocaleID%"

; added for the win 98 cd install
HKLM,"SOFTWARE/Microsoft/Active Setup/Installed Components/%GUIDFACT%",,,"%DefaultName%"
HKLM,"SOFTWARE/Microsoft/Active Setup/Installed Components/%GUIDFACT%","ComponentID",,"%ComponentID%"
HKLM,"SOFTWARE/Microsoft/Active Setup/Installed Components/%GUIDFACT%","IsInstalled",1,01,00,00,00
HKLM,"SOFTWARE/Microsoft/Active Setup/Installed Components/%GUIDFACT%","Version",,"%VersionNumber%"
HKLM,"SOFTWARE/Microsoft/Active Setup/Installed Components/%GUIDFACT%","Locale",,"%LocaleID%"

; 9/10/98 smp added key for win98 uninstall from control panel...
HKLM, "Software/Microsoft/Windows/CurrentVersion/Setup/OptionalComponents/SwDir","Installed",,0

[SourceDisksNames]
1="Shockwave Files","Swflash.cab",1

[SourceDisksFiles]
Flash.ocx=1

[SWFiles]
Flash.ocx,,,33

[inffile]
swflash.inf,,,33

[DestinationDirs]
SWFiles=11, Macromed/Flash
inffile=17
 
还是不懂!

 
我估计那部电脑没装Tcp/ip协议,提示是socket错误吧?你把拨号网络装上,不用modem也可安装的!
 
能在程序中判断并安装吗?
 
可以在程序中注册组件.但是并不是都能正常工作.
 
将它打包,装不装由他
 
多人接受答案了。
 

Similar threads

S
回复
0
查看
3K
SUNSTONE的Delphi笔记
S
S
回复
0
查看
2K
SUNSTONE的Delphi笔记
S
D
回复
0
查看
2K
DelphiTeacher的专栏
D
D
回复
0
查看
2K
DelphiTeacher的专栏
D
顶部