使用InstallShield安装基于Web的项目安装程序cab文件时出现问题

时间:2021-11-28 22:38:57

I have created a web based project and I have to install an ActiveX Control through web by a CAB file.

我创建了一个基于Web的项目,我必须通过CAB文件通过Web安装ActiveX控件。

When I build my InstallShield Web project installer, it generate MSI package and a CAB file. I have to register a DLL in CAB file.

当我构建我的InstallShield Web项目安装程序时,它会生成MSI包和一个CAB文件。我必须在CAB文件中注册一个DLL。

If I install the MSI package locally, it works fine: it installed the activeX and registered the DLL.

如果我在本地安装MSI包,它工作正常:它安装了activeX并注册了DLL。

But when I place the CAB file on the server and call that file remotely through web, it failed to register the DLL and it is not installed properly.

但是当我将CAB文件放在服务器上并通过Web远程调用该文件时,它无法注册DLL并且未正确安装。

I don't know what I am missing.

我不知道我错过了什么。

1 个解决方案

#1


1  

sounds like static paths or a different type to system for your server. So he can not find the real path to an DLL.

听起来像静态路径或服务器系统的不同类型。所以他找不到DLL的真实路径。

For Information about this Topic read:

有关此主题的信息,请阅读:

Nice Sybase Documentation about it

关于它的尼斯Sybase文档

Nice Guide for creating CAB Files

创建CAB文件的好指南

MSDN Documentation for INF

INF的MSDN文档

From MSDN Documentation: "...For this reason, if multiple files within a .cab are given the same name but different install directories, only one of the files will be installed in all locations. To work around this behavior, be sure to use unique names for all files within a single .cab file...."

从MSDN文档:“...因此,如果.cab中的多个文件具有相同的名称但安装目录不同,则只会在所有位置安装其中一个文件。要解决此问题,请务必对单个.cab文件中的所有文件使用唯一名称....“

and look up this Keywords:

并查找此关键字:

SourceDisksNames/DestinationDirs

SourceDisksNames / DestinationDirs

Hope that will fix it! :-)

希望能解决它! :-)

#1


1  

sounds like static paths or a different type to system for your server. So he can not find the real path to an DLL.

听起来像静态路径或服务器系统的不同类型。所以他找不到DLL的真实路径。

For Information about this Topic read:

有关此主题的信息,请阅读:

Nice Sybase Documentation about it

关于它的尼斯Sybase文档

Nice Guide for creating CAB Files

创建CAB文件的好指南

MSDN Documentation for INF

INF的MSDN文档

From MSDN Documentation: "...For this reason, if multiple files within a .cab are given the same name but different install directories, only one of the files will be installed in all locations. To work around this behavior, be sure to use unique names for all files within a single .cab file...."

从MSDN文档:“...因此,如果.cab中的多个文件具有相同的名称但安装目录不同,则只会在所有位置安装其中一个文件。要解决此问题,请务必对单个.cab文件中的所有文件使用唯一名称....“

and look up this Keywords:

并查找此关键字:

SourceDisksNames/DestinationDirs

SourceDisksNames / DestinationDirs

Hope that will fix it! :-)

希望能解决它! :-)