我的installshield安装程序可以使用installshield的IIS视图来更新IIS中的网站和应用程序池。我收到以下一般错误:
详细错误:
InstallShield 12:20:19:针对“ system.applicationHost /站点”部分以及路径“ MACHINE / WEBROOT / APPHOST”和提交路径“ MACHINE / WEBROOT / APPHOST”的GetAdminSection。
InstallShield 12:20:19:PutPropertyValue:sProperty名称sValue bIsPath 0
InstallShield 12:20:19:PutPropertyCommon:sProperty名称sValue bIsPath 0
InstallShield 12:20:19:将元素“站点”的属性“名称”设置为值“”。旧值:“”。 m_sSectionName:“ system.applicationHost /站点”。
InstallShield 12:20:19:属性值相同,因此无需更改。
InstallShield 12:20:19:尝试更改属性值时遇到问题,HRESULT:-2147024883
InstallShield 12:20:19:检测到错误,但不要抛出错误,因为看起来值没有改变。
InstallShield 12:20:19:PutPropertyValue:sProperty ID sValue bIsPath 0
InstallShield 12:20:19:PutPropertyCommon:sProperty ID sValue bIsPath 0
InstallShield 12:20:19:将元素“站点”的属性“ id”设置为值“”。旧值:“”。 m_sSectionName:“ system.applicationHost /站点”。
InstallShield 12:20:19:属性值相同,因此无需更改。
InstallShield 12:20:19:put_value成功。 get_StringValue现在返回字符串值为'0'的'0'。
InstallShield 12:20:19:GetBindingsCollection
InstallShield 12:20:19:GetBindingInformationString返回以下字符串:* ::
InstallShield 12:20:19:PutPropertyValue:sProperty bindingInformation sValue * :: bIsPath 0
InstallShield 12:20:19:PutPropertyCommon:sProperty bindingInformation sValue * :: bIsPath 0
InstallShield 12:20:19:将元素“ binding”的属性“ bindingInformation”设置为值“ * ::”。旧值:“”。 m_sSectionName:“ system.applicationHost /站点”。
InstallShield 12:20:19:put_value成功。 get_StringValue现在返回带有字符串值'* ::'的'0'。
InstallShield 12:20:19:PutPropertyValue:sProperty协议sValue http bIsPath 0
InstallShield 12:20:19:PutPropertyCommon:sProperty协议sValue http bIsPath 0
InstallShield 12:20:19:将元素“绑定”的属性“协议”设置为值“ http”。旧值:“”。 m_sSectionName:“ system.applicationHost /站点”。
InstallShield 12:20:19:put_value成功。 get_StringValue现在返回带有字符串值'http'的'0'。
InstallShield 12:20:19:添加以下元素:binding
InstallShield 12:20:19:虚拟目录没有应用程序名称。不会安装与此vroot关联的虚拟目录/网站。
InstallShield 12:20:19:PutPropertyValue:sProperty路径sValue bIsPath 1
InstallShield 12:20:19:PutPropertyCommon:sProperty路径sValue bIsPath 1
InstallShield 12:20:19:将元素“应用程序”的属性“路径”设置为值“ /”。旧值:“”。 m_sSectionName:“ system.applicationHost /站点”。
InstallShield 12:20:19:put_value成功。 get_StringValue现在返回带有字符串值“ /”的“ 0”。
InstallShield 12:20:19:使用路径''和physicalPath'创建虚拟目录。
InstallShield 12:20:19:找不到属性“路径”值为“”的元素。
InstallShield 12:20:19:PutPropertyValue:sProperty路径sValue bIsPath 1
InstallShield 12:20:19:PutPropertyCommon:sProperty路径sValue bIsPath 1
InstallShield 12:20:19:将元素“ virtualDirectory”的属性“ path”设置为值“ /”。旧值:“”。 m_sSectionName:“ system.applicationHost /站点”。
InstallShield 12:20:19:put_value成功。 get_StringValue现在返回带有字符串值“ /”的“ 0”。
InstallShield 12:20:19:PutPropertyValue:sProperty physicalPath sValue bIsPath 0
InstallShield 12:20:19:PutPropertyCommon:sProperty physicalPath sValue bIsPath 0
InstallShield 12:20:19:将元素“ virtualDirectory”的属性“ physicalPath”设置为值“”。旧值:“”。 m_sSectionName:“ system.applicationHost /站点”。
InstallShield 12:20:19:属性值相同,因此无需更改。
InstallShield 12:20:19:put_value成功。 get_StringValue现在返回带有字符串值“。”的“ 0”。
InstallShield 12:20:19:添加以下元素:virtualDirectory
InstallShield 12:20:19:添加以下元素:application
InstallShield 12:20:19:添加以下元素:site
InstallShield 12:20:19:AddElement失败,并显示以下HRESULT:'-2147024894':
InstallShield 12:20:19:IISRT错误:-2147024894。错误翻译:系统找不到指定的路径。
CustomAction ISIISInstall返回了实际错误代码1603(请注意,如果在沙箱中发生翻译,则此错误可能不是100%准确) 动作结束于12:20:19:InstallFinalize。返回值3。
任何人都可以引起高度赞赏。