我在Visual Studio 2015中使用限量版InstallShield 2015。
我已配置互联网信息服务设置,如下所示,但未在IIS中创建网站。
我的IIS版本是:10.0
以下是 InstallShield
中的IIS设置注意:源代码已成功复制目标计算机的 [INSTALLDIR] ,但它未与IIS进行映射。
更新
我只看到与IIS相关的声明,但未在日志中的任何地方使用过!
Property(S): PROGMSG_IIS_CREATEAPPPOOL = Creating application pool %s
Property(S): PROGMSG_IIS_CREATEAPPPOOLS = Creating application Pools...
Property(S): PROGMSG_IIS_CREATEVROOT = Creating IIS virtual directory %s
Property(S): PROGMSG_IIS_CREATEVROOTS = Creating IIS virtual directories...
Property(S): PROGMSG_IIS_CREATEWEBSERVICEEXTENSION = Creating web service extension
Property(S): PROGMSG_IIS_CREATEWEBSERVICEEXTENSIONS = Creating web service extensions...
Property(S): PROGMSG_IIS_CREATEWEBSITE = Creating IIS website %s
Property(S): PROGMSG_IIS_CREATEWEBSITES = Creating IIS websites...
Property(S): PROGMSG_IIS_EXTRACT = Extracting information for IIS virtual directories...
Property(S): PROGMSG_IIS_EXTRACTDONE = Extracted information for IIS virtual directories...
Property(S): PROGMSG_IIS_EXTRACTDONEz = Extracted information for IIS virtual directories...
Property(S): PROGMSG_IIS_EXTRACTzDONE = Extracted information for IIS virtual directories...
Property(S): PROGMSG_IIS_REMOVEAPPPOOL = Removing application pool
Property(S): PROGMSG_IIS_REMOVEAPPPOOLS = Removing application pools...
Property(S): PROGMSG_IIS_REMOVESITE = Removing web site at port %d
Property(S): PROGMSG_IIS_REMOVEVROOT = Removing IIS virtual directory %s
Property(S): PROGMSG_IIS_REMOVEVROOTS = Removing IIS virtual directories...
Property(S): PROGMSG_IIS_REMOVEWEBSERVICEEXTENSION = Removing web service extension
Property(S): PROGMSG_IIS_REMOVEWEBSERVICEEXTENSIONS = Removing web service extensions...
Property(S): PROGMSG_IIS_REMOVEWEBSITES = Removing IIS websites...
Property(S): PROGMSG_IIS_ROLLBACKAPPPOOLS = Rolling back application pools...
Property(S): PROGMSG_IIS_ROLLBACKVROOTS = Rolling back virtual directory and web site changes...
Property(S): PROGMSG_IIS_ROLLBACKWEBSERVICEEXTENSIONS = Rolling back web service extensions...
解决
在WEBSITE内添加APPLICATION后问题已解决。似乎只是在InstallShield中使用WEBSITE是不够的。
答案 0 :(得分:1)
努力创建一个易于理解的问题,但我担心你忘记了最重要的部分:日志文件说什么?请用详细信息更新你的问题。
我将此作为答案添加,一旦我们获得更多信息,我将“进化”它。
这是我开始记录的标准模糊:
以下是如何记录安装(静默安装):
msiexec.exe /I "C:\Installer.msi" /QN /L*V "C:\msilog.log"
或用于setup.exe:
Setup.exe /v"/l*v C:\msilog.log /QN"
快速参数说明:
/I = run regular installation sequence
/QN = run completely silently
/L*V "C:\My.log" = verbose logging at specified path
如果这令人困惑try installsite.org's logging FAQ - 如何为您的安装创建日志文件。
来自 Robert Macdonald 的这篇文章 - 来自刚刚解散的Windows Installer团队 - 强烈建议您实际查看MSI日志记录:How to Interpret Windows Installer Logs。
Wilogutl.exe - Microsoft SDK MSI日志查看器。不是最伟大的事情,但有它的用途。 Discussion of its use
一些链接 :
答案 1 :(得分:0)
答案 2 :(得分:0)