prometheus-community / windows_exporter

Prometheus exporter for Windows machines
MIT License
2.92k stars 703 forks source link

MSI Installer Ignores TARGETDIR Command Line Option #333

Closed ghost closed 10 months ago

ghost commented 5 years ago

I'm trying to install the WMI exporter on a secondary drive by passing TARGETDIR="D:\Program Files" as a command line option but the package is always installed in C:\Program Files. I've also tried a using INSTALLDIR= for this but this behaved the same way.

Having looked at the installation log, it looks like the TARGETDIR option is being picked up but it's completely ignored.

Command used:

msiexec /i wmi_exporter.msi TARGETDIR="D:\Program Files" /l*v log.txt

Log output:

=== Verbose logging started: 18/04/2019 15:49:07 Build type: SHIP UNICODE 5.00.10011.00 Calling process: C:\Windows\system32\msiexec.exe === MSI (c) (2C:34) [15:49:07:256]: Font created. Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg

MSI (c) (2C:34) [15:49:07:256]: Font created. Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg

MSI (c) (2C:78) [15:49:07:272]: Resetting cached policy values MSI (c) (2C:78) [15:49:07:272]: Machine policy value 'Debug' is 0 MSI (c) (2C:78) [15:49:07:272]: RunEngine: Product: wmi_exporter.msi Action: CommandLine: ** MSI (c) (2C:78) [15:49:07:287]: Machine policy value 'DisableUserInstalls' is 0 MSI (c) (2C:78) [15:49:07:287]: SOFTWARE RESTRICTION POLICY: Verifying package --> 'C:\Users\svc-iob-ansible\AppData\Local\Temp\Installation-Files\wmi_exporter.msi' against software restriction policy MSI (c) (2C:78) [15:49:07:303]: Note: 1: 2262 2: DigitalSignature 3: -2147287038 MSI (c) (2C:78) [15:49:07:303]: SOFTWARE RESTRICTION POLICY: C:\Users\svc-iob-ansible\AppData\Local\Temp\Installation-Files\wmi_exporter.msi is not digitally signed MSI (c) (2C:78) [15:49:07:303]: SOFTWARE RESTRICTION POLICY: C:\Users\svc-iob-ansible\AppData\Local\Temp\Installation-Files\wmi_exporter.msi is permitted to run at the 'unrestricted' authorization level. MSI (c) (2C:78) [15:49:07:303]: Cloaking enabled. MSI (c) (2C:78) [15:49:07:303]: Attempting to enable all disabled privileges before calling Install on Server MSI (c) (2C:78) [15:49:07:303]: End dialog not enabled MSI (c) (2C:78) [15:49:07:303]: Original package ==> C:\Users\svc-iob-ansible\AppData\Local\Temp\Installation-Files\wmi_exporter.msi MSI (c) (2C:78) [15:49:07:303]: Package we're running from ==> C:\Users\svc-iob-ansible\AppData\Local\Temp\Installation-Files\wmi_exporter.msi MSI (c) (2C:78) [15:49:07:303]: APPCOMPAT: Compatibility mode property overrides found. MSI (c) (2C:78) [15:49:07:303]: APPCOMPAT: looking for appcompat database entry with ProductCode '{4ACFD799-FA9F-443C-B338-4BC8E38B40F8}'. MSI (c) (2C:78) [15:49:07:303]: APPCOMPAT: no matching ProductCode found in database. MSI (c) (2C:78) [15:49:07:319]: MSCOREE not loaded loading copy from system32 MSI (c) (2C:78) [15:49:07:319]: Machine policy value 'TransformsSecure' is 1 MSI (c) (2C:78) [15:49:07:319]: Machine policy value 'DisablePatch' is 0 MSI (c) (2C:78) [15:49:07:319]: Machine policy value 'AllowLockdownPatch' is 0 MSI (c) (2C:78) [15:49:07:319]: Machine policy value 'DisableMsi' is 1 MSI (c) (2C:78) [15:49:07:319]: Machine policy value 'AlwaysInstallElevated' is 0 MSI (c) (2C:78) [15:49:07:319]: User policy value 'AlwaysInstallElevated' is 0 MSI (c) (2C:78) [15:49:07:319]: Running product '{4ACFD799-FA9F-443C-B338-4BC8E38B40F8}' with user privileges. DisableMsi policy is set to or defaulted to 1. This is the client and the user does not have full admin token. Evaulation is delayed until after credentials provided. This install could still be blocked MSI (c) (2C:78) [15:49:07:319]: Machine policy value 'DisableLUAPatching' is 0 MSI (c) (2C:78) [15:49:07:319]: Machine policy value 'DisableFlyWeightPatching' is 0 MSI (c) (2C:78) [15:49:07:319]: APPCOMPAT: looking for appcompat database entry with ProductCode '{4ACFD799-FA9F-443C-B338-4BC8E38B40F8}'. MSI (c) (2C:78) [15:49:07:319]: APPCOMPAT: no matching ProductCode found in database. MSI (c) (2C:78) [15:49:07:319]: Transforms are not secure. MSI (c) (2C:78) [15:49:07:319]: Note: 1: 2205 2: 3: Control MSI (c) (2C:78) [15:49:07:319]: PROPERTY CHANGE: Adding MsiLogFileLocation property. Its value is 'C:\Users\svc-iob-ansible\AppData\Local\Temp\Installation-Files\log.txt'. MSI (c) (2C:78) [15:49:07:319]: Command Line: TARGETDIR=D:\Program Files CURRENTDIRECTORY=C:\Users\svc-iob-ansible\AppData\Local\Temp\Installation-Files CLIENTUILEVEL=0 CLIENTPROCESSID=5932 MSI (c) (2C:78) [15:49:07:319]: PROPERTY CHANGE: Adding PackageCode property. Its value is '{43E5A35F-3A4B-404D-8855-156F079565FF}'. MSI (c) (2C:78) [15:49:07:319]: Product Code passed to Engine.Initialize: '' MSI (c) (2C:78) [15:49:07:319]: Product Code from property table before transforms: '{4ACFD799-FA9F-443C-B338-4BC8E38B40F8}' MSI (c) (2C:78) [15:49:07:319]: Product Code from property table after transforms: '{4ACFD799-FA9F-443C-B338-4BC8E38B40F8}' MSI (c) (2C:78) [15:49:07:319]: Product not registered: beginning first-time install MSI (c) (2C:78) [15:49:07:319]: PROPERTY CHANGE: Adding ProductState property. Its value is '-1'. MSI (c) (2C:78) [15:49:07:319]: Entering CMsiConfigurationManager::SetLastUsedSource. MSI (c) (2C:78) [15:49:07:319]: User policy value 'SearchOrder' is 'nmu' MSI (c) (2C:78) [15:49:07:319]: Adding new sources is allowed. MSI (c) (2C:78) [15:49:07:319]: PROPERTY CHANGE: Adding PackagecodeChanging property. Its value is '1'. MSI (c) (2C:78) [15:49:07:319]: Package name extracted from package path: 'wmi_exporter.msi' MSI (c) (2C:78) [15:49:07:319]: Package to be registered: 'wmi_exporter.msi' MSI (c) (2C:78) [15:49:07:319]: Note: 1: 2262 2: AdminProperties 3: -2147287038 MSI (c) (2C:78) [15:49:07:319]: Machine policy value 'AlwaysInstallElevated' is 0 MSI (c) (2C:78) [15:49:07:319]: User policy value 'AlwaysInstallElevated' is 0 MSI (c) (2C:78) [15:49:07:319]: Running product '{4ACFD799-FA9F-443C-B338-4BC8E38B40F8}' with user privileges. DisableMsi policy is set to or defaulted to 1. This is the client and the user does not have full admin token. Evaulation is delayed until after credentials provided. This install could still be blocked MSI (c) (2C:78) [15:49:07:319]: PROPERTY CHANGE: Adding TARGETDIR property. Its value is 'D:\Program Files'. MSI (c) (2C:78) [15:49:07:319]: PROPERTY CHANGE: Adding CURRENTDIRECTORY property. Its value is 'C:\Users\svc-iob-ansible\AppData\Local\Temp\Installation-Files'. MSI (c) (2C:78) [15:49:07:319]: PROPERTY CHANGE: Adding CLIENTUILEVEL property. Its value is '0'. MSI (c) (2C:78) [15:49:07:319]: PROPERTY CHANGE: Adding CLIENTPROCESSID property. Its value is '5932'. MSI (c) (2C:78) [15:49:07:319]: TRANSFORMS property is now: MSI (c) (2C:78) [15:49:07:319]: PROPERTY CHANGE: Adding VersionDatabase property. Its value is '100'. MSI (c) (2C:78) [15:49:07:319]: SHELL32::SHGetFolderPath returned: C:\Users\a-millerj\AppData\Roaming MSI (c) (2C:78) [15:49:07:319]: SHELL32::SHGetFolderPath returned: C:\Users\a-millerj\Favorites MSI (c) (2C:78) [15:49:07:319]: SHELL32::SHGetFolderPath returned: C:\Users\a-millerj\AppData\Roaming\Microsoft\Windows\Network Shortcuts MSI (c) (2C:78) [15:49:07:319]: SHELL32::SHGetFolderPath returned: C:\Users\a-millerj\Documents MSI (c) (2C:78) [15:49:07:319]: SHELL32::SHGetFolderPath returned: C:\Users\a-millerj\AppData\Roaming\Microsoft\Windows\Printer Shortcuts MSI (c) (2C:78) [15:49:07:319]: SHELL32::SHGetFolderPath returned: C:\Users\a-millerj\AppData\Roaming\Microsoft\Windows\Recent MSI (c) (2C:78) [15:49:07:319]: SHELL32::SHGetFolderPath returned: C:\Users\a-millerj\AppData\Roaming\Microsoft\Windows\SendTo MSI (c) (2C:78) [15:49:07:319]: SHELL32::SHGetFolderPath returned: C:\Users\a-millerj\AppData\Roaming\Microsoft\Windows\Templates MSI (c) (2C:78) [15:49:07:319]: SHELL32::SHGetFolderPath returned: C:\ProgramData MSI (c) (2C:78) [15:49:07:319]: SHELL32::SHGetFolderPath returned: C:\Users\a-millerj\AppData\Local MSI (c) (2C:78) [15:49:07:319]: SHELL32::SHGetFolderPath returned: C:\Users\a-millerj\Pictures MSI (c) (2C:78) [15:49:07:319]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools MSI (c) (2C:78) [15:49:07:319]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup MSI (c) (2C:78) [15:49:07:319]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\Programs MSI (c) (2C:78) [15:49:07:319]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu MSI (c) (2C:78) [15:49:07:319]: SHELL32::SHGetFolderPath returned: C:\Users\Public\Desktop MSI (c) (2C:78) [15:49:07:319]: SHELL32::SHGetFolderPath returned: C:\Users\a-millerj\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Administrative Tools MSI (c) (2C:78) [15:49:07:319]: SHELL32::SHGetFolderPath returned: C:\Users\a-millerj\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup MSI (c) (2C:78) [15:49:07:319]: SHELL32::SHGetFolderPath returned: C:\Users\a-millerj\AppData\Roaming\Microsoft\Windows\Start Menu\Programs MSI (c) (2C:78) [15:49:07:319]: SHELL32::SHGetFolderPath returned: C:\Users\a-millerj\AppData\Roaming\Microsoft\Windows\Start Menu MSI (c) (2C:78) [15:49:07:319]: SHELL32::SHGetFolderPath returned: C:\Users\a-millerj\Desktop MSI (c) (2C:78) [15:49:07:319]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Templates MSI (c) (2C:78) [15:49:07:319]: SHELL32::SHGetFolderPath returned: C:\Windows\Fonts MSI (c) (2C:78) [15:49:07:319]: Note: 1: 2898 2: MS Sans Serif 3: MS Sans Serif 4: 0 5: 16 MSI (c) (2C:78) [15:49:07:334]: MSI_LUA: Setting AdminUser property to 1 because this is the client or the user has already permitted elevation MSI (c) (2C:78) [15:49:07:334]: PROPERTY CHANGE: Adding AdminUser property. Its value is '1'. MSI (c) (2C:78) [15:49:07:334]: PROPERTY CHANGE: Adding Privileged property. Its value is '1'. MSI (c) (2C:78) [15:49:07:334]: Note: 1: 1402 2: HKEY_CURRENT_USER\Software\Microsoft\MS Setup (ACME)\User Info 3: 2 MSI (c) (2C:78) [15:49:07:334]: PROPERTY CHANGE: Adding USERNAME property. Its value is 'EC2'. MSI (c) (2C:78) [15:49:07:334]: Note: 1: 1402 2: HKEY_CURRENT_USER\Software\Microsoft\MS Setup (ACME)\User Info 3: 2 MSI (c) (2C:78) [15:49:07:334]: PROPERTY CHANGE: Adding COMPANYNAME property. Its value is 'Amazon.com'. MSI (c) (2C:78) [15:49:07:334]: PROPERTY CHANGE: Adding DATABASE property. Its value is 'C:\Users\svc-iob-ansible\AppData\Local\Temp\Installation-Files\wmi_exporter.msi'. MSI (c) (2C:78) [15:49:07:334]: PROPERTY CHANGE: Adding OriginalDatabase property. Its value is 'C:\Users\svc-iob-ansible\AppData\Local\Temp\Installation-Files\wmi_exporter.msi'. MSI (c) (2C:78) [15:49:07:334]: Machine policy value 'MsiDisableEmbeddedUI' is 0 MSI (c) (2C:78) [15:49:07:334]: PROPERTY CHANGE: Adding SourceDir property. Its value is 'C:\Users\svc-iob-ansible\AppData\Local\Temp\Installation-Files\'. MSI (c) (2C:78) [15:49:07:334]: PROPERTY CHANGE: Adding SOURCEDIR property. Its value is 'C:\Users\svc-iob-ansible\AppData\Local\Temp\Installation-Files\'. MSI (c) (2C:34) [15:49:07:334]: PROPERTY CHANGE: Adding VersionHandler property. Its value is '5.00'. MSI (c) (2C:34) [15:49:07:334]: Note: 1: 2205 2: 3: ControlEvent MSI (c) (2C:34) [15:49:07:334]: Note: 1: 2205 2: 3: ControlCondition MSI (c) (2C:34) [15:49:07:334]: Note: 1: 2205 2: 3: EventMapping MSI (c) (2C:34) [15:49:07:334]: Note: 1: 2205 2: 3: UIText MSI (c) (2C:34) [15:49:07:334]: Note: 1: 2205 2: 3: TextStyle MSI (c) (2C:34) [15:49:07:334]: Note: 1: 2205 2: 3: Dialog === Logging started: 18/04/2019 15:49:07 === MSI (c) (2C:78) [15:49:07:334]: Note: 1: 2205 2: 3: PatchPackage MSI (c) (2C:78) [15:49:07:334]: Machine policy value 'DisableRollback' is 0 MSI (c) (2C:78) [15:49:07:334]: User policy value 'DisableRollback' is 0 MSI (c) (2C:78) [15:49:07:334]: PROPERTY CHANGE: Adding UILevel property. Its value is '5'. MSI (c) (2C:78) [15:49:07:334]: Note: 1: 2203 2: C:\Windows\Installer\inprogressinstallinfo.ipi 3: -2147287038 MSI (c) (2C:78) [15:49:07:334]: APPCOMPAT: [DetectVersionLaunchCondition] Launch condition already passes. MSI (c) (2C:78) [15:49:07:334]: PROPERTY CHANGE: Adding ACTION property. Its value is 'INSTALL'. MSI (c) (2C:78) [15:49:07:334]: Doing action: INSTALL Action 15:49:07: INSTALL. Action start 15:49:07: INSTALL. MSI (c) (2C:78) [15:49:07:334]: UI Sequence table 'InstallUISequence' is present and populated. MSI (c) (2C:78) [15:49:07:334]: Running UISequence MSI (c) (2C:78) [15:49:07:334]: PROPERTY CHANGE: Adding EXECUTEACTION property. Its value is 'INSTALL'. MSI (c) (2C:78) [15:49:07:334]: Doing action: FindRelatedProducts Action 15:49:07: FindRelatedProducts. Searching for related applications Action start 15:49:07: FindRelatedProducts. Action ended 15:49:07: FindRelatedProducts. Return value 1. MSI (c) (2C:78) [15:49:07:334]: Doing action: LaunchConditions Action 15:49:07: LaunchConditions. Evaluating launch conditions Action start 15:49:07: LaunchConditions. Action ended 15:49:07: LaunchConditions. Return value 1. MSI (c) (2C:78) [15:49:07:334]: Doing action: ValidateProductID Action 15:49:07: ValidateProductID. Action start 15:49:07: ValidateProductID. Action ended 15:49:07: ValidateProductID. Return value 1. MSI (c) (2C:78) [15:49:07:334]: Doing action: CostInitialize Action 15:49:07: CostInitialize. Computing space requirements Action start 15:49:07: CostInitialize. MSI (c) (2C:78) [15:49:07:334]: Machine policy value 'MaxPatchCacheSize' is 10 MSI (c) (2C:78) [15:49:07:350]: PROPERTY CHANGE: Adding ROOTDRIVE property. Its value is 'C:\'. MSI (c) (2C:78) [15:49:07:350]: PROPERTY CHANGE: Adding CostingComplete property. Its value is '0'. Action ended 15:49:07: CostInitialize. Return value 1. MSI (c) (2C:78) [15:49:07:350]: Doing action: FileCost Action 15:49:07: FileCost. Computing space requirements Action start 15:49:07: FileCost. MSI (c) (2C:78) [15:49:07:350]: Note: 1: 2205 2: 3: MsiAssembly MSI (c) (2C:78) [15:49:07:350]: Note: 1: 2205 2: 3: Class MSI (c) (2C:78) [15:49:07:350]: Note: 1: 2205 2: 3: Extension MSI (c) (2C:78) [15:49:07:350]: Note: 1: 2205 2: 3: TypeLib Action ended 15:49:07: FileCost. Return value 1. MSI (c) (2C:78) [15:49:07:350]: Doing action: CostFinalize Action 15:49:07: CostFinalize. Computing space requirements Action start 15:49:07: CostFinalize. MSI (c) (2C:78) [15:49:07:350]: PROPERTY CHANGE: Adding OutOfDiskSpace property. Its value is '0'. MSI (c) (2C:78) [15:49:07:350]: PROPERTY CHANGE: Adding OutOfNoRbDiskSpace property. Its value is '0'. MSI (c) (2C:78) [15:49:07:350]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceAvailable property. Its value is '0'. MSI (c) (2C:78) [15:49:07:350]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRequired property. Its value is '0'. MSI (c) (2C:78) [15:49:07:350]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRemaining property. Its value is '0'. MSI (c) (2C:78) [15:49:07:350]: Note: 1: 2205 2: 3: Patch MSI (c) (2C:78) [15:49:07:350]: Note: 1: 2205 2: 3: Condition MSI (c) (2C:78) [15:49:07:350]: PROPERTY CHANGE: Modifying TARGETDIR property. Its current value is 'D:\Program Files'. Its new value: 'D:\Program Files\'. MSI (c) (2C:78) [15:49:07:350]: PROPERTY CHANGE: Adding APPLICATIONROOTDIRECTORY property. Its value is 'C:\Program Files (x86)\wmi_exporter\'. MSI (c) (2C:78) [15:49:07:350]: PROPERTY CHANGE: Adding textfile_inputs property. Its value is 'C:\Program Files (x86)\wmi_exporter\textfile_inputs\'. MSI (c) (2C:78) [15:49:07:350]: Target path resolution complete. Dumping Directory table... MSI (c) (2C:78) [15:49:07:350]: Note: target paths subject to change (via custom actions or browsing) MSI (c) (2C:78) [15:49:07:350]: Dir (target): Key: TARGETDIR , Object: D:\Program Files** MSI (c) (2C:78) [15:49:07:350]: Dir (target): Key: WindowsFolder , Object: C:\Windows\ MSI (c) (2C:78) [15:49:07:350]: Dir (target): Key: ProgramFilesFolder , Object: C:\Program Files (x86)\ MSI (c) (2C:78) [15:49:07:350]: Dir (target): Key: APPLICATIONROOTDIRECTORY , Object: C:\Program Files (x86)\wmi_exporter\ MSI (c) (2C:78) [15:49:07:350]: Dir (target): Key: textfile_inputs , Object: C:\Program Files (x86)\wmi_exporter\textfile_inputs\ MSI (c) (2C:78) [15:49:07:350]: PROPERTY CHANGE: Adding INSTALLLEVEL property. Its value is '1'. MSI (c) (2C:78) [15:49:07:350]: Note: 1: 2205 2: 3: MsiAssembly MSI (c) (2C:78) [15:49:07:350]: Note: 1: 2228 2: 3: MsiAssembly 4: SELECT MsiAssembly.Attributes, MsiAssembly.File_Application, MsiAssembly.File_Manifest, Component.KeyPath FROM MsiAssembly, Component WHERE MsiAssembly.Component_ = Component.Component AND MsiAssembly.Component_ = ? Action ended 15:49:07: CostFinalize. Return value 1. MSI (c) (2C:78) [15:49:07:350]: Doing action: MigrateFeatureStates Action 15:49:07: MigrateFeatureStates. Migrating feature states from related applications Action start 15:49:07: MigrateFeatureStates. Action ended 15:49:07: MigrateFeatureStates. Return value 0. MSI (c) (2C:78) [15:49:07:350]: Doing action: ExecuteAction Action 15:49:07: ExecuteAction. Action start 15:49:07: ExecuteAction. MSI (c) (2C:78) [15:49:07:350]: PROPERTY CHANGE: Adding SECONDSEQUENCE property. Its value is '1'. MSI (c) (2C:78) [15:49:07:350]: Grabbed execution mutex. MSI (c) (2C:78) [15:49:07:350]: Incrementing counter to disable shutdown. Counter after increment: 0 MSI (c) (2C:78) [15:49:07:350]: Switching to server: APPLICATIONROOTDIRECTORY="C:\Program Files (x86)\wmi_exporter\" TARGETDIR="D:\Program Files\" CURRENTDIRECTORY="C:\Users\svc-iob-ansible\AppData\Local\Temp\Installation-Files" CLIENTUILEVEL="0" CLIENTPROCESSID="5932" USERNAME="EC2" COMPANYNAME="Amazon.com" SOURCEDIR="C:\Users\svc-iob-ansible\AppData\Local\Temp\Installation-Files\" ROOTDRIVE="C:\" EXECUTEACTION="INSTALL" ACTION="INSTALL" INSTALLLEVEL="1" SECONDSEQUENCE="1" ADDLOCAL=DefaultFeature
MSI (s) (9C:08) [15:49:07:350]: Running installation inside multi-package transaction C:\Users\svc-iob-ansible\AppData\Local\Temp\Installation-Files\wmi_exporter.msi MSI (s) (9C:08) [15:49:07:350]: Grabbed execution mutex. MSI (s) (9C:BC) [15:49:07:350]: Resetting cached policy values MSI (s) (9C:BC) [15:49:07:350]: Machine policy value 'Debug' is 0 MSI (s) (9C:BC) [15:49:07:350]: *****
RunEngine: Product: C:\Users\svc-iob-ansible\AppData\Local\Temp\Installation-Files\wmi_exporter.msi Action: INSTALL *** CommandLine: ** MSI (s) (9C:BC) [15:49:07:350]: Machine policy value 'DisableUserInstalls' is 0 MSI (s) (9C:BC) [15:49:07:350]: Note: 1: 2203 2: C:\Windows\Installer\inprogressinstallinfo.ipi 3: -2147287038 MSI (s) (9C:BC) [15:49:07:350]: Machine policy value 'LimitSystemRestoreCheckpointing' is 0 MSI (s) (9C:BC) [15:49:07:350]: Note: 1: 1715 2: WMI Exporter MSI (s) (9C:BC) [15:49:07:350]: Calling SRSetRestorePoint API. dwRestorePtType: 0, dwEventType: 102, llSequenceNumber: 0, szDescription: "Installed WMI Exporter". MSI (s) (9C:BC) [15:49:07:350]: The call to SRSetRestorePoint API failed. Returned status: 0. GetLastError() returned: 127 MSI (s) (9C:BC) [15:49:07:366]: File will have security applied from OpCode. MSI (s) (9C:BC) [15:49:07:366]: SOFTWARE RESTRICTION POLICY: Verifying package --> 'C:\Users\svc-iob-ansible\AppData\Local\Temp\Installation-Files\wmi_exporter.msi' against software restriction policy MSI (s) (9C:BC) [15:49:07:366]: Note: 1: 2262 2: DigitalSignature 3: -2147287038 MSI (s) (9C:BC) [15:49:07:366]: SOFTWARE RESTRICTION POLICY: C:\Users\svc-iob-ansible\AppData\Local\Temp\Installation-Files\wmi_exporter.msi is not digitally signed MSI (s) (9C:BC) [15:49:07:381]: SOFTWARE RESTRICTION POLICY: C:\Users\svc-iob-ansible\AppData\Local\Temp\Installation-Files\wmi_exporter.msi is permitted to run at the 'unrestricted' authorization level. MSI (s) (9C:BC) [15:49:07:381]: End dialog not enabled MSI (s) (9C:BC) [15:49:07:381]: Original package ==> C:\Users\svc-iob-ansible\AppData\Local\Temp\Installation-Files\wmi_exporter.msi MSI (s) (9C:BC) [15:49:07:381]: Package we're running from ==> C:\Windows\Installer\446b50.msi MSI (s) (9C:BC) [15:49:07:381]: APPCOMPAT: Compatibility mode property overrides found. MSI (s) (9C:BC) [15:49:07:381]: APPCOMPAT: looking for appcompat database entry with ProductCode '{4ACFD799-FA9F-443C-B338-4BC8E38B40F8}'. MSI (s) (9C:BC) [15:49:07:381]: APPCOMPAT: no matching ProductCode found in database. MSI (s) (9C:BC) [15:49:07:381]: Machine policy value 'TransformsSecure' is 1 MSI (s) (9C:BC) [15:49:07:381]: Machine policy value 'DisablePatch' is 0 MSI (s) (9C:BC) [15:49:07:381]: Machine policy value 'AllowLockdownPatch' is 0 MSI (s) (9C:BC) [15:49:07:381]: Machine policy value 'DisableMsi' is 1 MSI (s) (9C:BC) [15:49:07:381]: Machine policy value 'AlwaysInstallElevated' is 0 MSI (s) (9C:BC) [15:49:07:381]: User policy value 'AlwaysInstallElevated' is 0 MSI (s) (9C:BC) [15:49:07:381]: Rejecting product '{4ACFD799-FA9F-443C-B338-4BC8E38B40F8}': Non-assigned apps are disabled for non-admin users. MSI (s) (9C:BC) [15:49:07:381]: Machine policy value 'DisableLUAPatching' is 0 MSI (s) (9C:BC) [15:49:07:381]: Machine policy value 'DisableFlyWeightPatching' is 0 MSI (s) (9C:BC) [15:49:07:381]: APPCOMPAT: looking for appcompat database entry with ProductCode '{4ACFD799-FA9F-443C-B338-4BC8E38B40F8}'. MSI (s) (9C:BC) [15:49:07:381]: APPCOMPAT: no matching ProductCode found in database. MSI (s) (9C:BC) [15:49:07:381]: Transforms are not secure. MSI (s) (9C:BC) [15:49:07:381]: PROPERTY CHANGE: Adding MsiLogFileLocation property. Its value is 'C:\Users\svc-iob-ansible\AppData\Local\Temp\Installation-Files\log.txt'. *MSI (s) (9C:BC) [15:49:07:381]: Command Line: APPLICATIONROOTDIRECTORY=C:\Program Files (x86)\wmi_exporter\ TARGETDIR=D:\Program Files* CURRENTDIRECTORY=C:\Users\svc-iob-ansible\AppData\Local\Temp\Installation-Files CLIENTUILEVEL=0 CLIENTPROCESSID=5932 USERNAME=EC2 COMPANYNAME=Amazon.com SOURCEDIR=C:\Users\svc-iob-ansible\AppData\Local\Temp\Installation-Files\ ROOTDRIVE=C:\ EXECUTEACTION=INSTALL ACTION=INSTALL INSTALLLEVEL=1 SECONDSEQUENCE=1 ADDLOCAL=DefaultFeature ACTION=INSTALL MSI (s) (9C:BC) [15:49:07:381]: PROPERTY CHANGE: Adding PackageCode property. Its value is '{43E5A35F-3A4B-404D-8855-156F079565FF}'. MSI (s) (9C:BC) [15:49:07:381]: Product Code passed to Engine.Initialize: '' MSI (s) (9C:BC) [15:49:07:381]: Product Code from property table before transforms: '{4ACFD799-FA9F-443C-B338-4BC8E38B40F8}' MSI (s) (9C:BC) [15:49:07:381]: Product Code from property table after transforms: '{4ACFD799-FA9F-443C-B338-4BC8E38B40F8}' MSI (s) (9C:BC) [15:49:07:381]: Product not registered: beginning first-time install MSI (s) (9C:BC) [15:49:07:381]: Product {4ACFD799-FA9F-443C-B338-4BC8E38B40F8} is not managed. MSI (s) (9C:BC) [15:49:07:381]: Machine policy value 'AlwaysInstallElevated' is 0 MSI (s) (9C:BC) [15:49:07:381]: User policy value 'AlwaysInstallElevated' is 0 MSI (s) (9C:BC) [15:49:07:381]: MSI_LUA: Elevation required to install product, will prompt for credentials MSI (s) (9C:BC) [15:49:07:491]: MSI_LUA: Credential Request return = 0x0 MSI (s) (9C:BC) [15:49:07:491]: MSI_LUA: Elevated credential consent provided. Install will run elevated MSI (s) (9C:BC) [15:49:07:491]: Note: 1: 2205 2: 3: MsiPackageCertificate MSI (s) (9C:BC) [15:49:07:491]: Note: 1: 2205 2: 3: MsiDigitalCertificate MSI (s) (9C:BC) [15:49:07:491]: PROPERTY CHANGE: Adding ProductState property. Its value is '-1'. MSI (s) (9C:BC) [15:49:07:491]: Entering CMsiConfigurationManager::SetLastUsedSource. MSI (s) (9C:BC) [15:49:07:491]: User policy value 'SearchOrder' is 'nmu' MSI (s) (9C:BC) [15:49:07:491]: Adding new sources is allowed. MSI (s) (9C:BC) [15:49:07:491]: PROPERTY CHANGE: Adding PackagecodeChanging property. Its value is '1'. MSI (s) (9C:BC) [15:49:07:491]: Package name extracted from package path: 'wmi_exporter.msi' MSI (s) (9C:BC) [15:49:07:491]: Package to be registered: 'wmi_exporter.msi' MSI (s) (9C:BC) [15:49:07:491]: Note: 1: 2262 2: AdminProperties 3: -2147287038 MSI (s) (9C:BC) [15:49:07:491]: Machine policy value 'AlwaysInstallElevated' is 0 MSI (s) (9C:BC) [15:49:07:491]: User policy value 'AlwaysInstallElevated' is 0 MSI (s) (9C:BC) [15:49:07:491]: Product installation will be elevated because user provided elevated credentials and product is being installed per-machine. MSI (s) (9C:BC) [15:49:07:491]: Running product '{4ACFD799-FA9F-443C-B338-4BC8E38B40F8}' with elevated privileges: Product is assigned. MSI (s) (9C:BC) [15:49:07:491]: PROPERTY CHANGE: Adding APPLICATIONROOTDIRECTORY property. Its value is 'C:\Program Files (x86)\wmi_exporter\'. MSI (s) (9C:BC) [15:49:07:491]: PROPERTY CHANGE: Adding TARGETDIR property. Its value is 'D:\Program Files\'. MSI (s) (9C:BC) [15:49:07:491]: PROPERTY CHANGE: Adding CURRENTDIRECTORY property. Its value is 'C:\Users\svc-iob-ansible\AppData\Local\Temp\Installation-Files'. MSI (s) (9C:BC) [15:49:07:491]: PROPERTY CHANGE: Adding CLIENTUILEVEL property. Its value is '0'. MSI (s) (9C:BC) [15:49:07:491]: PROPERTY CHANGE: Adding CLIENTPROCESSID property. Its value is '5932'. MSI (s) (9C:BC) [15:49:07:491]: PROPERTY CHANGE: Adding USERNAME property. Its value is 'EC2'. MSI (s) (9C:BC) [15:49:07:491]: PROPERTY CHANGE: Adding COMPANYNAME property. Its value is 'Amazon.com'. MSI (s) (9C:BC) [15:49:07:491]: PROPERTY CHANGE: Adding SOURCEDIR property. Its value is 'C:\Users\svc-iob-ansible\AppData\Local\Temp\Installation-Files\'. MSI (s) (9C:BC) [15:49:07:491]: PROPERTY CHANGE: Adding ROOTDRIVE property. Its value is 'C:\'. MSI (s) (9C:BC) [15:49:07:491]: PROPERTY CHANGE: Adding EXECUTEACTION property. Its value is 'INSTALL'. MSI (s) (9C:BC) [15:49:07:491]: PROPERTY CHANGE: Adding ACTION property. Its value is 'INSTALL'. MSI (s) (9C:BC) [15:49:07:491]: PROPERTY CHANGE: Adding INSTALLLEVEL property. Its value is '1'. MSI (s) (9C:BC) [15:49:07:491]: PROPERTY CHANGE: Adding SECONDSEQUENCE property. Its value is '1'. MSI (s) (9C:BC) [15:49:07:491]: PROPERTY CHANGE: Adding ADDLOCAL property. Its value is 'DefaultFeature'. MSI (s) (9C:BC) [15:49:07:491]: Machine policy value 'DisableAutomaticApplicationShutdown' is 0 MSI (s) (9C:BC) [15:49:07:491]: PROPERTY CHANGE: Adding MsiRestartManagerSessionKey property. Its value is '48ffc069b9b90a40a9ed507e4737f241'. MSI (s) (9C:BC) [15:49:07:491]: RESTART MANAGER: Session opened. MSI (s) (9C:BC) [15:49:07:491]: Engine has iefSecondSequence set to true. MSI (s) (9C:BC) [15:49:07:491]: TRANSFORMS property is now: MSI (s) (9C:BC) [15:49:07:491]: PROPERTY CHANGE: Deleting SOURCEDIR property. Its current value is 'C:\Users\svc-iob-ansible\AppData\Local\Temp\Installation-Files\'. MSI (s) (9C:BC) [15:49:07:491]: PROPERTY CHANGE: Adding VersionDatabase property. Its value is '100'. MSI (s) (9C:BC) [15:49:07:491]: SHELL32::SHGetFolderPath returned: C:\Users\a-millerj\AppData\Roaming MSI (s) (9C:BC) [15:49:07:491]: SHELL32::SHGetFolderPath returned: C:\Users\a-millerj\Favorites MSI (s) (9C:BC) [15:49:07:491]: SHELL32::SHGetFolderPath returned: C:\Users\a-millerj\AppData\Roaming\Microsoft\Windows\Network Shortcuts MSI (s) (9C:BC) [15:49:07:491]: SHELL32::SHGetFolderPath returned: C:\Users\a-millerj\Documents MSI (s) (9C:BC) [15:49:07:491]: SHELL32::SHGetFolderPath returned: C:\Users\a-millerj\AppData\Roaming\Microsoft\Windows\Printer Shortcuts MSI (s) (9C:BC) [15:49:07:491]: SHELL32::SHGetFolderPath returned: C:\Users\a-millerj\AppData\Roaming\Microsoft\Windows\Recent MSI (s) (9C:BC) [15:49:07:491]: SHELL32::SHGetFolderPath returned: C:\Users\a-millerj\AppData\Roaming\Microsoft\Windows\SendTo MSI (s) (9C:BC) [15:49:07:491]: SHELL32::SHGetFolderPath returned: C:\Users\a-millerj\AppData\Roaming\Microsoft\Windows\Templates MSI (s) (9C:BC) [15:49:07:491]: SHELL32::SHGetFolderPath returned: C:\ProgramData MSI (s) (9C:BC) [15:49:07:491]: SHELL32::SHGetFolderPath returned: C:\Users\a-millerj\AppData\Local MSI (s) (9C:BC) [15:49:07:491]: SHELL32::SHGetFolderPath returned: C:\Users\a-millerj\Pictures MSI (s) (9C:BC) [15:49:07:506]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools MSI (s) (9C:BC) [15:49:07:506]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup MSI (s) (9C:BC) [15:49:07:506]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\Programs MSI (s) (9C:BC) [15:49:07:506]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu MSI (s) (9C:BC) [15:49:07:506]: SHELL32::SHGetFolderPath returned: C:\Users\Public\Desktop MSI (s) (9C:BC) [15:49:07:506]: SHELL32::SHGetFolderPath returned: C:\Users\a-millerj\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Administrative Tools MSI (s) (9C:BC) [15:49:07:506]: SHELL32::SHGetFolderPath returned: C:\Users\a-millerj\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup MSI (s) (9C:BC) [15:49:07:506]: SHELL32::SHGetFolderPath returned: C:\Users\a-millerj\AppData\Roaming\Microsoft\Windows\Start Menu\Programs MSI (s) (9C:BC) [15:49:07:506]: SHELL32::SHGetFolderPath returned: C:\Users\a-millerj\AppData\Roaming\Microsoft\Windows\Start Menu MSI (s) (9C:BC) [15:49:07:506]: SHELL32::SHGetFolderPath returned: C:\Users\a-millerj\Desktop MSI (s) (9C:BC) [15:49:07:506]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Templates MSI (s) (9C:BC) [15:49:07:506]: SHELL32::SHGetFolderPath returned: C:\Windows\Fonts MSI (s) (9C:BC) [15:49:07:506]: Note: 1: 2898 2: MS Sans Serif 3: MS Sans Serif 4: 0 5: 16 MSI (s) (9C:BC) [15:49:07:522]: MSI_LUA: Setting AdminUser property to 1 because this is the client or the user has already permitted elevation MSI (s) (9C:BC) [15:49:07:522]: PROPERTY CHANGE: Adding AdminUser property. Its value is '1'. MSI (s) (9C:BC) [15:49:07:522]: MSI_LUA: Setting MsiRunningElevated property to 1 because the install is already running elevated. MSI (s) (9C:BC) [15:49:07:522]: PROPERTY CHANGE: Adding MsiRunningElevated property. Its value is '1'. MSI (s) (9C:BC) [15:49:07:522]: PROPERTY CHANGE: Adding Privileged property. Its value is '1'. MSI (s) (9C:BC) [15:49:07:522]: PROPERTY CHANGE: Adding DATABASE property. Its value is 'C:\Windows\Installer\446b50.msi'. MSI (s) (9C:BC) [15:49:07:522]: PROPERTY CHANGE: Adding OriginalDatabase property. Its value is 'C:\Users\svc-iob-ansible\AppData\Local\Temp\Installation-Files\wmi_exporter.msi'. MSI (s) (9C:BC) [15:49:07:522]: Machine policy value 'MsiDisableEmbeddedUI' is 0 MSI (s) (9C:BC) [15:49:07:522]: EEUI - Disabling MsiEmbeddedUI for service because it's not a quiet/basic install MSI (s) (9C:BC) [15:49:07:522]: Note: 1: 2205 2: 3: PatchPackage MSI (s) (9C:BC) [15:49:07:522]: Machine policy value 'DisableRollback' is 0 MSI (s) (9C:BC) [15:49:07:522]: User policy value 'DisableRollback' is 0 MSI (s) (9C:BC) [15:49:07:522]: PROPERTY CHANGE: Adding UILevel property. Its value is '5'. MSI (s) (9C:BC) [15:49:07:522]: PROPERTY CHANGE: Adding Preselected property. Its value is '1'. MSI (s) (9C:BC) [15:49:07:522]: APPCOMPAT: [DetectVersionLaunchCondition] Launch condition already passes. MSI (s) (9C:BC) [15:49:07:522]: Doing action: INSTALL Action start 15:49:07: INSTALL. MSI (s) (9C:BC) [15:49:07:522]: Running ExecuteSequence MSI (s) (9C:BC) [15:49:07:522]: Doing action: FindRelatedProducts Action start 15:49:07: FindRelatedProducts. MSI (s) (9C:BC) [15:49:07:522]: Skipping FindRelatedProducts action: already done on client side Action ended 15:49:07: FindRelatedProducts. Return value 0. MSI (s) (9C:BC) [15:49:07:522]: Doing action: LaunchConditions Action start 15:49:07: LaunchConditions. Action ended 15:49:07: LaunchConditions. Return value 1. MSI (s) (9C:BC) [15:49:07:522]: Doing action: ValidateProductID Action start 15:49:07: ValidateProductID. Action ended 15:49:07: ValidateProductID. Return value 1. MSI (s) (9C:BC) [15:49:07:522]: Doing action: CostInitialize Action start 15:49:07: CostInitialize. MSI (s) (9C:BC) [15:49:07:522]: Machine policy value 'MaxPatchCacheSize' is 10 MSI (s) (9C:BC) [15:49:07:522]: PROPERTY CHANGE: Adding CostingComplete property. Its value is '0'. MSI (s) (9C:BC) [15:49:07:522]: Note: 1: 2205 2: 3: Patch MSI (s) (9C:BC) [15:49:07:522]: Note: 1: 2205 2: 3: PatchPackage MSI (s) (9C:BC) [15:49:07:522]: Note: 1: 2205 2: 3: MsiPatchHeaders MSI (s) (9C:BC) [15:49:07:522]: Note: 1: 2205 2: 3: _MsiPatchFileList MSI (s) (9C:BC) [15:49:07:522]: Note: 1: 2205 2: 3: PatchPackage MSI (s) (9C:BC) [15:49:07:522]: Note: 1: 2228 2: 3: PatchPackage 4: SELECT DiskId, PatchId, LastSequence FROM Media, PatchPackage WHERE Media.DiskId=PatchPackage.`MediaORDER BYDiskId MSI (s) (9C:BC) [15:49:07:522]: Note: 1: 2205 2: 3: Patch Action ended 15:49:07: CostInitialize. Return value 1. MSI (s) (9C:BC) [15:49:07:522]: Doing action: FileCost Action start 15:49:07: FileCost. MSI (s) (9C:BC) [15:49:07:522]: Note: 1: 2205 2: 3: MsiAssembly MSI (s) (9C:BC) [15:49:07:522]: Note: 1: 2205 2: 3: Class MSI (s) (9C:BC) [15:49:07:522]: Note: 1: 2205 2: 3: Extension MSI (s) (9C:BC) [15:49:07:522]: Note: 1: 2205 2: 3: TypeLib Action ended 15:49:07: FileCost. Return value 1. MSI (s) (9C:BC) [15:49:07:522]: Doing action: CostFinalize Action start 15:49:07: CostFinalize. MSI (s) (9C:BC) [15:49:07:522]: PROPERTY CHANGE: Adding OutOfDiskSpace property. Its value is '0'. MSI (s) (9C:BC) [15:49:07:522]: PROPERTY CHANGE: Adding OutOfNoRbDiskSpace property. Its value is '0'. MSI (s) (9C:BC) [15:49:07:522]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceAvailable property. Its value is '0'. MSI (s) (9C:BC) [15:49:07:522]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRequired property. Its value is '0'. MSI (s) (9C:BC) [15:49:07:522]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRemaining property. Its value is '0'. MSI (s) (9C:BC) [15:49:07:522]: Note: 1: 2205 2: 3: Patch MSI (s) (9C:BC) [15:49:07:522]: Note: 1: 2205 2: 3: Condition MSI (s) (9C:BC) [15:49:07:522]: PROPERTY CHANGE: Adding textfile_inputs property. Its value is 'C:\Program Files (x86)\wmi_exporter\textfile_inputs\'. MSI (s) (9C:BC) [15:49:07:522]: Target path resolution complete. Dumping Directory table... MSI (s) (9C:BC) [15:49:07:522]: Note: target paths subject to change (via custom actions or browsing) **MSI (s) (9C:BC) [15:49:07:522]: Dir (target): Key: TARGETDIR , Object: D:\Program Files\** MSI (s) (9C:BC) [15:49:07:522]: Dir (target): Key: WindowsFolder , Object: C:\Windows\ MSI (s) (9C:BC) [15:49:07:522]: Dir (target): Key: ProgramFilesFolder , Object: C:\Program Files (x86)\ MSI (s) (9C:BC) [15:49:07:522]: Dir (target): Key: APPLICATIONROOTDIRECTORY , Object: C:\Program Files (x86)\wmi_exporter\ MSI (s) (9C:BC) [15:49:07:522]: Dir (target): Key: textfile_inputs , Object: C:\Program Files (x86)\wmi_exporter\textfile_inputs\ MSI (s) (9C:BC) [15:49:07:522]: Note: 1: 2205 2: 3: MsiAssembly MSI (s) (9C:BC) [15:49:07:522]: Note: 1: 2228 2: 3: MsiAssembly 4: SELECTMsiAssembly.Attributes,MsiAssembly.File_Application,MsiAssembly.FileManifest,Component.KeyPathFROMMsiAssembly,ComponentWHEREMsiAssembly.Component=Component.ComponentANDMsiAssembly.Component_= ? Action ended 15:49:07: CostFinalize. Return value 1. MSI (s) (9C:BC) [15:49:07:522]: Doing action: MigrateFeatureStates Action start 15:49:07: MigrateFeatureStates. MSI (s) (9C:BC) [15:49:07:522]: Skipping MigrateFeatureStates action: already done on client side Action ended 15:49:07: MigrateFeatureStates. Return value 0. MSI (s) (9C:BC) [15:49:07:522]: Doing action: InstallValidate Action start 15:49:07: InstallValidate. MSI (s) (9C:BC) [15:49:07:522]: PROPERTY CHANGE: Deleting MsiRestartManagerSessionKey property. Its current value is '48ffc069b9b90a40a9ed507e4737f241'. MSI (s) (9C:BC) [15:49:07:522]: Note: 1: 2205 2: 3: Dialog MSI (s) (9C:BC) [15:49:07:522]: Feature: DefaultFeature; Installed: Absent; Request: Local; Action: Local MSI (s) (9C:BC) [15:49:07:522]: Component: wmi_exporter.exe; Installed: Absent; Request: Local; Action: Local MSI (s) (9C:BC) [15:49:07:522]: Component: CreateTextfileDirectory; Installed: Absent; Request: Local; Action: Local MSI (s) (9C:BC) [15:49:07:522]: Component: __wmi_exporter.exe65; Installed: Null; Request: Local; Action: Local MSI (s) (9C:BC) [15:49:07:522]: Note: 1: 2205 2: 3: BindImage MSI (s) (9C:BC) [15:49:07:522]: Note: 1: 2205 2: 3: ProgId MSI (s) (9C:BC) [15:49:07:522]: Note: 1: 2205 2: 3: PublishComponent MSI (s) (9C:BC) [15:49:07:522]: Note: 1: 2205 2: 3: SelfReg MSI (s) (9C:BC) [15:49:07:522]: Note: 1: 2205 2: 3: Extension MSI (s) (9C:BC) [15:49:07:522]: Note: 1: 2205 2: 3: Font MSI (s) (9C:BC) [15:49:07:522]: Note: 1: 2205 2: 3: Shortcut MSI (s) (9C:BC) [15:49:07:522]: Note: 1: 2205 2: 3: Class MSI (s) (9C:BC) [15:49:07:522]: Note: 1: 2205 2: 3: Icon MSI (s) (9C:BC) [15:49:07:522]: Note: 1: 2205 2: 3: TypeLib MSI (s) (9C:BC) [15:49:07:522]: Note: 1: 2205 2: 3: _RemoveFilePath MSI (s) (9C:BC) [15:49:07:522]: PROPERTY CHANGE: Modifying CostingComplete property. Its current value is '0'. Its new value: '1'. MSI (s) (9C:BC) [15:49:07:522]: Note: 1: 2205 2: 3: BindImage MSI (s) (9C:BC) [15:49:07:522]: Note: 1: 2205 2: 3: ProgId MSI (s) (9C:BC) [15:49:07:522]: Note: 1: 2205 2: 3: PublishComponent MSI (s) (9C:BC) [15:49:07:522]: Note: 1: 2205 2: 3: SelfReg MSI (s) (9C:BC) [15:49:07:522]: Note: 1: 2205 2: 3: Extension MSI (s) (9C:BC) [15:49:07:522]: Note: 1: 2205 2: 3: Font MSI (s) (9C:BC) [15:49:07:522]: Note: 1: 2205 2: 3: Shortcut MSI (s) (9C:BC) [15:49:07:522]: Note: 1: 2205 2: 3: Class MSI (s) (9C:BC) [15:49:07:522]: Note: 1: 2205 2: 3: Icon MSI (s) (9C:BC) [15:49:07:522]: Note: 1: 2205 2: 3: TypeLib MSI (s) (9C:BC) [15:49:07:537]: Note: 1: 2727 2: MSI (s) (9C:BC) [15:49:07:537]: Note: 1: 2205 2: 3: FilesInUse MSI (s) (9C:BC) [15:49:07:537]: Note: 1: 2727 2: Action ended 15:49:07: InstallValidate. Return value 1. MSI (s) (9C:BC) [15:49:07:537]: Doing action: InstallInitialize Action start 15:49:07: InstallInitialize. MSI (s) (9C:BC) [15:49:07:537]: Machine policy value 'AlwaysInstallElevated' is 0 MSI (s) (9C:BC) [15:49:07:537]: User policy value 'AlwaysInstallElevated' is 0 MSI (s) (9C:BC) [15:49:07:537]: BeginTransaction: Locking Server MSI (s) (9C:BC) [15:49:07:537]: Note: 1: 2203 2: C:\Windows\Installer\inprogressinstallinfo.ipi 3: -2147287038 MSI (s) (9C:BC) [15:49:07:537]: Note: 1: 1715 2: WMI Exporter MSI (s) (9C:BC) [15:49:07:537]: Calling SRSetRestorePoint API. dwRestorePtType: 0, dwEventType: 102, llSequenceNumber: 0, szDescription: "Installed WMI Exporter". MSI (s) (9C:BC) [15:49:07:537]: The call to SRSetRestorePoint API failed. Returned status: 0. GetLastError() returned: 127 MSI (s) (9C:BC) [15:49:07:537]: Note: 1: 2203 2: C:\Windows\Installer\inprogressinstallinfo.ipi 3: -2147287038 MSI (s) (9C:BC) [15:49:07:537]: Server not locked: locking for product {4ACFD799-FA9F-443C-B338-4BC8E38B40F8} Action ended 15:49:07: InstallInitialize. Return value 1. MSI (s) (9C:BC) [15:49:07:537]: Doing action: ProcessComponents Action start 15:49:07: ProcessComponents. MSI (s) (9C:BC) [15:49:07:537]: Note: 1: 2205 2: 3: MsiPatchCertificate MSI (s) (9C:BC) [15:49:07:537]: LUA patching is disabled: missing MsiPatchCertificate table MSI (s) (9C:BC) [15:49:07:537]: Resolving source. MSI (s) (9C:BC) [15:49:07:537]: Resolving source to launched-from source. MSI (s) (9C:BC) [15:49:07:537]: Setting launched-from source as last-used. MSI (s) (9C:BC) [15:49:07:537]: PROPERTY CHANGE: Adding SourceDir property. Its value is 'C:\Users\svc-iob-ansible\AppData\Local\Temp\Installation-Files\'. MSI (s) (9C:BC) [15:49:07:537]: PROPERTY CHANGE: Adding SOURCEDIR property. Its value is 'C:\Users\svc-iob-ansible\AppData\Local\Temp\Installation-Files\'. MSI (s) (9C:BC) [15:49:07:537]: PROPERTY CHANGE: Adding SourcedirProduct property. Its value is '{4ACFD799-FA9F-443C-B338-4BC8E38B40F8}'. MSI (s) (9C:BC) [15:49:07:537]: SOURCEDIR ==> C:\Users\svc-iob-ansible\AppData\Local\Temp\Installation-Files\ MSI (s) (9C:BC) [15:49:07:537]: SOURCEDIR product ==> {4ACFD799-FA9F-443C-B338-4BC8E38B40F8} MSI (s) (9C:BC) [15:49:07:553]: SECREPAIR: CryptAcquireContext succeeded MSI (s) (9C:BC) [15:49:07:553]: Determining source type MSI (s) (9C:BC) [15:49:07:553]: Source type from package 'wmi_exporter.msi': 2 MSI (s) (9C:BC) [15:49:07:553]: SECREPAIR: Re-Create hashes MSI (s) (9C:BC) [15:49:07:553]: SECREPAIR: Hash Database: C:\Windows\Installer\SourceHash{4ACFD799-FA9F-443C-B338-4BC8E38B40F8} MSI (s) (9C:BC) [15:49:07:553]: Note: 1: 2262 2: SourceHash 3: -2147287038 MSI (s) (9C:BC) [15:49:07:553]: SECREPAIR: New Hash Database creation complete. MSI (s) (9C:BC) [15:49:07:600]: Source path resolution complete. Dumping Directory table... **MSI (s) (9C:BC) [15:49:07:600]: Dir (source): Key: TARGETDIR , Object: C:\Users\svc-iob-ansible\AppData\Local\Temp\Installation-Files\ , LongSubPath: , ShortSubPath:** MSI (s) (9C:BC) [15:49:07:600]: Dir (source): Key: WindowsFolder , Object: C:\Users\svc-iob-ansible\AppData\Local\Temp\Installation-Files\ , LongSubPath: , ShortSubPath: MSI (s) (9C:BC) [15:49:07:600]: Dir (source): Key: ProgramFilesFolder , Object: C:\Users\svc-iob-ansible\AppData\Local\Temp\Installation-Files\ , LongSubPath: , ShortSubPath: MSI (s) (9C:BC) [15:49:07:600]: Dir (source): Key: APPLICATIONROOTDIRECTORY , Object: C:\Users\svc-iob-ansible\AppData\Local\Temp\Installation-Files\ , LongSubPath: wmi_exporter\ , ShortSubPath: n9yb6akj\ MSI (s) (9C:BC) [15:49:07:600]: Dir (source): Key: textfile_inputs , Object: C:\Users\svc-iob-ansible\AppData\Local\Temp\Installation-Files\ , LongSubPath: wmi_exporter\textfile_inputs\ , ShortSubPath: n9yb6akj\vizu-hub\ Action ended 15:49:07: ProcessComponents. Return value 1. MSI (s) (9C:BC) [15:49:07:600]: Doing action: UnpublishFeatures Action start 15:49:07: UnpublishFeatures. Action ended 15:49:07: UnpublishFeatures. Return value 1. MSI (s) (9C:BC) [15:49:07:600]: Doing action: StopServices Action start 15:49:07: StopServices. Action ended 15:49:07: StopServices. Return value 1. MSI (s) (9C:BC) [15:49:07:615]: Doing action: DeleteServices Action start 15:49:07: DeleteServices. Action ended 15:49:07: DeleteServices. Return value 1. MSI (s) (9C:BC) [15:49:07:615]: Doing action: RemoveRegistryValues Action start 15:49:07: RemoveRegistryValues. Action ended 15:49:07: RemoveRegistryValues. Return value 1. MSI (s) (9C:BC) [15:49:07:615]: Doing action: WixSchedFirewallExceptionsUninstall Action start 15:49:07: WixSchedFirewallExceptionsUninstall. MSI (s) (9C:20) [15:49:07:631]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIF627.tmp, Entrypoint: SchedFirewallExceptionsUninstall MSI (s) (9C:90) [15:49:07:631]: Generating random cookie. MSI (s) (9C:90) [15:49:07:631]: Created Custom Action Server with PID 4364 (0x110C). MSI (s) (9C:F8) [15:49:07:678]: Running as a service. MSI (s) (9C:F8) [15:49:07:678]: Hello, I'm your 32bit Impersonated custom action server. SchedFirewallExceptions: Component 'wmi_exporter.exe' action state (1) doesn't match request (2) SchedFirewallExceptions: No firewall exceptions scheduled Action ended 15:49:07: WixSchedFirewallExceptionsUninstall. Return value 1. MSI (s) (9C:BC) [15:49:07:694]: Doing action: RemoveFiles Action start 15:49:07: RemoveFiles. MSI (s) (9C:BC) [15:49:07:694]: Note: 1: 2205 2: 3: RemoveFile MSI (s) (9C:BC) [15:49:07:694]: Note: 1: 2205 2: 3: RemoveFile Action ended 15:49:07: RemoveFiles. Return value 0. MSI (s) (9C:BC) [15:49:07:694]: Doing action: RemoveFolders Action start 15:49:07: RemoveFolders. Action ended 15:49:07: RemoveFolders. Return value 1. MSI (s) (9C:BC) [15:49:07:694]: Doing action: CreateFolders Action start 15:49:07: CreateFolders. Action ended 15:49:07: CreateFolders. Return value 1. MSI (s) (9C:BC) [15:49:07:694]: Doing action: InstallFiles Action start 15:49:07: InstallFiles. MSI (s) (9C:BC) [15:49:07:694]: Note: 1: 2205 2: 3: Patch MSI (s) (9C:BC) [15:49:07:694]: Note: 1: 2228 2: 3: Patch 4: SELECTPatch.File,Patch.Header,Patch.Attributes,Patch.Sequence,Patch.StreamRefFROMPatchWHEREPatch.File_= ? ANDPatch.#MsiActive=? ORDER BYPatch.Sequence MSI (s) (9C:BC) [15:49:07:694]: Note: 1: 2205 2: 3: MsiSFCBypass MSI (s) (9C:BC) [15:49:07:694]: Note: 1: 2228 2: 3: MsiSFCBypass 4: SELECTFileFROMMsiSFCBypassWHEREFile_= ? MSI (s) (9C:BC) [15:49:07:694]: Note: 1: 2205 2: 3: MsiPatchHeaders MSI (s) (9C:BC) [15:49:07:694]: Note: 1: 2228 2: 3: MsiPatchHeaders 4: SELECTHeaderFROMMsiPatchHeadersWHEREStreamRef= ? MSI (s) (9C:BC) [15:49:07:694]: Note: 1: 2205 2: 3: PatchPackage MSI (s) (9C:BC) [15:49:07:694]: Note: 1: 2205 2: 3: MsiPatchHeaders MSI (s) (9C:BC) [15:49:07:694]: Note: 1: 2205 2: 3: PatchPackage Action ended 15:49:07: InstallFiles. Return value 1. MSI (s) (9C:BC) [15:49:07:694]: Skipping action: SetCollectorsFlag (condition is false) MSI (s) (9C:BC) [15:49:07:694]: Skipping action: SetExtraFlags (condition is false) MSI (s) (9C:BC) [15:49:07:694]: Doing action: SetListenFlag Action start 15:49:07: SetListenFlag. MSI (s) (9C:BC) [15:49:07:694]: PROPERTY CHANGE: Adding ListenFlag property. Its value is '--telemetry.addr :9182'. Action ended 15:49:07: SetListenFlag. Return value 1. MSI (s) (9C:BC) [15:49:07:694]: Skipping action: SetMetricsPathFlag (condition is false) MSI (s) (9C:BC) [15:49:07:694]: Skipping action: SetTextfileDirFlag (condition is false) MSI (s) (9C:BC) [15:49:07:694]: Doing action: WixSchedFirewallExceptionsInstall Action start 15:49:07: WixSchedFirewallExceptionsInstall. MSI (s) (9C:54) [15:49:07:725]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIF676.tmp, Entrypoint: SchedFirewallExceptionsInstall SchedFirewallExceptions: Scheduling firewall exception (1€WMI Exporter (HTTP 9182)€2147483647€*€1€2€C:\Program Files (x86)\wmi_exporter\wmi_exporter.exe€9182€6€WMI Exporter HTTP endpoint) MSI (s) (9C!48) [15:49:07:725]: PROPERTY CHANGE: Adding WixRollbackFirewallExceptionsInstall property. Its value is '1€WMI Exporter (HTTP 9182)€2147483647€*€1€2€C:\Program Files (x86)\wmi_exporter\wmi_exporter.exe€9182€6€WMI Exporter HTTP endpoint'. MSI (s) (9C!48) [15:49:07:725]: Doing action: WixRollbackFirewallExceptionsInstall Action start 15:49:07: WixRollbackFirewallExceptionsInstall. Action ended 15:49:07: WixRollbackFirewallExceptionsInstall. Return value 1. MSI (s) (9C!48) [15:49:07:725]: PROPERTY CHANGE: Adding WixExecFirewallExceptionsInstall property. Its value is '1€WMI Exporter (HTTP 9182)€2147483647€*€1€2€C:\Program Files (x86)\wmi_exporter\wmi_exporter.exe€9182€6€WMI Exporter HTTP endpoint'. MSI (s) (9C!48) [15:49:07:725]: Doing action: WixExecFirewallExceptionsInstall Action start 15:49:07: WixExecFirewallExceptionsInstall. Action ended 15:49:07: WixExecFirewallExceptionsInstall. Return value 1. Action ended 15:49:07: WixSchedFirewallExceptionsInstall. Return value 1. MSI (s) (9C:BC) [15:49:07:740]: Doing action: WriteRegistryValues Action start 15:49:07: WriteRegistryValues. Action ended 15:49:07: WriteRegistryValues. Return value 1. MSI (s) (9C:BC) [15:49:07:740]: Doing action: InstallServices Action start 15:49:07: InstallServices. Action ended 15:49:07: InstallServices. Return value 1. MSI (s) (9C:BC) [15:49:07:740]: Doing action: SchedServiceConfig Action start 15:49:07: SchedServiceConfig. MSI (s) (9C:D4) [15:49:07:756]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIF6A6.tmp, Entrypoint: SchedServiceConfig MSI (s) (9C!18) [15:49:07:772]: PROPERTY CHANGE: Adding RollbackServiceConfig property. Its value is 'SchedServiceConfig'. MSI (s) (9C!18) [15:49:07:772]: Doing action: RollbackServiceConfig Action start 15:49:07: RollbackServiceConfig. Action ended 15:49:07: RollbackServiceConfig. Return value 1. MSI (s) (9C!18) [15:49:07:772]: PROPERTY CHANGE: Adding ExecServiceConfig property. Its value is 'SchedServiceConfig€wmi_exporter€1€restart€restart€restart€0€5€€'. MSI (s) (9C!18) [15:49:07:772]: Doing action: ExecServiceConfig Action start 15:49:07: ExecServiceConfig. Action ended 15:49:07: ExecServiceConfig. Return value 1. Action ended 15:49:07: SchedServiceConfig. Return value 1. MSI (s) (9C:BC) [15:49:07:787]: Doing action: StartServices Action start 15:49:07: StartServices. Action ended 15:49:07: StartServices. Return value 1. MSI (s) (9C:BC) [15:49:07:787]: Doing action: RegisterUser Action start 15:49:07: RegisterUser. Action ended 15:49:07: RegisterUser. Return value 1. MSI (s) (9C:BC) [15:49:07:787]: Doing action: RegisterProduct Action start 15:49:07: RegisterProduct. MSI (s) (9C:BC) [15:49:07:787]: PROPERTY CHANGE: Adding ProductToBeRegistered property. Its value is '1'. Action ended 15:49:07: RegisterProduct. Return value 1. MSI (s) (9C:BC) [15:49:07:787]: Doing action: PublishFeatures Action start 15:49:07: PublishFeatures. Action ended 15:49:07: PublishFeatures. Return value 1. MSI (s) (9C:BC) [15:49:07:787]: Doing action: PublishProduct Action start 15:49:07: PublishProduct. MSI (s) (9C:BC) [15:49:07:787]: Note: 1: 2205 2: 3: Icon MSI (s) (9C:BC) [15:49:07:787]: Note: 1: 2228 2: 3: Icon 4: SELECTName,DataFROMIcon Action ended 15:49:07: PublishProduct. Return value 1. MSI (s) (9C:BC) [15:49:07:787]: Doing action: InstallExecute Action start 15:49:07: InstallExecute. MSI (s) (9C:BC) [15:49:07:787]: Running Script: C:\Windows\Installer\MSIF616.tmp MSI (s) (9C:BC) [15:49:07:787]: PROPERTY CHANGE: Adding UpdateStarted property. Its value is '1'. MSI (s) (9C:BC) [15:49:07:803]: Note: 1: 2265 2: 3: -2147287035 MSI (s) (9C:BC) [15:49:07:803]: Machine policy value 'DisableRollback' is 0 MSI (s) (9C:BC) [15:49:07:819]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 MSI (s) (9C:BC) [15:49:07:819]: Executing op: Header(Signature=1397708873,Version=500,Timestamp=1318223396,LangId=1033,Platform=0,ScriptType=1,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=1) MSI (s) (9C:BC) [15:49:07:819]: Executing op: ProductInfo(ProductKey={4ACFD799-FA9F-443C-B338-4BC8E38B40F8},ProductName=WMI Exporter,PackageName=wmi_exporter.msi,Language=1033,Version=458752,Assignment=1,ObsoleteArg=0,,,PackageCode={43E5A35F-3A4B-404D-8855-156F079565FF},,,InstanceType=0,LUASetting=0,RemoteURTInstalls=0,ProductDeploymentFlags=2) MSI (s) (9C:BC) [15:49:07:819]: Executing op: DialogInfo(Type=0,Argument=1033) MSI (s) (9C:BC) [15:49:07:819]: Executing op: DialogInfo(Type=1,Argument=WMI Exporter) MSI (s) (9C:BC) [15:49:07:819]: Executing op: RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back action:,RollbackTemplate=[1],CleanupAction=RollbackCleanup,CleanupDescription=Removing backup files,CleanupTemplate=File: [1]) MSI (s) (9C:BC) [15:49:07:819]: Executing op: SetBaseline(Baseline=0,) MSI (s) (9C:BC) [15:49:07:819]: Executing op: SetBaseline(Baseline=1,) MSI (s) (9C:BC) [15:49:07:819]: Executing op: ActionStart(Name=ProcessComponents,Description=Updating component registration,) MSI (s) (9C:BC) [15:49:07:819]: Executing op: ProgressTotal(Total=2,Type=1,ByteEquivalent=24000) MSI (s) (9C:BC) [15:49:07:819]: Executing op: ComponentRegister(ComponentId={15C29EAB-9B18-56D7-A207-A40C8BBB1DEE},KeyPath=C:\Program Files (x86)\wmi_exporter\wmi_exporter.exe,State=3,,Disk=1,SharedDllRefCount=0,BinaryType=0) MSI (s) (9C:BC) [15:49:07:819]: WIN64DUALFOLDERS: Substitution in 'C:\Program Files (x86)\wmi_exporter\wmi_exporter.exe' folder had been blocked by the 1 mask argument (the folder pair's iSwapAttrib member = 0). MSI (s) (9C:BC) [15:49:07:819]: Executing op: ComponentRegister(ComponentId={D03EF58A-9CBF-4165-AD39-D143E9B27E14},KeyPath=C:\Program Files (x86)\wmi_exporter\textfile_inputs\,State=3,,Disk=1,SharedDllRefCount=0,BinaryType=0) MSI (s) (9C:BC) [15:49:07:819]: Executing op: ActionStart(Name=StopServices,Description=Stopping services,Template=Service: [1]) MSI (s) (9C:BC) [15:49:07:819]: Executing op: ProgressTotal(Total=1,Type=1,ByteEquivalent=1300000) MSI (s) (9C:BC) [15:49:07:819]: Executing op: ServiceControl(,Name=wmi_exporter,Action=2,,) MSI (s) (9C:BC) [15:49:07:819]: Executing op: ActionStart(Name=CreateFolders,Description=Creating folders,Template=Folder: [1]) MSI (s) (9C:BC) [15:49:07:819]: Executing op: FolderCreate(Folder=C:\Program Files (x86)\wmi_exporter\textfile_inputs\,Foreign=0,,) MSI (s) (9C:BC) [15:49:07:819]: Executing op: ActionStart(Name=InstallFiles,Description=Copying new files,Template=File: [1], Directory: [9], Size: [6]) MSI (s) (9C:BC) [15:49:07:819]: Executing op: ProgressTotal(Total=11629056,Type=0,ByteEquivalent=1) MSI (s) (9C:BC) [15:49:07:819]: Executing op: SetTargetFolder(Folder=C:\Program Files (x86)\wmi_exporter\) MSI (s) (9C:BC) [15:49:07:819]: Executing op: SetSourceFolder(Folder=1\n9yb6akj\|wmi_exporter\) MSI (s) (9C:BC) [15:49:07:819]: Executing op: ChangeMedia(,MediaPrompt=Please insert the disk: ,MediaCabinet=wmi_exporter.cab,BytesPerTick=65536,CopierType=2,ModuleFileName=C:\Windows\Installer\446b50.msi,,,,,IsFirstPhysicalMedia=1) MSI (s) (9C:BC) [15:49:07:819]: Executing op: FileCopy(SourceName=blenxdzx.exe|wmi_exporter.exe,SourceCabKey=wmi_exporter.exe,DestName=wmi_exporter.exe,Attributes=512,FileSize=11629056,PerTick=65536,,VerifyMedia=1,,,,,CheckCRC=0,,,InstallMode=58982400,HashOptions=0,HashPart1=-1228049417,HashPart2=463160704,HashPart3=-1259724385,HashPart4=-1141995054,,) MSI (s) (9C:BC) [15:49:07:819]: File: C:\Program Files (x86)\wmi_exporter\wmi_exporter.exe; To be installed; Won't patch; No existing file MSI (s) (9C:BC) [15:49:07:819]: Source for file 'wmi_exporter.exe' is compressed MSI (s) (9C:BC) [15:49:07:928]: Executing op: CacheSizeFlush(,) MSI (s) (9C:BC) [15:49:07:928]: Executing op: ActionStart(Name=WixRollbackFirewallExceptionsInstall,Description=Rolling back Windows Firewall configuration,) MSI (s) (9C:BC) [15:49:07:928]: Executing op: CustomActionSchedule(Action=WixRollbackFirewallExceptionsInstall,ActionType=3329,Source=BinaryData,Target=ExecFirewallExceptions,CustomActionData=1€WMI Exporter (HTTP 9182)€2147483647€*€1€2€C:\Program Files (x86)\wmi_exporter\wmi_exporter.exe€9182€6€WMI Exporter HTTP endpoint) MSI (s) (9C:BC) [15:49:07:928]: Executing op: ActionStart(Name=WixExecFirewallExceptionsInstall,Description=Installing Windows Firewall configuration,) MSI (s) (9C:BC) [15:49:07:928]: Executing op: CustomActionSchedule(Action=WixExecFirewallExceptionsInstall,ActionType=3073,Source=BinaryData,Target=ExecFirewallExceptions,CustomActionData=1€WMI Exporter (HTTP 9182)€2147483647€*€1€2€C:\Program Files (x86)\wmi_exporter\wmi_exporter.exe€9182€6€WMI Exporter HTTP endpoint) MSI (s) (9C:58) [15:49:07:959]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIF763.tmp, Entrypoint: ExecFirewallExceptions MSI (s) (9C:90) [15:49:07:959]: Generating random cookie. MSI (s) (9C:90) [15:49:07:959]: Created Custom Action Server with PID 2912 (0xB60). MSI (s) (9C:F8) [15:49:07:991]: Running as a service. MSI (s) (9C:F8) [15:49:07:991]: Hello, I'm your 32bit Elevated Non-remapped custom action server. ExecFirewallExceptions: Installing firewall exception2 WMI Exporter (HTTP 9182) (C:\Program Files (x86)\wmi_exporter\wmi_exporter.exe) MSI (s) (9C:BC) [15:49:08:100]: Executing op: ActionStart(Name=WriteRegistryValues,Description=Writing system registry values,Template=Key: [1], Name: [2], Value: [3]) MSI (s) (9C:BC) [15:49:08:100]: Executing op: ProgressTotal(Total=1,Type=1,ByteEquivalent=13200) MSI (s) (9C:BC) [15:49:08:100]: Executing op: RegOpenKey(Root=-2147483646,Key=SYSTEM\CurrentControlSet\Services\EventLog\Application\wmi_exporter,,BinaryType=0,,) MSI (s) (9C:BC) [15:49:08:100]: Executing op: RegAddValue(Name=EventMessageFile,Value=#%%SystemRoot%\System32\EventCreate.exe,) MSI (s) (9C:BC) [15:49:08:100]: Executing op: ActionStart(Name=InstallServices,Description=Installing new services,Template=Service: [2]) MSI (s) (9C:BC) [15:49:08:100]: Executing op: ProgressTotal(Total=1,Type=1,ByteEquivalent=1300000) MSI (s) (9C:BC) [15:49:08:100]: Executing op: ServiceInstall(Name=wmi_exporter,DisplayName=WMI exporter,ImagePath="C:\Program Files (x86)\wmi_exporter\wmi_exporter.exe" --log.format logger:eventlog?name=wmi_exporter --telemetry.addr :9182 ,ServiceType=16,StartType=2,ErrorControl=1,,Dependencies=[~],,,Password=**********,Description=Exports Prometheus metrics from WMI queries,,) MSI (s) (9C:BC) [15:49:08:100]: Executing op: ActionStart(Name=RollbackServiceConfig,,) MSI (s) (9C:BC) [15:49:08:100]: Executing op: CustomActionSchedule(Action=RollbackServiceConfig,ActionType=3329,Source=BinaryData,Target=RollbackServiceConfig,CustomActionData=SchedServiceConfig) MSI (s) (9C:BC) [15:49:08:116]: Executing op: ActionStart(Name=ExecServiceConfig,,) MSI (s) (9C:BC) [15:49:08:116]: Executing op: CustomActionSchedule(Action=ExecServiceConfig,ActionType=3073,Source=BinaryData,Target=ExecServiceConfig,CustomActionData=SchedServiceConfig€wmi_exporter€1€restart€restart€restart€0€5€€) MSI (s) (9C:54) [15:49:08:131]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIF820.tmp, Entrypoint: ExecServiceConfig MSI (s) (9C:BC) [15:49:08:147]: Executing op: ActionStart(Name=StartServices,Description=Starting services,Template=Service: [1]) MSI (s) (9C:BC) [15:49:08:147]: Executing op: ProgressTotal(Total=1,Type=1,ByteEquivalent=1300000) MSI (s) (9C:BC) [15:49:08:147]: Executing op: ServiceControl(,Name=wmi_exporter,Action=1,,) MSI (s) (9C:BC) [15:49:09:397]: Executing op: ActionStart(Name=RegisterProduct,Description=Registering product,Template=[1]) MSI (s) (9C:BC) [15:49:09:397]: Executing op: ChangeMedia(,MediaPrompt=Please insert the disk: ,MediaCabinet=wmi_exporter.cab,BytesPerTick=0,CopierType=2,ModuleFileName=C:\Windows\Installer\446b50.msi,,,,,IsFirstPhysicalMedia=1) MSI (s) (9C:BC) [15:49:09:397]: Executing op: DatabaseCopy(DatabasePath=C:\Windows\Installer\446b50.msi,ProductCode={4ACFD799-FA9F-443C-B338-4BC8E38B40F8},,,) MSI (s) (9C:BC) [15:49:09:397]: Note: 1: 1402 2: UNKNOWN\Products\997DFCA4F9AFC3443B83B48C3EB8048F\InstallProperties 3: 2 MSI (s) (9C:BC) [15:49:09:412]: Note: 1: 2318 2: C:\Windows\Installer\446b52.msi MSI (s) (9C:BC) [15:49:09:412]: File will have security applied from OpCode. MSI (s) (9C:BC) [15:49:09:412]: Executing op: ProductRegister(UpgradeCode={66A6EB5B-1FC2-4B14-A362-5CEEC6413308},VersionString=0.7.0,,,,InstallSource=C:\Users\svc-iob-ansible\AppData\Local\Temp\Installation-Files\,Publisher=Martin Lindhe,,,,,,,,,,,,EstimatedSize=11345,,,,) MSI (s) (9C:BC) [15:49:09:428]: Executing op: ProductCPDisplayInfoRegister() MSI (s) (9C:BC) [15:49:09:428]: Executing op: ActionStart(Name=PublishFeatures,Description=Publishing Product Features,Template=Feature: [1]) MSI (s) (9C:BC) [15:49:09:428]: Executing op: FeaturePublish(Feature=DefaultFeature,,Absent=2,Component=JXO~)nLvC(0D('}w(Uuc.'xk&ZX$9zwcl9WGuY)) MSI (s) (9C:BC) [15:49:09:428]: Executing op: ActionStart(Name=PublishProduct,Description=Publishing product information,) MSI (s) (9C:BC) [15:49:09:428]: Executing op: CleanupConfigData() MSI (s) (9C:BC) [15:49:09:428]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\997DFCA4F9AFC3443B83B48C3EB8048F\Patches 3: 2 MSI (s) (9C:BC) [15:49:09:428]: Executing op: RegisterPatchOrder(Continue=0,SequenceType=1,Remove=0) MSI (s) (9C:BC) [15:49:09:428]: Note: 1: 1402 2: UNKNOWN\Products\997DFCA4F9AFC3443B83B48C3EB8048F\Patches 3: 2 MSI (s) (9C:BC) [15:49:09:428]: Executing op: ProductPublish(PackageKey={43E5A35F-3A4B-404D-8855-156F079565FF}) MSI (s) (9C:BC) [15:49:09:428]: Note: 1: 1402 2: UNKNOWN\Installer\Products\997DFCA4F9AFC3443B83B48C3EB8048F 3: 2 MSI (s) (9C:BC) [15:49:09:428]: Note: 1: 1402 2: UNKNOWN\Installer\Products\997DFCA4F9AFC3443B83B48C3EB8048F 3: 2 MSI (s) (9C:BC) [15:49:09:428]: Note: 1: 1402 2: UNKNOWN\Installer\Products\997DFCA4F9AFC3443B83B48C3EB8048F 3: 2 MSI (s) (9C:BC) [15:49:09:428]: Note: 1: 1402 2: UNKNOWN\Installer\Products\997DFCA4F9AFC3443B83B48C3EB8048F 3: 2 MSI (s) (9C:BC) [15:49:09:428]: Note: 1: 1402 2: UNKNOWN\Installer\Products\997DFCA4F9AFC3443B83B48C3EB8048F 3: 2 MSI (s) (9C:BC) [15:49:09:428]: Note: 1: 1402 2: UNKNOWN\Installer\Products\997DFCA4F9AFC3443B83B48C3EB8048F 3: 2 MSI (s) (9C:BC) [15:49:09:428]: Note: 1: 1402 2: UNKNOWN\Installer\Products\997DFCA4F9AFC3443B83B48C3EB8048F 3: 2 MSI (s) (9C:BC) [15:49:09:428]: Note: 1: 1402 2: UNKNOWN\Installer\Products\997DFCA4F9AFC3443B83B48C3EB8048F 3: 2 MSI (s) (9C:BC) [15:49:09:428]: Note: 1: 1402 2: UNKNOWN\Installer\Products\997DFCA4F9AFC3443B83B48C3EB8048F 3: 2 MSI (s) (9C:BC) [15:49:09:428]: Note: 1: 1402 2: UNKNOWN\Installer\Products\997DFCA4F9AFC3443B83B48C3EB8048F 3: 2 MSI (s) (9C:BC) [15:49:09:428]: Note: 1: 1402 2: UNKNOWN\Installer\Products\997DFCA4F9AFC3443B83B48C3EB8048F 3: 2 MSI (s) (9C:BC) [15:49:09:428]: Executing op: UpgradeCodePublish(UpgradeCode={66A6EB5B-1FC2-4B14-A362-5CEEC6413308}) MSI (s) (9C:BC) [15:49:09:428]: Executing op: SourceListPublish(,,,,NumberOfDisks=1) MSI (s) (9C:BC) [15:49:09:428]: Note: 1: 1402 2: UNKNOWN\Installer\Products\997DFCA4F9AFC3443B83B48C3EB8048F\SourceList 3: 2 MSI (s) (9C:BC) [15:49:09:428]: Executing op: ProductPublishClient(,,) MSI (s) (9C:BC) [15:49:09:428]: Executing op: SourceListRegisterLastUsed(SourceProduct={4ACFD799-FA9F-443C-B338-4BC8E38B40F8},LastUsedSource=C:\Users\svc-iob-ansible\AppData\Local\Temp\Installation-Files) MSI (s) (9C:BC) [15:49:09:428]: Entering CMsiConfigurationManager::SetLastUsedSource. MSI (s) (9C:BC) [15:49:09:428]: Specifed source is already in a list. MSI (s) (9C:BC) [15:49:09:428]: User policy value 'SearchOrder' is 'nmu' MSI (s) (9C:BC) [15:49:09:428]: Adding new sources is allowed. MSI (s) (9C:BC) [15:49:09:428]: Set LastUsedSource to: C:\Users\svc-iob-ansible\AppData\Local\Temp\Installation-Files. MSI (s) (9C:BC) [15:49:09:428]: Set LastUsedType to: n. MSI (s) (9C:BC) [15:49:09:428]: Set LastUsedIndex to: 1. MSI (s) (9C:BC) [15:49:09:444]: Executing op: End(Checksum=0,ProgressTotalHDWord=0,ProgressTotalLDWord=21674720) Action ended 15:49:09: InstallExecute. Return value 1. MSI (s) (9C:BC) [15:49:09:444]: Doing action: RemoveExistingProducts Action start 15:49:09: RemoveExistingProducts. Action ended 15:49:09: RemoveExistingProducts. Return value 1. MSI (s) (9C:BC) [15:49:09:444]: Doing action: InstallFinalize Action start 15:49:09: InstallFinalize. MSI (s) (9C:BC) [15:49:09:459]: Note: 1: 2265 2: 3: -2147287035 MSI (s) (9C:BC) [15:49:09:459]: User policy value 'DisableRollback' is 0 MSI (s) (9C:BC) [15:49:09:459]: Machine policy value 'DisableRollback' is 0 MSI (s) (9C:BC) [15:49:09:475]: Note: 1: 2265 2: 3: -2147287035 MSI (s) (9C:BC) [15:49:09:475]: Note: 1: 2318 2:
MSI (s) (9C:BC) [15:49:09:475]: No System Restore sequence number for this installation. MSI (s) (9C:BC) [15:49:09:475]: Unlocking Server MSI (s) (9C:BC) [15:49:09:491]: PROPERTY CHANGE: Deleting UpdateStarted property. Its current value is '1'. Action ended 15:49:09: InstallFinalize. Return value 1. Action ended 15:49:09: INSTALL. Return value 1. Property(S): UpgradeCode = {66A6EB5B-1FC2-4B14-A362-5CEEC6413308} Property(S): WixRollbackFirewallExceptionsInstall = 1€WMI Exporter (HTTP 9182)€2147483647€€1€2€C:\Program Files (x86)\wmi_exporter\wmi_exporter.exe€9182€6€WMI Exporter HTTP endpoint Property(S): WixExecFirewallExceptionsInstall = 1€WMI Exporter (HTTP 9182)€2147483647€€1€2€C:\Program Files (x86)\wmi_exporter\wmi_exporter.exe€9182€6€WMI Exporter HTTP endpoint Property(S): APPLICATIONROOTDIRECTORY = C:\Program Files (x86)\wmi_exporter\ Property(S): textfile_inputs = C:\Program Files (x86)\wmi_exporter\textfile_inputs\ Property(S): ListenFlag = --telemetry.addr :9182 Property(S): ExecServiceConfig = SchedServiceConfig€wmi_exporter€1€restart€restart€restart€0€5€€ Property(S): RollbackServiceConfig = SchedServiceConfig Property(S): ProgramFilesFolder = C:\Program Files (x86)\ Property(S): TARGETDIR = D:\Program Files\ Property(S): SourceDir = C:\Users\svc-iob-ansible\AppData\Local\Temp\Installation-Files\ Property(S): VersionNT = 603 Property(S): ALLUSERS = 1 Property(S): LISTEN_PORT = 9182 Property(S): Manufacturer = Martin Lindhe Property(S): ProductCode = {4ACFD799-FA9F-443C-B338-4BC8E38B40F8} Property(S): ProductLanguage = 1033 Property(S): ProductName = WMI Exporter Property(S): ProductVersion = 0.7.0 Property(S): SecureCustomProperties = ENABLED_COLLECTORS;EXTRA_FLAGS;LISTEN_ADDR;LISTEN_PORT;METRICS_PATH;TEXTFILE_DIR;WIX_DOWNGRADE_DETECTED;WIX_UPGRADE_DETECTED Property(S): MsiLogFileLocation = C:\Users\svc-iob-ansible\AppData\Local\Temp\Installation-Files\log.txt Property(S): PackageCode = {43E5A35F-3A4B-404D-8855-156F079565FF} Property(S): ProductState = -1 Property(S): PackagecodeChanging = 1

=== Logging stopped: 18/04/2019 15:49:09 === MSI (c) (2C:78) [15:49:09:537]: Note: 1: 1707 MSI (c) (2C:78) [15:49:09:537]: Product: WMI Exporter -- Installation completed successfully.

MSI (c) (2C:78) [15:49:09:537]: Windows Installer installed the product. Product Name: WMI Exporter. Product Version: 0.7.0. Product Language: 1033. Manufacturer: Martin Lindhe. Installation success or error status: 0.

MSI (c) (2C:78) [15:49:09:537]: Grabbed execution mutex. MSI (c) (2C:78) [15:49:09:537]: Cleaning up uninstalled install packages, if any exist MSI (c) (2C:78) [15:49:09:537]: MainEngineThread is returning 0 === Verbose logging stopped: 18/04/2019 15:49:09 ===

pete-leese commented 5 years ago

Try setting public ROOTDRIVE property on the command line to D:

carlpett commented 5 years ago

Hi @james-miller, I'm not sure it is actually possible to override the install dir with our current installer (although I haven't tested @VR6Pete's suggestion). We are currently just asking the Windows Installer service to put it into the Program Files directory, and as far as I'm aware Windows will only recognize the default one there.

It is certainly possible to extend the installer to support this, but there is some extra complexity which hasn't been required so far. Could you elaborate on your use-case for customizing the install directory?

ghost commented 5 years ago

Just tried: msiexec /i wmi_exporter.msi TARGETDIR="D:\Program Files" ROOTDRIVE="D:" /l*v log.txt

This had the same effect... The package was still installed in C:\Program Files (x86)

The reason I'm trying to do this is because we have a requirement to encrypt data at rest. Any packages installed on top of our base image are required to be installed on a secondary (encrypted volume).

pete-leese commented 5 years ago

https://docs.microsoft.com/en-us/windows/desktop/msi/rootdrive

Try dropping targetdir as it will install to program files by default

Also the rootdrive property value must end with a \

So would be D:\ in your case.

ghost commented 5 years ago

Afraid that didn't help either @VR6Pete

miahwk commented 4 years ago

did you solve it? I happend to the same issue.

thed0n commented 4 years ago

I also have the same issue, I need to change the install directory...

github-actions[bot] commented 11 months ago

This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.