Skip to content

Instantly share code, notes, and snippets.

@neguse11
Created November 4, 2015 10:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save neguse11/800276be5a9f06038c60 to your computer and use it in GitHub Desktop.
Save neguse11/800276be5a9f06038c60 to your computer and use it in GitHub Desktop.
msiexec /quiet /a 7z920.msi を実行した際のログ

7z920.msi を msiexec /quiet /a で実行した際のログ

その5>>83で教わった msiexec /quiet /a 7z920.msi targetdir="%TEMP%\_7z" を実行した際のログです

Windows のバージョン

> systeminfo | findstr /B "OS"

OS 名:                  Microsoft Windows 7 Professional
OS バージョン:          6.1.7601 Service Pack 1 ビルド 7601
OS 製造元:              Microsoft Corporation
OS 構成:                スタンドアロン ワークステーション
OS ビルドの種類:        Multiprocessor Free

実行時の管理者権限

> whoami /groups /fo list | findstr /i Administrators

グループ名: NT AUTHORITY\ローカル アカウントと Administrators グループのメンバー
グループ名: BUILTIN\Administrators

msiexec のバージョン

Windows (R) インストーラー. V 5.0.7601.18896

x86 版 7z920.msi を msiexec で実行

cd /d "%USERPROFILE%"
mkdir _7ztest
cd _7ztest
curl -JOL http://www.7-zip.org/a/7z920.msi
msiexec /quiet /a 7z920.msi targetdir="%TEMP%\_7z"

msiexec 実行時に書き込みアクセスされるレジストリ一覧

以下は Process Monitor で収集した値です。

基本的に排他制御、リカバリ、後始末以外のアクセスはしていないように見えます

  • RegSetInfoKey
"HKCR\Wow6432Node\CLSID\{000C103E-0000-0000-C000-000000000046}"
"HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer"
"HKLM\SOFTWARE"
"HKLM\SOFTWARE\Microsoft\COM3"
"HKLM\SOFTWARE\Microsoft\Cryptography"
"HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion"
"HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion"
"HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer"
"HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Folders"
"HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\InProgress"
"HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Rollback"
"HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts"
"HKLM\SOFTWARE\Policies\Microsoft\Cryptography"
"HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion"
"HKLM\System\CurrentControlSet\Control\SESSION MANAGER"
"HKLM\System\CurrentControlSet\Control\SESSION MANAGER\Environment"
"HKU\.DEFAULT\Environment"
  • RegSetValue
"HKCU\Software\Microsoft\RestartManager\Session0000\Owner"
"HKCU\Software\Microsoft\RestartManager\Session0000\Sequence"
"HKCU\Software\Microsoft\RestartManager\Session0000\SessionHash"
"HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\InProgress\(Default)"
"HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts\C:\Config.Msi\c93ed4c.rbs"
"HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts\C:\Config.Msi\c93ed4c.rbsLow"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment