Orange-Cyberdefense / GOAD

game of active directory
GNU General Public License v3.0
5.05k stars 700 forks source link

[GOAD] [SCCM] Failed installation attempt TASK: sccm/install/mecm : Install ODBC Mssql 18 driver on srv01 #264

Open P-Aimon-Pen opened 1 month ago

P-Aimon-Pen commented 1 month ago

Hi !

I can't manage to install the SCCM lab, every time the installation script failed at this step :

TASK: sccm/install/mecm : Install ODBC Mssql 18 driver on srv01

With this error message :

TASK [sccm/install/mecm : Install ODBC Mssql 18 driver] *** fatal: [srv01]: FAILED! => {"attempts": 3, "changed": false, "elapsed": 0.202989, "log": "=== Verbose logging started: 8/13/2024 2:18:32 Build type: SHIP UNICODE 5.00.10011.00 Calling process: C:\Windows\System32\msiexec.exe ===\r\nMSI (c) (50:40) [02:18:32:616]: Resetting cached policy values\r\nMSI (c) (50:40) [02:18:32:616]: Machine policy value 'Debug' is 0\r\nMSI (c) (50:40) [02:18:32:616]: * RunEngine:\r\n Product: C:\Users\vagrant\AppData\Local\Temp\ansible-moduletmp-133680143083812646-1605027042\msodbcsql.msi\r\n Action: \r\n * CommandLine: **\r\nMSI (c) (50:40) [02:18:32:616]: Client-side and UI is none or basic: Running entire install on the server.\r\nMSI (c) (50:40) [02:18:32:616]: Grabbed execution mutex.\r\nMSI (c) (50:40) [02:18:32:616]: Cloaking enabled.\r\nMSI (c) (50:40) [02:18:32:616]: Attempting to enable all disabled privileges before calling Install on Server\r\nMSI (c) (50:40) [02:18:32:616]: Incrementing counter to disable shutdown. Counter after increment: 0\r\nMSI (s) (14:2C) [02:18:32:631]: Running installation inside multi-package transaction C:\Users\vagrant\AppData\Local\Temp\ansible-moduletmp-133680143083812646-1605027042\msodbcsql.msi\r\nMSI (s) (14:2C) [02:18:32:631]: Grabbed execution mutex.\r\nMSI (s) (14:44) [02:18:32:631]: Resetting cached policy values\r\nMSI (s) (14:44) [02:18:32:631]: Machine policy value 'Debug' is 0\r\nMSI (s) (14:44) [02:18:32:631]: * RunEngine:\r\n Product: C:\Users\vagrant\AppData\Local\Temp\ansible-moduletmp-133680143083812646-1605027042\msodbcsql.msi\r\n Action: \r\n *** CommandLine: **\r\nMSI (s) (14:44) [02:18:32:631]: Machine policy value 'DisableUserInstalls' is 0\r\nMSI (s) (14:44) [02:18:32:631]: Note: 1: 2203 2: C:\Windows\Installer\inprogressinstallinfo.ipi 3: -2147287038 \r\nMSI (s) (14:44) [02:18:32:631]: SRSetRestorePoint skipped for this transaction.\r\nMSI (s) (14:44) [02:18:32:631]: Note: 1: 1402 2: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer 3: 2 \r\nMSI (s) (14:44) [02:18:32:631]: File will have security applied from OpCode.\r\nMSI (s) (14:44) [02:18:32:631]: SOFTWARE RESTRICTION POLICY: Verifying package --> 'C:\Users\vagrant\AppData\Local\Temp\ansible-moduletmp-133680143083812646-1605027042\msodbcsql.msi' against software restriction policy\r\nMSI (s) (14:44) [02:18:32:631]: SOFTWARE RESTRICTION POLICY: C:\Users\vagrant\AppData\Local\Temp\ansible-moduletmp-133680143083812646-1605027042\msodbcsql.msi has a digital signature\r\nMSI (s) (14:44) [02:18:32:663]: SOFTWARE RESTRICTION POLICY: C:\Users\vagrant\AppData\Local\Temp\ansible-moduletmp-133680143083812646-1605027042\msodbcsql.msi is permitted to run at the 'unrestricted' authorization level.\r\nMSI (s) (14:44) [02:18:32:663]: MSCOREE not loaded loading copy from system32\r\nMSI (s) (14:44) [02:18:32:663]: End dialog not enabled\r\nMSI (s) (14:44) [02:18:32:663]: Original package ==> C:\Users\vagrant\AppData\Local\Temp\ansible-moduletmp-133680143083812646-1605027042\msodbcsql.msi\r\nMSI (s) (14:44) [02:18:32:663]: Package we're running from ==> C:\Windows\Installer\28a09.msi\r\nMSI (s) (14:44) [02:18:32:679]: APPCOMPAT: Compatibility mode property overrides found.\r\nMSI (s) (14:44) [02:18:32:679]: APPCOMPAT: looking for appcompat database entry with ProductCode '{3C6CE53F-AF0C-4CC3-9A7E-4E7909FA4EF7}'.\r\nMSI (s) (14:44) [02:18:32:679]: APPCOMPAT: no matching ProductCode found in database.\r\nMSI (s) (14:44) [02:18:32:679]: Machine policy value 'TransformsSecure' is 1\r\nMSI (s) (14:44) [02:18:32:679]: Machine policy value 'DisablePatch' is 0\r\nMSI (s) (14:44) [02:18:32:679]: Machine policy value 'AllowLockdownPatch' is 0\r\nMSI (s) (14:44) [02:18:32:679]: Machine policy value 'DisableLUAPatching' is 0\r\nMSI (s) (14:44) [02:18:32:679]: Machine policy value 'DisableFlyWeightPatching' is 0\r\nMSI (s) (14:44) [02:18:32:679]: APPCOMPAT: looking for appcompat database entry with ProductCode '{3C6CE53F-AF0C-4CC3-9A7E-4E7909FA4EF7}'.\r\nMSI (s) (14:44) [02:18:32:679]: APPCOMPAT: no matching ProductCode found in database.\r\nMSI (s) (14:44) [02:18:32:679]: Transforms are not secure.\r\nMSI (s) (14:44) [02:18:32:679]: PROPERTY CHANGE: Adding MsiLogFileLocation property. Its value is 'C:\Users\vagrant\AppData\Local\Temp\ansible-moduletmp-133680143083812646-1605027042\msiexec.log'.\r\nMSI (s) (14:44) [02:18:32:679]: Command Line: REBOOT=ReallySuppress IACCEPTMSODBCSQLLICENSETERMS=YES ALLUSERS=1 CURRENTDIRECTORY=C:\Users\vagrant CLIENTUILEVEL=3 CLIENTPROCESSID=1360 \r\nMSI (s) (14:44) [02:18:32:679]: PROPERTY CHANGE: Adding PackageCode property. Its value is '{39D23A7E-C963-4B1D-B377-235900520239}'.\r\nMSI (s) (14:44) [02:18:32:679]: Product Code passed to Engine.Initialize: ''\r\nMSI (s) (14:44) [02:18:32:679]: Product Code from property table before transforms: '{3C6CE53F-AF0C-4CC3-9A7E-4E7909FA4EF7}'\r\nMSI (s) (14:44) [02:18:32:679]: Product Code from property table after transforms: '{3C6CE53F-AF0C-4CC3-9A7E-4E7909FA4EF7}'\r\nMSI (s) (14:44) [02:18:32:679]: Product not registered: beginning first-time install\r\nMSI (s) (14:44) [02:18:32:679]: Product {3C6CE53F-AF0C-4CC3-9A7E-4E7909FA4EF7} is not managed.\r\nMSI (s) (14:44) [02:18:32:679]: MSI_LUA: Credential prompt not required, user is an admin\r\nMSI (s) (14:44) [02:18:32:679]: PROPERTY CHANGE: Adding ProductState property. Its value is '-1'.\r\nMSI (s) (14:44) [02:18:32:679]: Entering CMsiConfigurationManager::SetLastUsedSource.\r\nMSI (s) (14:44) [02:18:32:679]: User policy value 'SearchOrder' is 'nmu'\r\nMSI (s) (14:44) [02:18:32:679]: Adding new sources is allowed.\r\nMSI (s) (14:44) [02:18:32:679]: PROPERTY CHANGE: Adding PackagecodeChanging property. Its value is '1'.\r\nMSI (s) (14:44) [02:18:32:679]: Package name extracted from package path: 'msodbcsql.msi'\r\nMSI (s) (14:44) [02:18:32:679]: Package to be registered: 'msodbcsql.msi'\r\nMSI (s) (14:44) [02:18:32:679]: Note: 1: 2262 2: AdminProperties 3: -2147287038 \r\nMSI (s) (14:44) [02:18:32:679]: Machine policy value 'DisableMsi' is 1\r\nMSI (s) (14:44) [02:18:32:679]: Machine policy value 'AlwaysInstallElevated' is 0\r\nMSI (s) (14:44) [02:18:32:679]: User policy value 'AlwaysInstallElevated' is 0\r\nMSI (s) (14:44) [02:18:32:679]: Product installation will be elevated because user is admin and product is being installed per-machine.\r\nMSI (s) (14:44) [02:18:32:679]: Running product '{3C6CE53F-AF0C-4CC3-9A7E-4E7909FA4EF7}' with elevated privileges: Product is assigned.\r\nMSI (s) (14:44) [02:18:32:679]: PROPERTY CHANGE: Adding REBOOT property. Its value is 'ReallySuppress'.\r\nMSI (s) (14:44) [02:18:32:679]: PROPERTY CHANGE: Adding IACCEPTMSODBCSQLLICENSETERMS property. Its value is 'YES'.\r\nMSI (s) (14:44) [02:18:32:679]: PROPERTY CHANGE: Adding CURRENTDIRECTORY property. Its value is 'C:\Users\vagrant'.\r\nMSI (s) (14:44) [02:18:32:679]: PROPERTY CHANGE: Adding CLIENTUILEVEL property. Its value is '3'.\r\nMSI (s) (14:44) [02:18:32:679]: PROPERTY CHANGE: Adding CLIENTPROCESSID property. Its value is '1360'.\r\nMSI (s) (14:44) [02:18:32:679]: Machine policy value 'DisableAutomaticApplicationShutdown' is 0\r\nMSI (s) (14:44) [02:18:32:679]: PROPERTY CHANGE: Adding MsiRestartManagerSessionKey property. Its value is 'b3b923900a02fa49ac2d6d84375e2bef'.\r\nMSI (s) (14:44) [02:18:32:679]: RESTART MANAGER: Session opened.\r\nMSI (s) (14:44) [02:18:32:679]: TRANSFORMS property is now: \r\nMSI (s) (14:44) [02:18:32:679]: PROPERTY CHANGE: Adding VersionDatabase property. Its value is '405'.\r\nMSI (s) (14:44) [02:18:32:679]: SHELL32::SHGetFolderPath returned: C:\Users\vagrant\AppData\Roaming\r\nMSI (s) (14:44) [02:18:32:679]: SHELL32::SHGetFolderPath returned: C:\Users\vagrant\Favorites\r\nMSI (s) (14:44) [02:18:32:679]: SHELL32::SHGetFolderPath returned: C:\Users\vagrant\AppData\Roaming\Microsoft\Windows\Network Shortcuts\r\nMSI (s) (14:44) [02:18:32:679]: SHELL32::SHGetFolderPath returned: C:\Users\vagrant\Documents\r\nMSI (s) (14:44) [02:18:32:679]: SHELL32::SHGetFolderPath returned: C:\Users\vagrant\AppData\Roaming\Microsoft\Windows\Printer Shortcuts\r\nMSI (s) (14:44) [02:18:32:679]: SHELL32::SHGetFolderPath returned: C:\Users\vagrant\AppData\Roaming\Microsoft\Windows\Recent\r\nMSI (s) (14:44) [02:18:32:679]: SHELL32::SHGetFolderPath returned: C:\Users\vagrant\AppData\Roaming\Microsoft\Windows\SendTo\r\nMSI (s) (14:44) [02:18:32:694]: SHELL32::SHGetFolderPath returned: C:\Users\vagrant\AppData\Roaming\Microsoft\Windows\Templates\r\nMSI (s) (14:44) [02:18:32:694]: SHELL32::SHGetFolderPath returned: C:\ProgramData\r\nMSI (s) (14:44) [02:18:32:694]: SHELL32::SHGetFolderPath returned: C:\Users\vagrant\AppData\Local\r\nMSI (s) (14:44) [02:18:32:694]: SHELL32::SHGetFolderPath returned: C:\Users\vagrant\Pictures\r\nMSI (s) (14:44) [02:18:32:694]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\r\nMSI (s) (14:44) [02:18:32:694]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\r\nMSI (s) (14:44) [02:18:32:694]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\r\nMSI (s) (14:44) [02:18:32:694]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\r\nMSI (s) (14:44) [02:18:32:694]: SHELL32::SHGetFolderPath returned: C:\Users\Public\Desktop\r\nMSI (s) (14:44) [02:18:32:694]: SHELL32::SHGetFolderPath returned: C:\Users\vagrant\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Administrative Tools\r\nMSI (s) (14:44) [02:18:32:694]: SHELL32::SHGetFolderPath returned: C:\Users\vagrant\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\r\nMSI (s) (14:44) [02:18:32:694]: SHELL32::SHGetFolderPath returned: C:\Users\vagrant\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\r\nMSI (s) (14:44) [02:18:32:694]: SHELL32::SHGetFolderPath returned: C:\Users\vagrant\AppData\Roaming\Microsoft\Windows\Start Menu\r\nMSI (s) (14:44) [02:18:32:694]: SHELL32::SHGetFolderPath returned: C:\Users\vagrant\Desktop\r\nMSI (s) (14:44) [02:18:32:694]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Templates\r\nMSI (s) (14:44) [02:18:32:694]: SHELL32::SHGetFolderPath returned: C:\Windows\Fonts\r\nMSI (s) (14:44) [02:18:32:694]: Note: 1: 2898 2: MS Sans Serif 3: MS Sans Serif 4: 0 5: 16 \r\nMSI (s) (14:44) [02:18:32:694]: MSI_LUA: Setting MsiRunningElevated property to 1 because the install is already running elevated.\r\nMSI (s) (14:44) [02:18:32:694]: PROPERTY CHANGE: Adding MsiRunningElevated property. Its value is '1'.\r\nMSI (s) (14:44) [02:18:32:694]: PROPERTY CHANGE: Adding Privileged property. Its value is '1'.\r\nMSI (s) (14:44) [02:18:32:694]: Note: 1: 1402 2: HKEY_CURRENT_USER\Software\Microsoft\MS Setup (ACME)\User Info 3: 2 \r\nMSI (s) (14:44) [02:18:32:694]: Note: 1: 1402 2: HKEY_CURRENT_USER\Software\Microsoft\MS Setup (ACME)\User Info 3: 2 \r\nMSI (s) (14:44) [02:18:32:694]: PROPERTY CHANGE: Adding COMPANYNAME property. Its value is 'Vagrant'.\r\nMSI (s) (14:44) [02:18:32:694]: PROPERTY CHANGE: Adding DATABASE property. Its value is 'C:\Windows\Installer\28a09.msi'.\r\nMSI (s) (14:44) [02:18:32:694]: PROPERTY CHANGE: Adding OriginalDatabase property. Its value is 'C:\Users\vagrant\AppData\Local\Temp\ansible-moduletmp-133680143083812646-1605027042\msodbcsql.msi'.\r\nMSI (s) (14:44) [02:18:32:694]: Machine policy value 'MsiDisableEmbeddedUI' is 0\r\nMSI (s) (14:44) [02:18:32:694]: EEUI - Disabling MsiEmbeddedUI for service because it's not a quiet/basic install\r\nMSI (s) (14:44) [02:18:32:710]: Note: 1: 2205 2: 3: PatchPackage \r\nMSI (s) (14:44) [02:18:32:710]: Machine policy value 'DisableRollback' is 0\r\nMSI (s) (14:44) [02:18:32:710]: User policy value 'DisableRollback' is 0\r\nMSI (s) (14:44) [02:18:32:710]: PROPERTY CHANGE: Adding UILevel property. Its value is '2'.\r\n=== Logging started: 8/13/2024 2:18:32 ===\r\nMSI (s) (14:44) [02:18:32:710]: Note: 1: 2203 2: C:\Windows\Installer\inprogressinstallinfo.ipi 3: -2147287038 \r\nMSI (s) (14:44) [02:18:32:710]: APPCOMPAT: [DetectVersionLaunchCondition] Launch condition already passes.\r\nMSI (s) (14:44) [02:18:32:710]: PROPERTY CHANGE: Adding ACTION property. Its value is 'INSTALL'.\r\nMSI (s) (14:44) [02:18:32:710]: Doing action: INSTALL\r\nAction start 2:18:32: INSTALL.\r\nMSI (s) (14:44) [02:18:32:710]: Running ExecuteSequence\r\nMSI (s) (14:44) [02:18:32:710]: Doing action: System64Folder_amd64_VC.AF4EABEE_4589_3789_BA0A_C83A71662E1D\r\nMSI (s) (14:44) [02:18:32:710]: PROPERTY CHANGE: Adding System64Folder_amd64_VC.AF4EABEE_4589_3789_BA0A_C83A71662E1D property. Its value is 'C:\Windows\system32\'.\r\nAction start 2:18:32: System64Folder_amd64_VC.AF4EABEE_4589_3789_BA0A_C83A71662E1D.\r\nMSI (s) (14:44) [02:18:32:710]: Doing action: System64Folder.AF4EABEE_4589_3789_BA0A_C83A71662E1D\r\nAction ended 2:18:32: System64Folder_amd64_VC.AF4EABEE_4589_3789_BA0A_C83A71662E1D. Return value 1.\r\nMSI (s) (14:44) [02:18:32:710]: PROPERTY CHANGE: Adding System64Folder.AF4EABEE_4589_3789_BA0A_C83A71662E1D property. Its value is 'C:\Windows\system32\'.\r\nAction start 2:18:32: System64Folder.AF4EABEE_4589_3789_BA0A_C83A71662E1D.\r\nMSI (s) (14:44) [02:18:32:710]: Doing action: SystemFolder_x86_VC.E281B893_10D7_34CE_BB0E_B69D88E154A5\r\nAction ended 2:18:32: System64Folder.AF4EABEE_4589_3789_BA0A_C83A71662E1D. Return value 1.\r\nMSI (s) (14:44) [02:18:32:710]: PROPERTY CHANGE: Adding SystemFolder_x86_VC.E281B893_10D7_34CE_BB0E_B69D88E154A5 property. Its value is 'C:\Windows\SysWOW64\'.\r\nAction start 2:18:32: SystemFolder_x86_VC.E281B893_10D7_34CE_BB0E_B69D88E154A5.\r\nMSI (s) (14:44) [02:18:32:710]: Doing action: SystemFolder.E281B893_10D7_34CE_BB0E_B69D88E154A5\r\nAction ended 2:18:32: SystemFolder_x86_VC.E281B893_10D7_34CE_BB0E_B69D88E154A5. Return value 1.\r\nMSI (s) (14:44) [02:18:32:710]: PROPERTY CHANGE: Adding SystemFolder.E281B893_10D7_34CE_BB0E_B69D88E154A5 property. Its value is 'C:\Windows\SysWOW64\'.\r\nAction start 2:18:32: SystemFolder.E281B893_10D7_34CE_BB0E_B69D88E154A5.\r\nMSI (s) (14:44) [02:18:32:710]: Doing action: SetSqlProgramMenuFolder\r\nAction ended 2:18:32: SystemFolder.E281B893_10D7_34CE_BB0E_B69D88E154A5. Return value 1.\r\nMSI (s) (14:44) [02:18:32:710]: PROPERTY CHANGE: Adding ProgramMenuFolder.Sql property. Its value is 'C:\ProgramData\Microsoft\Windows\Start Menu\Programs\'.\r\nAction start 2:18:32: SetSqlProgramMenuFolder.\r\nMSI (s) (14:44) [02:18:32:710]: Doing action: LaunchConditions\r\nAction ended 2:18:32: SetSqlProgramMenuFolder. Return value 1.\r\nAction start 2:18:32: LaunchConditions.\r\nMSI (s) (14:44) [02:18:32:710]: Doing action: FindRelatedProducts\r\nAction ended 2:18:32: LaunchConditions. Return value 1.\r\nAction start 2:18:32: FindRelatedProducts.\r\nMSI (s) (14:44) [02:18:32:710]: Skipping action: CA_ErrorDifferentLang (condition is false)\r\nMSI (s) (14:44) [02:18:32:710]: Skipping action: CA_SetRefCountUpgradeFlag (condition is false)\r\nMSI (s) (14:44) [02:18:32:710]: Skipping action: CA_SetRefCountNewerFoundFlag (condition is false)\r\nMSI (s) (14:44) [02:18:32:710]: Doing action: IsPendingRebootKey\r\nAction ended 2:18:32: FindRelatedProducts. Return value 1.\r\nMSI (s) (14:44) [02:18:32:710]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIE306.tmp, Entrypoint: IsPendingReboot\r\nMSI (s) (14:48) [02:18:32:710]: Generating random cookie.\r\nMSI (s) (14:48) [02:18:32:710]: Created Custom Action Server with PID 3036 (0xBDC).\r\nMSI (s) (14:98) [02:18:32:744]: Running as a service.\r\nMSI (s) (14:98) [02:18:32:744]: Hello, I'm your 64bit Impersonated custom action server.\r\nAction start 2:18:32: IsPendingRebootKey.\r\nMSI (s) (14:44) [02:18:32:756]: Note: 1: 1723 2: IsPendingRebootKey 3: IsPendingReboot 4: C:\Windows\Installer\MSIE306.tmp \r\nCustomAction IsPendingRebootKey returned actual error code 1157 (note this may not be 100% accurate if translation happened inside sandbox)\r\nMSI (s) (14:44) [02:18:32:756]: Product: Microsoft ODBC Driver 18 for SQL Server -- Error 1723. Please install the Visual C++ 2017 Redistributable from https://aka.ms/vs/15/release/vc_redist.x64.exe before running this installer. Action IsPendingRebootKey, entry: IsPendingReboot, library: C:\Windows\Installer\MSIE306.tmp \r\n\r\nError 1723. Please install the Visual C++ 2017 Redistributable from https://aka.ms/vs/15/release/vc_redist.x64.exe before running this installer. Action IsPendingRebootKey, entry: IsPendingReboot, library: C:\Windows\Installer\MSIE306.tmp \r\nAction ended 2:18:32: IsPendingRebootKey. Return value 3.\r\nAction ended 2:18:32: INSTALL. Return value 3.\r\nProperty(S): DiskPrompt = [1]\r\nProperty(S): UpgradeCode = {ADA68B65-BFF8-4E6A-B082-CC6682D425B8}\r\nProperty(S): WelcomeBmp = WelcomeBmp\r\nProperty(S): SQLServerText1 = 0\r\nProperty(S): SQLServerVersionText3 = 0\r\nProperty(S): _IsMaintenance2 = Modify\r\nProperty(S): ModifyIcon = ModifyIco\r\nProperty(S): RepairIcon = RepairIco\r\nProperty(S): RemoveIcon = RemoveIco\r\nProperty(S): ErrorIcon = ErrorIco\r\nProperty(S): AgreeToLicense = No\r\nProperty(S): _IsMaintenance = Reinstall\r\nProperty(S): Interrupted = 0\r\nProperty(S): SetupIcon = SetupIco\r\nProperty(S): ProgramMenuFolder.Sql = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\\r\nProperty(S): ProgramFilesFolder = C:\Program Files (x86)\\r\nProperty(S): ProgramFiles64Folder = C:\Program Files\\r\nProperty(S): SystemFolder = C:\Windows\SysWOW64\\r\nProperty(S): WindowsFolder = C:\Windows\\r\nProperty(S): System64Folder = C:\Windows\system32\\r\nProperty(S): VersionNT = 603\r\nProperty(S): Privileged = 1\r\nProperty(S): Manufacturer = Microsoft Corporation\r\nProperty(S): ProductCode = {3C6CE53F-AF0C-4CC3-9A7E-4E7909FA4EF7}\r\nProperty(S): ProductLanguage = 1033\r\nProperty(S): ProductName = Microsoft ODBC Driver 18 for SQL Server\r\nProperty(S): ProductVersion = 18.3.3.1\r\nProperty(S): ProductShortName = ODBC Driver 18 for SQL Server\r\nProperty(S): PlatformExtension = _64\r\nProperty(S): PlatformId = x64\r\nProperty(S): MEDIAPACKAGEPATH = \1033_ENU_LP\x64\Setup\x64\\r\nProperty(S): AppGuidRegKey = Redist_Uninstall_RegKey\r\nProperty(S): ARPPRODUCTICON = ARPIco\r\nProperty(S): ARPHELPLINK = https://go.microsoft.com/fwlink/?LinkId=191752\r\nProperty(S): PIDTemplate = 53934<====`````>@@@@@\r\nProperty(S): PROMPTROLLBACKCOST = P\r\nProperty(S): INSTALLLEVEL = 100\r\nProperty(S): ALLUSERS = 1\r\nProperty(S): InstallMode = Typical\r\nProperty(S): SuccessIcon = SuccessIco\r\nProperty(S): WarningIcon = WarningIco\r\nProperty(S): LicenseIcon = LicenseIco\r\nProperty(S): CompleteIcon = CompleteIco\r\nProperty(S): CustomIcon = CustomIco\r\nProperty(S): NewIcon = NewIco\r\nProperty(S): UpIcon = UpIco\r\nProperty(S): DialogBanner = BannerBmp\r\nProperty(S): Details = 0\r\nProperty(S): ReinstallModeText = omus\r\nProperty(S): Display_IsBitmapDlg = 1\r\nProperty(S): ISENABLEDWUSFINISHDIALOG = 1\r\nProperty(S): SQLServerVersionText1 = 0\r\nProperty(S): SQLServerVersionText2 = 0\r\nProperty(S): CA_ERRORCOUNT = 0\r\nProperty(S): CA_WARNINGCOUNT = 0\r\nProperty(S): CA_SUCCESSCOUNT = 0\r\nProperty(S): UI_SHOWCOPYRIGHT = yes\r\nProperty(S): ShowUserRegistrationDlg = 1\r\nProperty(S): ButtonTextStyle = {\ButtonTextStyle}\r\nProperty(S): DlgTextStyle = {\DlgTextStyle}\r\nProperty(S): DlgTextStyleB = {\DlgTextStyleB}\r\nProperty(S): DlgTitleStyle = {\DlgTitleStyle}\r\nProperty(S): DlgTitleStyleB = {\DlgTitleStyleB}\r\nProperty(S): FixedStyle = {\FixedStyle}\r\nProperty(S): Error_UninstallDependant = 1\r\nProperty(S): DefaultUIFont = Tahoma8\r\nProperty(S): ProductFeaturesDefined = 1\r\nProperty(S): No_RegistryKeys_Found = 1\r\nProperty(S): EnableFeatureDlg = 1\r\nProperty(S): MaintenanceWelcomeDlg_Next = MaintenanceTypeDlg\r\nProperty(S): ReadyToRemoveDlg_Back = MaintenanceTypeDlg\r\nProperty(S): LicenseAgreementDlg_Back = InstallWelcomeDlg\r\nProperty(S): LicenseAgreementDlg_Next = ReadyToInstallDlg\r\nProperty(S): ReadyToInstallDlg_NotInstalled_Back = LicenseAgreementDlg\r\nProperty(S): ReadyToInstallDlg_Installed_Back = MaintenanceTypeDlg\r\nProperty(S): InstallWelcomeDlg_Next = LicenseAgreementDlg\r\nProperty(S): ErrorDialog = ErrorDlg\r\nProperty(S): SecureCustomProperties = ADALSQLDLL;ADALSQLFOUND;NEWERFOUND_64;OLDERFOUND_64;OLDERFOUND2_64\r\nProperty(S): SystemFolder_x86_VC.E281B893_10D7_34CE_BB0E_B69D88E154A5 = C:\Windows\SysWOW64\\r\nProperty(S): SystemFolder.E281B893_10D7_34CE_BB0E_B69D88E154A5 = C:\Windows\SysWOW64\\r\nProperty(S): DirectoryTable100_x86.E281B893_10D7_34CE_BB0E_B69D88E154A5 = DirectoryTable\r\nProperty(S): System64Folder_amd64_VC.AF4EABEE_4589_3789_BA0A_C83A71662E1D = C:\Windows\system32\\r\nProperty(S): System64Folder.AF4EABEE_4589_3789_BA0A_C83A71662E1D = C:\Windows\system32\\r\nProperty(S): DirectoryTable100_amd64.AF4EABEE_4589_3789_BA0A_C83A71662E1D = DirectoryTable\r\nProperty(S): MsiLogFileLocation = C:\Users\vagrant\AppData\Local\Temp\ansible-moduletmp-133680143083812646-1605027042\msiexec.log\r\nProperty(S): PackageCode = {39D23A7E-C963-4B1D-B377-235900520239}\r\nProperty(S): ProductState = -1\r\nProperty(S): PackagecodeChanging = 1\r\nProperty(S): REBOOT = ReallySuppress\r\nProperty(S): IACCEPTMSODBCSQLLICENSETERMS = YES\r\nProperty(S): CURRENTDIRECTORY = C:\Users\vagrant\r\nProperty(S): CLIENTUILEVEL = 3\r\nProperty(S): CLIENTPROCESSID = 1360\r\nProperty(S): MsiRestartManagerSessionKey = b3b923900a02fa49ac2d6d84375e2bef\r\nProperty(S): VersionDatabase = 405\r\nProperty(S): VersionMsi = 5.00\r\nProperty(S): VersionNT64 = 603\r\nProperty(S): WindowsBuild = 9600\r\nProperty(S): ServicePackLevel = 0\r\nProperty(S): ServicePackLevelMinor = 0\r\nProperty(S): MsiNTProductType = 3\r\nProperty(S): MsiNTSuiteDataCenter = 1\r\nProperty(S): WindowsVolume = C:\\r\nProperty(S): RemoteAdminTS = 1\r\nProperty(S): TempFolder = C:\Users\vagrant\AppData\Local\Temp\\r\nProperty(S): CommonFilesFolder = C:\Program Files (x86)\Common Files\\r\nProperty(S): CommonFiles64Folder = C:\Program Files\Common Files\\r\nProperty(S): AppDataFolder = C:\Users\vagrant\AppData\Roaming\\r\nProperty(S): FavoritesFolder = C:\Users\vagrant\Favorites\\r\nProperty(S): NetHoodFolder = C:\Users\vagrant\AppData\Roaming\Microsoft\Windows\Network Shortcuts\\r\nProperty(S): PersonalFolder = C:\Users\vagrant\Documents\\r\nProperty(S): PrintHoodFolder = C:\Users\vagrant\AppData\Roaming\Microsoft\Windows\Printer Shortcuts\\r\nProperty(S): RecentFolder = C:\Users\vagrant\AppData\Roaming\Microsoft\Windows\Recent\\r\nProperty(S): SendToFolder = C:\Users\vagrant\AppData\Roaming\Microsoft\Windows\SendTo\\r\nProperty(S): TemplateFolder = C:\ProgramData\Microsoft\Windows\Templates\\r\nProperty(S): CommonAppDataFolder = C:\ProgramData\\r\nProperty(S): LocalAppDataFolder = C:\Users\vagrant\AppData\Local\\r\nProperty(S): MyPicturesFolder = C:\Users\vagrant\Pictures\\r\nProperty(S): AdminToolsFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\\r\nProperty(S): StartupFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\\r\nProperty(S): ProgramMenuFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\\r\nProperty(S): StartMenuFolder = C:\ProgramData\Microsoft\Windows\Start Menu\\r\nProperty(S): DesktopFolder = C:\Users\Public\Desktop\\r\nProperty(S): FontsFolder = C:\Windows\Fonts\\r\nProperty(S): GPTSupport = 1\r\nProperty(S): OLEAdvtSupport = 1\r\nProperty(S): ShellAdvtSupport = 1\r\nProperty(S): MsiAMD64 = 6\r\nProperty(S): Msix64 = 6\r\nProperty(S): Intel = 6\r\nProperty(S): PhysicalMemory = 4000\r\nProperty(S): VirtualMemory = 4078\r\nProperty(S): AdminUser = 1\r\nProperty(S): MsiTrueAdminUser = 1\r\nProperty(S): LogonUser = vagrant\r\nProperty(S): UserSID = S-1-5-21-1141703962-3962237569-919449451-1000\r\nProperty(S): UserLanguageID = 1033\r\nProperty(S): ComputerName = MECM\r\nProperty(S): SystemLanguageID = 1033\r\nProperty(S): ScreenX = 1024\r\nProperty(S): ScreenY = 768\r\nProperty(S): CaptionHeight = 19\r\nProperty(S): BorderTop = 1\r\nProperty(S): BorderSide = 1\r\nProperty(S): TextHeight = 16\r\nProperty(S): TextInternalLeading = 3\r\nProperty(S): ColorBits = 32\r\nProperty(S): TTCSupport = 1\r\nProperty(S): Time = 2:18:32\r\nProperty(S): Date = 8/13/2024\r\nProperty(S): MsiNetAssemblySupport = 4.7.3190.0\r\nProperty(S): MsiWin32AssemblySupport = 6.3.17763.4131\r\nProperty(S): RedirectedDllSupport = 2\r\nProperty(S): MsiRunningElevated = 1\r\nProperty(S): COMPANYNAME = Vagrant\r\nProperty(S): DATABASE = C:\Windows\Installer\28a09.msi\r\nProperty(S): OriginalDatabase = C:\Users\vagrant\AppData\Local\Temp\ansible-moduletmp-133680143083812646-1605027042\msodbcsql.msi\r\nProperty(S): UILevel = 2\r\nProperty(S): ACTION = INSTALL\r\nMSI (s) (14:44) [02:18:32:803]: Windows Installer installed the product. Product Name: Microsoft ODBC Driver 18 for SQL Server. Product Version: 18.3.3.1. Product Language: 1033. Manufacturer: Microsoft Corporation. Installation success or error status: 1603.\r\n\r\nMSI (s) (14:44) [02:18:32:803]: Deferring clean up of packages/files, if any exist\r\nMSI (s) (14:44) [02:18:32:803]: MainEngineThread is returning 1603\r\nMSI (s) (14:2C) [02:18:32:803]: RESTART MANAGER: Session closed.\r\nMSI (s) (14:2C) [02:18:32:803]: No System Restore sequence number for this installation.\r\n=== Logging stopped: 8/13/2024 2:18:32 ===\r\nMSI (s) (14:2C) [02:18:32:803]: User policy value 'DisableRollback' is 0\r\nMSI (s) (14:2C) [02:18:32:803]: Machine policy value 'DisableRollback' is 0\r\nMSI (s) (14:2C) [02:18:32:803]: Incrementing counter to disable shutdown. Counter after increment: 0\r\nMSI (s) (14:2C) [02:18:32:803]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 \r\nMSI (s) (14:2C) [02:18:32:803]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 \r\nMSI (s) (14:2C) [02:18:32:803]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1\r\nMSI (s) (14:2C) [02:18:32:803]: Destroying RemoteAPI object.\r\nMSI (s) (14:48) [02:18:32:803]: Custom Action Manager thread ending.\r\nMSI (c) (50:40) [02:18:32:803]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1\r\nMSI (c) (50:40) [02:18:32:803]: MainEngineThread is returning 1603\r\n=== Verbose logging stopped: 8/13/2024 2:18:32 ===\r\n\r\n", "msg": "unexpected rc from 'C:\Windows\System32\msiexec.exe /i C:\Users\vagrant\AppData\Local\Temp\ansible-moduletmp-133680143083812646-1605027042\msodbcsql.msi /L*V C:\Users\vagrant\AppData\Local\Temp\ansible-moduletmp-133680143083812646-1605027042\msiexec.log /qn /norestart IACCEPTMSODBCSQLLICENSETERMS=YES ALLUSERS=1': see rc, stdout, and stderr for more details", "rc": 1603, "reboot_required": false, "status_code": 200, "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}

Command used :

The check said everything was good. I ran it on Debian 12.

I strictly followed this tutorial : https://mayfly277.github.io/posts/SCCM-LAB-part0x0/

Thank you =)

MelForze commented 1 month ago

Hi, same problem. I hope for a reply soon, because if you install via vmware everything is fine.

Yaro1991 commented 1 month ago

Hi! I have the same issue. I tried to install SCCM on kali linux.

md-sha commented 1 month ago

Looks like its because of the unmet dependency.... "Please install the Visual C++ 2017 Redistributable from https://aka.ms/vs/15/release/vc_redist.x64.exe before running this installer."

One workaround is to manually install the required package from (https://aka.ms/vs/15/release/vc_redist.x64.exe) on srv01 using vagrant creds and re-run the command.