当安装在未安装IIS的计算机上时,我的安装程序将失败。将要安装的功能不需要IIS。错误显示“无法连接到Internet Information Server”。
除此之外。安装程序文件还有一个需要IIS的功能。但当我取消选择该功能时,安装程序仍然会查找IIS。下面是它生成的日志。
MSI (s) (D0:F8) [11:39:12:437]: Note: 1: 2318 2: C:Program FilesCormant TechnologiesDCEWindowsServiceUninflectedWords.txt MSI (s) (D0:F8) [11:39:12:437]: Executing op: CacheSizeFlush(,) MSI (s) (D0:F8) [11:39:12:437]: Executing op: InstallProtectedFiles(AllowUI=1) MSI (s) (D0:F8) [11:39:12:437]: Executing op: ActionStart(Name=StartMetabaseTransaction,Description=Starting IIS Metabase Transaction,) Action 11:39:12: StartMetabaseTransaction. Starting IIS Metabase Transaction MSI (s) (D0:F8) [11:39:12:453]: Executing op: CustomActionSchedule(Action=StartMetabaseTransaction,ActionType=11265,Source=BinaryData,Target=***,CustomActionData=***) MSI (s) (D0:D4) [11:39:12:453]: Invoking remote custom action. DLL: C:WINDOWSInstallerMSI1D.tmp, Entrypoint: StartMetabaseTransaction StartMetabaseTransaction: Error 0x80040154: failed to get IID_IIMSAdminBase object Error 26001. Cannot connect to Internet Information Server. (-2147221164 ) MSI (s) (D0!78) [11:39:13:812]: Product: DCE -- Error 26001. Cannot connect to Internet Information Server. (-2147221164 )
Action ended 11:39:13: InstallFinalize. Return value 3. MSI (s) (D0:F8) [11:39:13:828]: User policy value DisableRollback is 0 MSI (s) (D0:F8) [11:39:13:828]: Machine policy value DisableRollback is 0 MSI (s) (D0:F8) [11:39:13:828]: Executing op: Header(Signature=1397708873,Version=301,Timestamp=1029397732,LangId=1033,Platform=0,ScriptType=2,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=0) MSI (s) (D0:F8) [11:39:13:828]: Executing op: DialogInfo(Type=0,Argument=1033) MSI (s) (D0:F8) [11:39:13:828]: Executing op: DialogInfo(Type=1,Argument=DCE) MSI (s) (D0:F8) [11:39:13:828]: Executing op: RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back action:,RollbackTemplate=[1],CleanupAction=RollbackCleanup,CleanupDescription=Removing backup files,CleanupTemplate=File: [1]) Action 11:39:13: Rollback. Rolling back action: Rollback: Starting IIS Metabase Transaction MSI (s) (D0:F8) [11:39:13:828]: Executing op: ActionStart(Name=StartMetabaseTransaction,Description=Starting IIS Metabase Transaction,) MSI (s) (D0:F8) [11:39:13:828]: Executing op: ProductInfo(ProductKey={FC6DA479-9C97-4941-8AAE-3E0C9D6DAA56},ProductName=DCE,PackageName=DCEWebInstaller.msi,Language=1033,Version=50462720,Assignment=0,ObsoleteArg=0,,,PackageCode={FBFBCC4D-BE93-4AEA-8B05-922409001DE5},,,InstanceType=0,LUASetting=0,RemoteURTInstalls=0) MSI (s) (D0:F8) [11:39:13:828]: SHELL32::SHGetFolderPath returned: C:Documents and SettingsAdministratorApplication Data Rollback: Copying new files