Question
yasukunv on Sat, 01 Aug 2015 00:34:55
お疲れ様です
Win7 32ビットにFramework 4.0がインストール出来なくて困っています
エラー番号は0X80070643と出ていたので
マイクロソフトのサポートで
https://support.microsoft.com/ja-jp/kb/976982
をみて
*修正プログラムの実施
*FrameWorkの修復
*クリーンアップツールを使用の使用
その他にファイルを解凍してからインストール等も行いましたがダメでした
エラー表示の所にあった以下のファイルを見ると
Microsoft _NET Framework 4 Client Profile Setup_20150801_073619045-MSI_netfx_Core_x86_msi.txt
=== Verbose logging started: 2015/08/01 7:36:40 Build type: SHIP UNICODE 5.00.7601.00 Calling process: C:\0aa79e0df630537469e289\Setup.exe ===
MSI (c) (E0:54) [07:36:40:744]: Resetting cached policy values
MSI (c) (E0:54) [07:36:40:744]: Machine policy value 'Debug' is 0
MSI (c) (E0:54) [07:36:40:744]: ******* RunEngine:
******* Product: C:\0aa79e0df630537469e289\netfx_Core_x86.msi
******* Action:
******* CommandLine: **********
MSI (c) (E0:54) [07:36:40:760]: Client-side and UI is none or basic: Running entire install on the server.
MSI (c) (E0:54) [07:36:40:760]: Grabbed execution mutex.
MSI (c) (E0:54) [07:36:41:010]: Cloaking enabled.
MSI (c) (E0:54) [07:36:41:010]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (E0:54) [07:36:41:025]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (B8:50) [07:36:41:041]: Running installation inside multi-package transaction C:\0aa79e0df630537469e289\netfx_Core_x86.msi
MSI (s) (B8:50) [07:36:41:041]: Grabbed execution mutex.
MSI (s) (B8:60) [07:36:41:041]: Resetting cached policy values
MSI (s) (B8:60) [07:36:41:041]: Machine policy value 'Debug' is 0
MSI (s) (B8:60) [07:36:41:041]: ******* RunEngine:
******* Product: C:\0aa79e0df630537469e289\netfx_Core_x86.msi
******* Action:
中略
Property(S): SOURCEDIR = C:\0aa79e0df630537469e289\Property(S): SourcedirProduct = {3C3901C5-3455-3E0A-A214-0B093A5070A6}
MSI (s) (B8:60) [07:36:45:783]: Windows インストーラーにより製品がインストールされました。製品名: Microsoft .NET Framework 4 Client Profile、製品バージョン: 4.0.30319、製品の言語: 0、製造元: Microsoft Corporation、インストールの成功またはエラーの状態: 1603
MSI (s) (B8:60) [07:36:45:939]: Deferring clean up of packages/files, if any exist
MSI (s) (B8:60) [07:36:45:939]: MainEngineThread is returning 1603
MSI (s) (B8:50) [07:36:45:955]: RESTART MANAGER: Session closed.
MSI (s) (B8:50) [07:36:45:955]: No System Restore sequence number for this installation.
=== ログ終了: 2015/08/01 7:36:45 ===
MSI (s) (B8:50) [07:36:45:955]: User policy value 'DisableRollback' is 0
MSI (s) (B8:50) [07:36:45:955]: Machine policy value 'DisableRollback' is 0
MSI (s) (B8:50) [07:36:45:955]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (B8:50) [07:36:45:955]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (B8:50) [07:36:45:955]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (B8:50) [07:36:45:955]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (s) (B8:50) [07:36:45:955]: Restoring environment variables
MSI (s) (B8:50) [07:36:45:955]: Destroying RemoteAPI object.
MSI (s) (B8:2C) [07:36:45:955]: Custom Action Manager thread ending.
MSI (c) (E0:54) [07:36:45:955]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (E0:54) [07:36:45:955]: MainEngineThread is returning 1603
=== Verbose logging stopped: 2015/08/01 7:36:45 ===
となっておりインストールはうまくいったけどそのあとで止まっているようにも見えます
かなり困っているので何かわかれば教えてください
Replies
ShiroYuki_Mot on Sat, 01 Aug 2015 02:12:45
yasukunv さま よろしく。
お使いの環境には、既に、代替のバージョンが導入されてはいませんか?。
https://msdn.microsoft.com/ja-JP/library/vstudio/hh425099 から引用
.NET Framework のバージョンの中には、前のバージョンのインプレース更新であるものがあります。 たとえば、.NET Framework 3.5 はバージョン 2.0 のインプレース更新で、.NET Framework 4.5.2 はバージョン 4、4.5、および 4.5.1 のインプレース更新です。 詳細については、「.NET Framework のバージョンおよび依存関係」を参照してください。
詳細は、この引用の中のリンクを辿って下さい。
yasukunv on Sat, 01 Aug 2015 11:03:29
インストールしてあるフレームワークを調べるコマンド使うと (checkvdnfw.cmd)
3.5まではインストール出来ている様です。またフレームワークのクリーンアップツールを使っても
結局クリーンアップはされずに同じ結果となります。
Win7の場合3.5はアンインストール出来ないと書いてありました
今回は4.0なのでインプレースは関係ないような気がしますが
Azulean on Sat, 01 Aug 2015 12:13:07
1603 という戻り値があると言うことはそれまでに何か失敗しているはずです。
「中略」とされている部分に、Error, Warning, Failure など、何か情報がないか見てください。
yasukunv on Mon, 03 Aug 2015 22:59:51
Azulean様
何カ所かでFailedが出ている様で
重複したIO処理を実施している様です
=== Verbose logging started: 2015/08/01 7:36:40 Build type: SHIP UNICODE 5.00.7601.00 Calling process: C:\0aa79e0df630537469e289\Setup.exe ===
MSI (c) (E0:54) [07:36:40:744]: Resetting cached policy values
MSI (c) (E0:54) [07:36:40:744]: Machine policy value 'Debug' is 0
MSI (c) (E0:54) [07:36:40:744]: ******* RunEngine:
******* Product: C:\0aa79e0df630537469e289\netfx_Core_x86.msi
******* Action:
******* CommandLine: **********
MSI (c) (E0:54) [07:36:40:760]: Client-side and UI is none or basic: Running entire install on the server.
MSI (c) (E0:54) [07:36:40:760]: Grabbed execution mutex.
MSI (c) (E0:54) [07:36:41:010]: Cloaking enabled.
MSI (c) (E0:54) [07:36:41:010]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (E0:54) [07:36:41:025]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (B8:50) [07:36:41:041]: Running installation inside multi-package transaction C:\0aa79e0df630537469e289\netfx_Core_x86.msi
MSI (s) (B8:50) [07:36:41:041]: Grabbed execution mutex.
MSI (s) (B8:60) [07:36:41:041]: Resetting cached policy values
中略
操作開始 7:36:44: CA_NgenRemoveNicPFROs_I_Cmd_x86.3643236F_FC70_11D3_A536_0090278A1BB8。
08/01/15 07:36:44 DDSet_Status: LANGID: 1041
08/01/15 07:36:44 DDSet_Entry: NgenRemovePendingFileRenames started
08/01/15 07:36:44 DDSet_Status: Init PFRO manager: 0
08/01/15 07:36:44 DDSet_Status: Number of renames removed: 0
08/01/15 07:36:44 DDSet_Status: Rename string for rollback: size: 0
MSI (s) (B8!14) [07:36:44:769]: Doing action: CA_NgenRemoveNicPFROs_I_RB_x86.3643236F_FC70_11D3_A536_0090278A1BB8
MSI (s) (B8!14) [07:36:44:769]: Note: 1: 2205 2: 3: ActionText
08/01/15 07:36:44 DDSet_Status: Scheduling rollback action with data:
MSI (s) (B8!14) [07:36:44:769]: Resolving source.
MSI (s) (B8!14) [07:36:44:769]: Resolving source to launched-from source.
MSI (s) (B8!14) [07:36:44:769]: Setting launched-from source as last-used.
MSI (s) (B8!14) [07:36:44:769]: PROPERTY CHANGE: Adding SourceDir property. Its value is 'C:\0aa79e0df630537469e289\'.
MSI (s) (B8!14) [07:36:44:769]: PROPERTY CHANGE: Adding SOURCEDIR property. Its value is 'C:\0aa79e0df630537469e289\'.
MSI (s) (B8!14) [07:36:44:769]: PROPERTY CHANGE: Adding SourcedirProduct property. Its value is '{3C3901C5-3455-3E0A-A214-0B093A5070A6}'.
MSI (s) (B8!14) [07:36:44:769]: SOURCEDIR ==> C:\0aa79e0df630537469e289\
MSI (s) (B8!14) [07:36:44:769]: SOURCEDIR product ==> {3C3901C5-3455-3E0A-A214-0B093A5070A6}
MSI (s) (B8!14) [07:36:44:769]: Determining source type
MSI (s) (B8!14) [07:36:44:769]: Source type from package 'netfx_Core_x86.msi': 0
MSI (s) (B8!14) [07:36:44:769]: SECREPAIR: Hash Database: C:\Windows\Installer\SourceHash{3C3901C5-3455-3E0A-A214-0B093A5070A6}
MSI (s) (B8!14) [07:36:44:769]: SECREPAIR: SourceHash database file already exists. Deleting it.
MSI (s) (B8!14) [07:36:44:785]: Note: 1: 2262 2: SourceHash 3: -2147287038
MSI (s) (B8!14) [07:36:44:816]: SECREPAIR: New Hash Database creation complete.
MSI (s) (B8!14) [07:36:44:816]: SECREPAIR: A general error running CryptAcquireContext
MSI (s) (B8!14) [07:36:44:816]: SECREPAIR: Crypt Provider not initialized. Error:0
MSI (s) (B8!14) [07:36:44:832]: SECREPAIR: A general error running CryptAcquireContext
MSI (s) (B8!14) [07:36:44:832]: SECREPAIR: Crypt Provider not initialized. Error:0
MSI (s) (B8!14) [07:36:44:832]: SECREPAIR: A general error running CryptAcquireContext
MSI (s) (B8!14) [07:36:44:832]: SECREPAIR: Crypt Provider not initialized. Error:0
MSI (s) (B8!14) [07:36:44:832]: SECREPAIR: A general error running CryptAcquireContext
MSI (s) (B8!14) [07:36:44:832]: SECREPAIR: Crypt Provider not initialized. Error:0
MSI (s) (B8!14) [07:36:44:832]: SECREPAIR: A general error running CryptAcquireContext
MSI (s) (B8!14) [07:36:44:832]: SECREPAIR: Crypt Provider not initialized. Error:997
MSI (s) (B8!14) [07:36:44:832]: SECUREREPAIR: Failed to CreateContentHash of the file: 1029\SetupResources.dll: for computing its hash. Error: 997
MSI (s) (B8!14) [07:36:44:832]: SECREPAIR: Failed to create hash for the install source files
MSI (s) (B8!14) [07:36:44:832]: SECUREREPAIR: SecureRepair Failed. Error code: 3e5715D8008
操作開始 7:36:44: CA_NgenRemoveNicPFROs_I_RB_x86.3643236F_FC70_11D3_A536_0090278A1BB8。
MSI (s) (B8!14) [07:36:44:832]:
エラー 997。 重複した I/O 処理を実行しています。
操作終了 7:36:44: CA_NgenRemoveNicPFROs_I_RB_x86.3643236F_FC70_11D3_A536_0090278A1BB8。 戻り値 3。
MSI (s) (B8!14) [07:36:44:847]: PROPERTY CHANGE: Adding CA_NgenRemoveNicPFROs_I_DEF_x86.3643236F_FC70_11D3_A536_0090278A1BB8 property. Its value is 'C:\Windows\assembly\NativeImages_v4.0.30319_32'.
MSI (s) (B8!14) [07:36:44:847]: Doing action: CA_NgenRemoveNicPFROs_I_DEF_x86.3643236F_FC70_11D3_A536_0090278A1BB8
MSI (s) (B8!14) [07:36:44:847]: Note: 1: 2205 2: 3: ActionText
08/01/15 07:36:44 DDSet_Status: Scheduling deferred action with data: C:\Windows\assembly\NativeImages_v4.0.30319_32
操作開始 7:36:44: CA_NgenRemoveNicPFROs_I_DEF_x86.3643236F_FC70_11D3_A536_0090278A1BB8。
操作終了 7:36:44: CA_NgenRemoveNicPFROs_I_DEF_x86.3643236F_FC70_11D3_A536_0090278A1BB8。 戻り値 1。
08/01/15 07:36:44 DDSet_CARetVal: 0
08/01/15 07:36:44 DDSet_Exit: NgenRemovePendingFileRenames ended successfully
MSI (s) (B8:60) [07:36:44:847]: Doing action: CA_NgenUpdateHighestVersion_I_Cmd_x86.3643236F_FC70_11D3_A536_0090278A1BB8
MSI (s) (B8:60) [07:36:44:847]: Note: 1: 2205 2: 3: ActionText
操作終了 7:36:44: CA_NgenRemoveNicPFROs_I_Cmd_x86.3643236F_FC70_11D3_A536_0090278A1BB8。 戻り値 1。
MSI (s) (B8:10) [07:36:44:847]: Invoking remote custom action. DLL: C:\Windows\Installer\MSID605.tmp, Entrypoint: NgenUpdateHighestVersionRollback
操作開始 7:36:44: CA_NgenUpdateHighestVersion_I_Cmd_x86.3643236F_FC70_11D3_A536_0090278A1BB8。
08/01/15 07:36:44 DDSet_Status: LANGID: 1041
08/01/15 07:36:44 DDSet_Entry: NgenUpdateLatestVersion started
MSI (s) (B8!8C) [07:36:44:863]: PROPERTY CHANGE: Adding CA_NgenUpdateHighestVersion_I_RB_x86.3643236F_FC70_11D3_A536_0090278A1BB8 property. Its value is 'C:\Windows\'.
MSI (s) (B8!8C) [07:36:44:863]: Doing action: CA_NgenUpdateHighestVersion_I_RB_x86.3643236F_FC70_11D3_A536_0090278A1BB8
MSI (s) (B8!8C) [07:36:44:863]: Note: 1: 2205 2: 3: ActionText
08/01/15 07:36:44 DDSet_Status: Saving the Windows folder as a CA property for later
操作開始 7:36:44: CA_NgenUpdateHighestVersion_I_RB_x86.3643236F_FC70_11D3_A536_0090278A1BB8。
操作終了 7:36:44: CA_NgenUpdateHighestVersion_I_RB_x86.3643236F_FC70_11D3_A536_0090278A1BB8。 戻り値 1。
中略
操作開始 7:36:44: UnpublishFeatures。
MSI (s) (B8:60) [07:36:44:878]: Doing action: SchedSecureObjectsRollback
MSI (s) (B8:60) [07:36:44:878]: Note: 1: 2205 2: 3: ActionText
操作終了 7:36:44: UnpublishFeatures。 戻り値 1。
MSI (s) (B8:5C) [07:36:44:878]: Invoking remote custom action. DLL: C:\Windows\Installer\MSID625.tmp, Entrypoint: SchedSecureObjectsRollback
操作開始 7:36:44: SchedSecureObjectsRollback。
SchedSecureObjectsRollback: Failed to store ACL rollback information with error 0x80070424 - continuing
SchedSecureObjectsRollback: Failed to store ACL rollback information with error 0x80070424 - continuing
MSI (s) (B8:60) [07:36:44:941]: Doing action: StopServices
MSI (s) (B8:60) [07:36:44:941]: Note: 1: 2205 2: 3: ActionText
操作終了 7:36:44: SchedSecureObjectsRollback。 戻り値 1。
操作開始 7:36:44: StopServices。
MSI (s) (B8:60) [07:36:44:941]: Doing action: CA_NgenDisableDownlevelService_I_RB_x86.3643236F_FC70_11D3_A536_0090278A1BB8
MSI (s) (B8:60) [07:36:44:941]: Note: 1: 2205 2: 3: ActionText
操作終了 7:36:44: StopServices。 戻り値 1。
操作開始 7:36:44: CA_NgenDisableDownlevelService_I_RB_x86.3643236F_FC70_11D3_A536_0090278A1BB8。
MSI (s) (B8:60) [07:36:44:941]: Doing action: CA_NgenDisableDownlevelService_I_DEF_x86.3643236F_FC70_11D3_A536_0090278A1BB8
MSI (s) (B8:60) [07:36:44:941]: Note: 1: 2205 2: 3: ActionText
操作終了 7:36:44: CA_NgenDisableDownlevelService_I_RB_x86.3643236F_FC70_11D3_A536_0090278A1BB8。 戻り値 1。
操作開始 7:36:44: CA_NgenDisableDownlevelService_I_DEF_x86.3643236F_FC70_11D3_A536_0090278A1BB8。
MSI (s) (B8:60) [07:36:44:941]: Doing action: DeleteServices
MSI (s) (B8:60) [07:36:44:941]: Note: 1: 2205 2: 3: ActionText
操作終了 7:36:44: CA_NgenDisableDownlevelService_I_DEF_x86.3643236F_FC70_11D3_A536_0090278A1BB8。 戻り値 1。
操作開始 7:36:44: DeleteServices。
MSI (s) (B8:60) [07:36:44:941]: Skipping action: CA_NgenEnableDownlevelService_U_DEF_x86.3643236F_FC70_11D3_A536_0090278A1BB8 (condition is false)
MSI (s) (B8:60) [07:36:44:941]: Skipping action: CA_RemoveWPFFontCacheData_32 (condition is false)
中略
操作終了 7:36:45: StartServices。 戻り値 1。
操作開始 7:36:45: RegisterUser。
MSI (s) (B8:60) [07:36:45:658]: Doing action: RegisterProduct
MSI (s) (B8:60) [07:36:45:658]: Note: 1: 2205 2: 3: ActionText
操作終了 7:36:45: RegisterUser。 戻り値 1。
MSI (s) (B8:60) [07:36:45:658]: Resolving source.
MSI (s) (B8:60) [07:36:45:658]: Resolving source to launched-from source.
MSI (s) (B8:60) [07:36:45:658]: Setting launched-from source as last-used.
MSI (s) (B8:60) [07:36:45:658]: SOURCEDIR ==> C:\0aa79e0df630537469e289\
MSI (s) (B8:60) [07:36:45:658]: SOURCEDIR product ==> {3C3901C5-3455-3E0A-A214-0B093A5070A6}
MSI (s) (B8:60) [07:36:45:658]: SECUREREPAIR: SecureRepair Failed. Error code: 3e5715D8008
操作開始 7:36:45: RegisterProduct。
MSI (s) (B8:60) [07:36:45:658]:
エラー 997。 エラー 997。 重複した I/O 処理を実行しています。
MSI (s) (B8:60) [07:36:45:674]: Machine policy value 'DisableRollback' is 0
MSI (s) (B8:60) [07:36:45:674]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
操作終了 7:36:45: RegisterProduct。 戻り値 3。
MSI (s) (B8:60) [07:36:45:674]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (B8:60) [07:36:45:674]: No System Restore sequence number for this installation.
MSI (s) (B8:60) [07:36:45:674]: Unlocking Server
操作終了 7:36:45: INSTALL。 戻り値 3。
Property(S): UpgradeCode = {10E35DD9-8269-3F1E-97F4-99F0DA3C2CEC}
Property(S): NETFX40_WIC_PRESENT = C:\Windows\system32\windowscodecs.dll
Property(S): WINDOWS2008_SERVER_CORE_INSTALLED = Client
Property(S): IdentityCacheDir = C:\Windows\Microsoft.NET\Framework\v4.0.30319\SetupCache\Client\
Property(S): Installer_ResourcesDir_ara = C:\Windows\Microsoft.NET\Framework\v4.0.30319\SetupCache\Client\1025\
Property(S): Installer_ResourcesDir_cht = C:\Windows\Microsoft.NET\Framework\v4.0.30319\SetupCache\Client\1028\
trapemiya on Tue, 04 Aug 2015 01:20:29
>エラー 997。 エラー 997。 重複した I/O 処理を実行しています。
インストールはダウンロードされてから実行でしょうか? それともWebインストーラーでしょうか? 前者ならダウンロードが不完全な場合があります。また、ウイルス対策ソフト等が関連している可能性もあるかもしれません。あと、Windowsのアプリケーションログ等に何か出ていませんでしょうか?
jzkey on Tue, 04 Aug 2015 03:11:54
googleにかけると、ここらがでてきます、http://stackoverflow.com/questions/28019083/net-4-fails-to-install-because-securerepair-fails-to-createcontenthash-of-file
https://forums.lenovo.com/t5/ThinkVantage-Technologies/Install-of-Sytem-update-fails-with-MSI-installer-Error-997/td-p/1802731
KB2918614、KB3000988、KB3008627あたりをアンインストールすれば直る、ようなことが書いてあります。
#いま入れるなら、Net 4.5.2でよいのでは、という気がします。4.0でないとだめなんでしょうか、
yasukunv on Tue, 04 Aug 2015 05:20:55
会社のパソコンにインストールしており元のファイルは同じファイルでほかのパソコンはすべてうまくいったので
元のファイルは間違いないと思います
yasukunv on Tue, 04 Aug 2015 05:44:29
Net 4.5もインストールを試みましたが 一緒の結果でした
上記3つのプログラムがあればアンインストールをしてみて実施して見ます
ShiroYuki_Mot on Tue, 04 Aug 2015 06:48:50
yasukunv さま 拝見しました。
以下のサポートページに ngen.exe を使って、新しいネイティブ イメージを強制的に生成させる とあります。(最後の記述)
一度、この Fixit をお試しなっては如何でしょうか?。
診断ツール Fix it: 状況によっては Microsoft .NET Framework 4 用の更新プログラムのインストールに予想以上の時間がかかる問題
https://support.microsoft.com/ja-jp/kb/2570538
%windir%\microsoft.net\framework\v4.0.30319\ngen.exe update /force /queue
%windir%\microsoft.net\framework64\v4.0.30319\ngen.exe update /force /queue
HaruSuke on Wed, 21 Dec 2016 08:50:27
私も同様な事象が発生して、.NET Frameworkのどのバージョンもインストール不可となりましたが、以下のことを行い復旧しました。
・C:\ProgramData\Microsoft\Crypto\RSA\S-1-5-18 をS-1-5-18bakにリネーム
・ .Net Frameworkをインストール
S-5-18フォルダの中身に問題があって引っかかっていたようです。
ご参考