首先我不是高手,我也在研究vb的安装程序.照以下方法即可解决.这是VB 5.0/6.0的一个Bug。 如果运行Visual Basic 5.0生成的安装盘,会产生下面的错误: The file ′<Windows System Folder>\$(DLLSelfRegisterEx)′ could not be registered because it was not found. 如果运行Visual Basic 6.0生成的安装盘,会产生下面的错误: The file ′<TEMP Folder>\Msftqws.pdw\$(DllSelfRegisterEx)′ could not be registered because it was not found. 这个问题发生在分发Microsoft Calendar control(MSCal.ocx)时。MSCal.dep文件中的"Register="行被错误地设置成 $(DLLSelfRegisterEx)了。 解决办法如下: 1. 使用记事本打开Setup.lst文件。Setup.lst文件是Setup Wizard或PDW制作安装盘时生成的。 2. 查找$(DLLSelfRegisterEx)。你将看到在MSCal.ocx的一行中有$(DLLSelfRegisterEx)。 3. 修改 $(DLLSelfRegisterEx) 为$(DLLSelfRegister)。 4. 关闭记事本并保存文件。 5.运行Setup.exe。 如果希望今后生成的Setup.exe都不出这样的错误,可以这样做: 1. 使用记事本打开MSCal.dep文件。你可以在MSCal.ocx所在的目录(通常是Windows 95/98的Windows\System或Windows NT的Winnt\System32)找到MSCal.dep文件。 2. 查找$(DLLSelfRegisterEx)。你将可以在“Register=”一行看到$(DLLSelfRegisterEx)。 3. 修改 $(DLLSelfRegisterEx) 为$(DLLSelfRegister)。 4. 关闭记事本并保存文件。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货