发现了微软 UCRT 的一个BUG

本文发现并分析了微软UCRT中_wsetlocale函数的一个BUG,该BUG会导致形如zh-Hans-CN.abc-8的参数被错误地解析为UTF-8。问题出现在C:ProgramFiles(x86)WindowsKits10Source10.0.22621.0ucrtlocalewsetlocale.cpp文件的函数_expandlocale中,通过修改逻辑运算符的优先级可以修复此问题。

@UCRT 的一个 BUG

发现了微软 UCRT 的一个BUG

_wsetlocale 会接收形如 zh-Hans-CN.abc-8 的参数,其中 abc-8 会被解析成 utf-8,其原因在于 C:\Program Files (x86)\Windows Kits\10\Source\10.0.22621.0\ucrt\locale\wsetlocale.cpp 文件的函数_expandlocale 中,第 1268、1269 行 的判断语句中少了一对括号。函数的代码片段如下:

// Allow .utf8/.utf-8 for BCP-47 tags.
                if (   __ascii_towlower(cp[0]) == L'u'
                    && __ascii_towlower(cp[1]) == L't'
                    && __ascii_towlower(cp[2]) == L'f'
                    &&     (cp[3] == L'8' && cp[4] == L'\0')
                        || (cp[3] == L'-' && cp[4] == L'8' && cp[5] == L'\0'))
                {
                    iCodePage = CP_UTF8;
                }

后面的 || 应该用括号括起来,改成下面这样:

// Allow .utf8/.utf-8 for BCP-47 tags.
                if (   __ascii_towlower(cp[0]) == L'u'
                    && __ascii_towlower(cp[1]) == L't'
                    && __ascii_towlower(cp[2]) == L'f'
                    &&    ( (cp[3] == L'8' && cp[4] == L'\0')
                        || (cp[3] == L'-' && cp[4] == L'8' && cp[5] == L'\0')) )
                {
                    iCodePage = CP_UTF8;
                }

在改动之前,代码页只要是以 -8 结尾的长度为 5 的字符串,就会被识别成 CP_UTF8。

[413C:27C8][2025-10-24T21:11:57]i001: Burn v3.11.1.2318, Windows v10.0 (Build 26100: Service Pack 0), path: C:\Users\ZR\AppData\Local\Temp\{7215DFD8-039C-4982-8DA4-324D064D6A4B}\.cr\python-3.9.2rc1-amd64.exe [413C:27C8][2025-10-24T21:11:57]i000: Initializing string variable 'ActionLikeInstalling' to value 'Installing' [413C:27C8][2025-10-24T21:11:57]i000: Initializing string variable 'ActionLikeInstallation' to value 'Setup' [413C:27C8][2025-10-24T21:11:57]i000: Initializing string variable 'ShortVersion' to value '3.9' [413C:27C8][2025-10-24T21:11:57]i000: Initializing numeric variable 'ShortVersionNoDot' to value '39' [413C:27C8][2025-10-24T21:11:57]i000: Initializing string variable 'WinVer' to value '3.9' [413C:27C8][2025-10-24T21:11:57]i000: Initializing numeric variable 'WinVerNoDot' to value '39' [413C:27C8][2025-10-24T21:11:57]i000: Initializing numeric variable 'InstallAllUsers' to value '0' [413C:27C8][2025-10-24T21:11:57]i000: Initializing numeric variable 'InstallLauncherAllUsers' to value '1' [413C:27C8][2025-10-24T21:11:57]i000: Initializing string variable 'TargetDir' to value '' [413C:27C8][2025-10-24T21:11:57]i000: Initializing string variable 'DefaultAllUsersTargetDir' to value '[ProgramFiles64Folder]Python[WinVerNoDot]' [413C:27C8][2025-10-24T21:11:57]i000: Initializing string variable 'TargetPlatform' to value 'x64' [413C:27C8][2025-10-24T21:11:57]i000: Initializing string variable 'DefaultJustForMeTargetDir' to value '[LocalAppDataFolder]Programs\Python\Python[WinVerNoDot]' [413C:27C8][2025-10-24T21:11:57]i000: Initializing string variable 'OptionalFeaturesRegistryKey' to value 'Software\Python\PythonCore\[WinVer]\InstalledFeatures' [413C:27C8][2025-10-24T21:11:57]i000: Initializing string variable 'TargetDirRegistryKey' to value 'Software\Python\PythonCore\[WinVer]\InstallPath' [413C:27C8][2025-10-24T21:11:57]i000: Initializing string variable 'DefaultCustomTargetDir' to value '' [413C:27C8][2025-10-24T21:11:57]i000: Initializing string variable 'InstallAllUsersState' to value 'enabled' [413C:27C8][2025-10-24T21:11:57]i000: Initializing string variable 'InstallLauncherAllUsersState' to value 'enabled' [413C:27C8][2025-10-24T21:11:57]i000: Initializing string variable 'CustomInstallLauncherAllUsersState' to value '[InstallLauncherAllUsersState]' [413C:27C8][2025-10-24T21:11:57]i000: Initializing string variable 'TargetDirState' to value 'enabled' [413C:27C8][2025-10-24T21:11:57]i000: Initializing string variable 'CustomBrowseButtonState' to value 'enabled' [413C:27C8][2025-10-24T21:11:57]i000: Initializing numeric variable 'Include_core' to value '1' [413C:27C8][2025-10-24T21:11:57]i000: Initializing numeric variable 'Include_exe' to value '1' [413C:27C8][2025-10-24T21:11:57]i000: Initializing numeric variable 'Include_dev' to value '1' [413C:27C8][2025-10-24T21:11:57]i000: Initializing numeric variable 'Include_lib' to value '1' [413C:27C8][2025-10-24T21:11:57]i000: Initializing numeric variable 'Include_test' to value '1' [413C:27C8][2025-10-24T21:11:57]i000: Initializing numeric variable 'Include_doc' to value '1' [413C:27C8][2025-10-24T21:11:57]i000: Initializing numeric variable 'Include_tools' to value '1' [413C:27C8][2025-10-24T21:11:57]i000: Initializing numeric variable 'Include_tcltk' to value '1' [413C:27C8][2025-10-24T21:11:57]i000: Initializing numeric variable 'Include_pip' to value '1' [413C:27C8][2025-10-24T21:11:57]i000: Initializing numeric variable 'Include_launcher' to value '-1' [413C:27C8][2025-10-24T21:11:57]i000: Initializing string variable 'Include_launcherState' to value 'enabled' [413C:27C8][2025-10-24T21:11:57]i000: Initializing numeric variable 'Include_symbols' to value '0' [413C:27C8][2025-10-24T21:11:57]i000: Initializing numeric variable 'Include_debug' to value '0' [413C:27C8][2025-10-24T21:11:57]i000: Initializing numeric variable 'LauncherOnly' to value '0' [413C:27C8][2025-10-24T21:11:57]i000: Initializing numeric variable 'DetectedLauncher' to value '0' [413C:27C8][2025-10-24T21:11:57]i000: Initializing numeric variable 'DetectedOldLauncher' to value '0' [413C:27C8][2025-10-24T21:11:57]i000: Initializing numeric variable 'AssociateFiles' to value '1' [413C:27C8][2025-10-24T21:11:57]i000: Initializing numeric variable 'Shortcuts' to value '1' [413C:27C8][2025-10-24T21:11:57]i000: Initializing numeric variable 'PrependPath' to value '0' [413C:27C8][2025-10-24T21:11:57]i000: Initializing numeric variable 'CompileAll' to value '0' [413C:27C8][2025-10-24T21:11:57]i000: Initializing numeric variable 'SimpleInstall' to value '0' [413C:27C8][2025-10-24T21:11:57]i000: Initializing string variable 'SimpleInstallDescription' to value '' [413C:27C8][2025-10-24T21:11:57]i009: Command Line: '-burn.clean.room=C:\Users\ZR\Desktop\python-3.9.2rc1-amd64.exe -burn.filehandle.attached=620 -burn.filehandle.self=772' [413C:27C8][2025-10-24T21:11:57]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\ZR\Desktop\python-3.9.2rc1-amd64.exe' [413C:27C8][2025-10-24T21:11:57]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\ZR\Desktop\' [413C:27C8][2025-10-24T21:11:57]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\ZR\AppData\Local\Temp\Python 3.9.2rc1 (64-bit)_20251024211157.log' [413C:27C8][2025-10-24T21:11:57]i000: Setting string variable 'WixBundleName' to value 'Python 3.9.2rc1 (64-bit)' [413C:27C8][2025-10-24T21:11:57]i000: Setting string variable 'WixBundleManufacturer' to value 'Python Software Foundation' [413C:27C8][2025-10-24T21:11:57]i000: Setting numeric variable 'CRTInstalled' to value 1 [413C:0C44][2025-10-24T21:11:57]i000: Did not find C:\Users\ZR\Desktop\unattend.xml [413C:0C44][2025-10-24T21:11:57]i000: Setting string variable 'ActionLikeInstalling' to value 'Installing' [413C:0C44][2025-10-24T21:11:57]i000: Setting string variable 'ActionLikeInstallation' to value 'Setup' [413C:0C44][2025-10-24T21:11:57]i000: Setting version variable 'WixBundleFileVersion' to value '3.9.2121.0' [413C:0C44][2025-10-24T21:11:58]i000: Target OS is Windows 10 or later [413C:27C8][2025-10-24T21:11:58]i100: Detect begin, 52 packages [413C:27C8][2025-10-24T21:11:58]i103: Detected related package: {C4B7FF79-1195-436F-AA85-28EE995151B7}, scope: PerMachine, version: 3.9.6150.0, language: 0 operation: Downgrade [413C:27C8][2025-10-24T21:11:58]i103: Detected related package: {C4B7FF79-1195-436F-AA85-28EE995151B7}, scope: PerMachine, version: 3.9.6150.0, language: 0 operation: Downgrade [413C:27C8][2025-10-24T21:11:58]i103: Detected related package: {D6580352-5B95-49A9-B2F3-313D12D13968}, scope: PerMachine, version: 3.9.6150.0, language: 0 operation: Downgrade [413C:27C8][2025-10-24T21:11:58]i103: Detected related package: {D6580352-5B95-49A9-B2F3-313D12D13968}, scope: PerMachine, version: 3.9.6150.0, language: 0 operation: Downgrade [413C:27C8][2025-10-24T21:11:58]i103: Detected related package: {9BE9E7F0-F9F1-487B-A2FC-790CD2898388}, scope: PerMachine, version: 3.9.6150.0, language: 0 operation: Downgrade [413C:27C8][2025-10-24T21:11:58]i103: Detected related package: {9BE9E7F0-F9F1-487B-A2FC-790CD2898388}, scope: PerMachine, version: 3.9.6150.0, language: 0 operation: Downgrade [413C:27C8][2025-10-24T21:11:58]i103: Detected related package: {4DD10049-CC97-48AE-BE76-4CB6E3111F7B}, scope: PerMachine, version: 3.9.6150.0, language: 0 operation: Downgrade [413C:27C8][2025-10-24T21:11:58]i103: Detected related package: {4DD10049-CC97-48AE-BE76-4CB6E3111F7B}, scope: PerMachine, version: 3.9.6150.0, language: 0 operation: Downgrade [413C:27C8][2025-10-24T21:11:58]i103: Detected related package: {5C5B7907-C4E8-4E09-8CD6-3E844C7D65E2}, scope: PerMachine, version: 3.9.6150.0, language: 0 operation: Downgrade [413C:27C8][2025-10-24T21:11:58]i103: Detected related package: {5C5B7907-C4E8-4E09-8CD6-3E844C7D65E2}, scope: PerMachine, version: 3.9.6150.0, language: 0 operation: Downgrade [413C:27C8][2025-10-24T21:11:58]i103: Detected related package: {2994270E-FE74-49E5-98BB-E65F5F0EC304}, scope: PerMachine, version: 3.9.6150.0, language: 0 operation: Downgrade [413C:27C8][2025-10-24T21:11:58]i103: Detected related package: {2994270E-FE74-49E5-98BB-E65F5F0EC304}, scope: PerMachine, version: 3.9.6150.0, language: 0 operation: Downgrade [413C:27C8][2025-10-24T21:11:58]i103: Detected related package: {511119D2-41C4-48E1-A3DA-0A6A1E68AC76}, scope: PerMachine, version: 3.9.6150.0, language: 0 operation: Downgrade [413C:27C8][2025-10-24T21:11:58]i103: Detected related package: {511119D2-41C4-48E1-A3DA-0A6A1E68AC76}, scope: PerMachine, version: 3.9.6150.0, language: 0 operation: Downgrade [413C:27C8][2025-10-24T21:11:58]i103: Detected related package: {7C56D977-225C-4EBA-8308-E47DF9FA867F}, scope: PerMachine, version: 3.9.6150.0, language: 0 operation: Downgrade [413C:27C8][2025-10-24T21:11:58]i103: Detected related package: {7C56D977-225C-4EBA-8308-E47DF9FA867F}, scope: PerMachine, version: 3.9.6150.0, language: 0 operation: Downgrade [413C:27C8][2025-10-24T21:11:58]i103: Detected related package: {52ABF617-F7B4-40F9-8197-C7490DAA97A3}, scope: PerUser, version: 3.12.3150.0, language: 0 operation: Downgrade [413C:27C8][2025-10-24T21:11:58]i000: Setting numeric variable 'InstallLauncherAllUsers' to value 1 [413C:27C8][2025-10-24T21:11:58]i000: Setting numeric variable 'Include_launcher' to value 1 [413C:27C8][2025-10-24T21:11:58]i000: Setting numeric variable 'DetectedLauncher' to value 1 [413C:27C8][2025-10-24T21:11:58]i000: Setting string variable 'Include_launcherState' to value 'disable' [413C:27C8][2025-10-24T21:11:58]i000: Setting string variable 'InstallLauncherAllUsersState' to value 'disable' [413C:27C8][2025-10-24T21:11:58]i103: Detected related package: {52ABF617-F7B4-40F9-8197-C7490DAA97A3}, scope: PerUser, version: 3.12.3150.0, language: 0 operation: Downgrade [413C:27C8][2025-10-24T21:11:58]i000: Setting numeric variable 'InstallLauncherAllUsers' to value 0 [413C:27C8][2025-10-24T21:11:58]i103: Detected related package: {69BCB7EC-54AF-47F2-A891-D335CE44A530}, scope: PerMachine, version: 3.9.6150.0, language: 0 operation: Downgrade [413C:27C8][2025-10-24T21:11:58]i103: Detected related package: {69BCB7EC-54AF-47F2-A891-D335CE44A530}, scope: PerMachine, version: 3.9.6150.0, language: 0 operation: Downgrade [413C:27C8][2025-10-24T21:11:58]i103: Detected related package: {EC27BF73-AB7E-4867-9EEC-3AD456006835}, scope: PerMachine, version: 3.9.6150.0, language: 0 operation: Downgrade [413C:27C8][2025-10-24T21:11:58]i103: Detected related package: {EC27BF73-AB7E-4867-9EEC-3AD456006835}, scope: PerMachine, version: 3.9.6150.0, language: 0 operation: Downgrade [413C:27C8][2025-10-24T21:11:58]i101: Detected package: ucrt_AllUsers, state: Absent, cached: None [413C:27C8][2025-10-24T21:11:58]i101: Detected package: ucrt_JustForMe, state: Absent, cached: None [413C:27C8][2025-10-24T21:11:58]i101: Detected package: core_AllUsers, state: Obsolete, cached: None [413C:27C8][2025-10-24T21:11:58]i101: Detected package: core_AllUsers_pdb, state: Absent, cached: None [413C:27C8][2025-10-24T21:11:58]i101: Detected package: core_AllUsers_d, state: Absent, cached: None [413C:27C8][2025-10-24T21:11:58]i101: Detected package: core_JustForMe, state: Obsolete, cached: None [413C:27C8][2025-10-24T21:11:58]i101: Detected package: core_JustForMe_pdb, state: Absent, cached: None [413C:27C8][2025-10-24T21:11:58]i101: Detected package: core_JustForMe_d, state: Absent, cached: None [413C:27C8][2025-10-24T21:11:58]i101: Detected package: dev_AllUsers, state: Obsolete, cached: Complete [413C:27C8][2025-10-24T21:11:58]i101: Detected package: dev_AllUsers_d, state: Absent, cached: None [413C:27C8][2025-10-24T21:11:58]i101: Detected package: dev_JustForMe, state: Obsolete, cached: None [413C:27C8][2025-10-24T21:11:58]i101: Detected package: dev_JustForMe_d, state: Absent, cached: None [413C:27C8][2025-10-24T21:11:58]i101: Detected package: exe_AllUsers, state: Obsolete, cached: Complete [413C:27C8][2025-10-24T21:11:58]i104: Detected package: exe_AllUsers, feature: DefaultFeature, state: Absent [413C:27C8][2025-10-24T21:11:58]i104: Detected package: exe_AllUsers, feature: Shortcuts, state: Absent [413C:27C8][2025-10-24T21:11:58]i101: Detected package: exe_AllUsers_pdb, state: Absent, cached: None [413C:27C8][2025-10-24T21:11:58]i101: Detected package: exe_AllUsers_d, state: Absent, cached: None [413C:27C8][2025-10-24T21:11:58]i101: Detected package: exe_JustForMe, state: Obsolete, cached: None [413C:27C8][2025-10-24T21:11:58]i104: Detected package: exe_JustForMe, feature: DefaultFeature, state: Absent [413C:27C8][2025-10-24T21:11:58]i104: Detected package: exe_JustForMe, feature: Shortcuts, state: Absent [413C:27C8][2025-10-24T21:11:58]i101: Detected package: exe_JustForMe_pdb, state: Absent, cached: None [413C:27C8][2025-10-24T21:11:58]i101: Detected package: exe_JustForMe_d, state: Absent, cached: None [413C:27C8][2025-10-24T21:11:58]i101: Detected package: lib_AllUsers, state: Obsolete, cached: Complete [413C:27C8][2025-10-24T21:11:58]i101: Detected package: lib_AllUsers_pdb, state: Absent, cached: None [413C:27C8][2025-10-24T21:11:58]i101: Detected package: lib_AllUsers_d, state: Absent, cached: None [413C:27C8][2025-10-24T21:11:58]i101: Detected package: lib_JustForMe, state: Obsolete, cached: None [413C:27C8][2025-10-24T21:11:58]i101: Detected package: lib_JustForMe_pdb, state: Absent, cached: None [413C:27C8][2025-10-24T21:11:58]i101: Detected package: lib_JustForMe_d, state: Absent, cached: None [413C:27C8][2025-10-24T21:11:58]i101: Detected package: test_AllUsers, state: Obsolete, cached: Complete [413C:27C8][2025-10-24T21:11:58]i101: Detected package: test_AllUsers_pdb, state: Absent, cached: None [413C:27C8][2025-10-24T21:11:58]i101: Detected package: test_AllUsers_d, state: Absent, cached: None [413C:27C8][2025-10-24T21:11:58]i101: Detected package: test_JustForMe, state: Obsolete, cached: None [413C:27C8][2025-10-24T21:11:58]i101: Detected package: test_JustForMe_pdb, state: Absent, cached: None [413C:27C8][2025-10-24T21:11:58]i101: Detected package: test_JustForMe_d, state: Absent, cached: None [413C:27C8][2025-10-24T21:11:58]i101: Detected package: doc_AllUsers, state: Obsolete, cached: Complete [413C:27C8][2025-10-24T21:11:58]i104: Detected package: doc_AllUsers, feature: DefaultFeature, state: Absent [413C:27C8][2025-10-24T21:11:58]i104: Detected package: doc_AllUsers, feature: Shortcuts, state: Absent [413C:27C8][2025-10-24T21:11:58]i101: Detected package: doc_JustForMe, state: Obsolete, cached: None [413C:27C8][2025-10-24T21:11:58]i104: Detected package: doc_JustForMe, feature: DefaultFeature, state: Absent [413C:27C8][2025-10-24T21:11:58]i104: Detected package: doc_JustForMe, feature: Shortcuts, state: Absent [413C:27C8][2025-10-24T21:11:58]i101: Detected package: tools_AllUsers, state: Obsolete, cached: Complete [413C:27C8][2025-10-24T21:11:58]i101: Detected package: tools_JustForMe, state: Obsolete, cached: None [413C:27C8][2025-10-24T21:11:58]i101: Detected package: tcltk_AllUsers, state: Obsolete, cached: Complete [413C:27C8][2025-10-24T21:11:58]i104: Detected package: tcltk_AllUsers, feature: DefaultFeature, state: Absent [413C:27C8][2025-10-24T21:11:58]i104: Detected package: tcltk_AllUsers, feature: AssociateFiles, state: Absent [413C:27C8][2025-10-24T21:11:58]i104: Detected package: tcltk_AllUsers, feature: Shortcuts, state: Absent [413C:27C8][2025-10-24T21:11:58]i101: Detected package: tcltk_AllUsers_pdb, state: Absent, cached: None [413C:27C8][2025-10-24T21:11:58]i104: Detected package: tcltk_AllUsers_pdb, feature: Symbols, state: Absent [413C:27C8][2025-10-24T21:11:58]i101: Detected package: tcltk_AllUsers_d, state: Absent, cached: None [413C:27C8][2025-10-24T21:11:58]i104: Detected package: tcltk_AllUsers_d, feature: DebugBinaries, state: Absent [413C:27C8][2025-10-24T21:11:58]i101: Detected package: tcltk_JustForMe, state: Obsolete, cached: None [413C:27C8][2025-10-24T21:11:58]i104: Detected package: tcltk_JustForMe, feature: DefaultFeature, state: Absent [413C:27C8][2025-10-24T21:11:58]i104: Detected package: tcltk_JustForMe, feature: AssociateFiles, state: Absent [413C:27C8][2025-10-24T21:11:58]i104: Detected package: tcltk_JustForMe, feature: Shortcuts, state: Absent [413C:27C8][2025-10-24T21:11:58]i101: Detected package: tcltk_JustForMe_pdb, state: Absent, cached: None [413C:27C8][2025-10-24T21:11:58]i104: Detected package: tcltk_JustForMe_pdb, feature: Symbols, state: Absent [413C:27C8][2025-10-24T21:11:58]i101: Detected package: tcltk_JustForMe_d, state: Absent, cached: None [413C:27C8][2025-10-24T21:11:58]i104: Detected package: tcltk_JustForMe_d, feature: DebugBinaries, state: Absent [413C:27C8][2025-10-24T21:11:58]i101: Detected package: launcher_AllUsers, state: Obsolete, cached: None [413C:27C8][2025-10-24T21:11:58]i104: Detected package: launcher_AllUsers, feature: DefaultFeature, state: Absent [413C:27C8][2025-10-24T21:11:58]i104: Detected package: launcher_AllUsers, feature: AssociateFiles, state: Absent [413C:27C8][2025-10-24T21:11:58]i101: Detected package: launcher_JustForMe, state: Obsolete, cached: None [413C:27C8][2025-10-24T21:11:58]i104: Detected package: launcher_JustForMe, feature: DefaultFeature, state: Absent [413C:27C8][2025-10-24T21:11:58]i104: Detected package: launcher_JustForMe, feature: AssociateFiles, state: Absent [413C:27C8][2025-10-24T21:11:58]i101: Detected package: pip_AllUsers, state: Obsolete, cached: Complete [413C:27C8][2025-10-24T21:11:58]i101: Detected package: pip_JustForMe, state: Obsolete, cached: None [413C:27C8][2025-10-24T21:11:58]i101: Detected package: path_AllUsers, state: Obsolete, cached: Complete [413C:27C8][2025-10-24T21:11:58]i101: Detected package: path_JustForMe, state: Obsolete, cached: None [413C:27C8][2025-10-24T21:11:58]i101: Detected package: compileall_AllUsers, state: Absent, cached: Complete [413C:27C8][2025-10-24T21:11:58]i101: Detected package: compileallO_AllUsers, state: Absent, cached: Complete [413C:27C8][2025-10-24T21:11:58]i101: Detected package: compileallOO_AllUsers, state: Absent, cached: Complete [413C:27C8][2025-10-24T21:11:58]i101: Detected package: compileall_JustForMe, state: Absent, cached: None [413C:27C8][2025-10-24T21:11:58]i101: Detected package: compileallO_JustForMe, state: Absent, cached: None [413C:27C8][2025-10-24T21:11:58]i101: Detected package: compileallOO_JustForMe, state: Absent, cached: None [413C:27C8][2025-10-24T21:11:58]i000: Setting string variable 'TargetDir' to value 'C:\Users\ZR\AppData\Local\Programs\Python\Python39' [413C:27C8][2025-10-24T21:11:58]i199: Detect complete, result: 0x0 [413C:0C44][2025-10-24T21:11:58]i000: Disable control InstallLauncherAllUsers [413C:0C44][2025-10-24T21:11:58]i052: Condition 'not WixBundleElevated and (InstallAllUsers or (Include_launcher and InstallLauncherAllUsers and not DetectedLauncher))' evaluates to false. [413C:0C44][2025-10-24T21:12:30]i000: Setting numeric variable 'PrependPath' to value 1 [413C:0C44][2025-10-24T21:12:30]i000: Disable control Include_launcher [413C:0C44][2025-10-24T21:12:30]i000: Disable control CustomInstallLauncherAllUsers [413C:0C44][2025-10-24T21:12:52]i000: Setting numeric variable 'Include_doc' to value 1 [413C:0C44][2025-10-24T21:12:52]i000: Setting numeric variable 'Include_pip' to value 1 [413C:0C44][2025-10-24T21:12:52]i000: Setting numeric variable 'Include_tcltk' to value 1 [413C:0C44][2025-10-24T21:12:52]i000: Setting numeric variable 'Include_test' to value 1 [413C:0C44][2025-10-24T21:12:52]i052: Condition 'not WixBundleElevated and (InstallAllUsers or (Include_launcher and InstallLauncherAllUsers and not DetectedLauncher))' evaluates to false. [413C:0C44][2025-10-24T21:13:03]i000: Setting numeric variable 'InstallAllUsers' to value 1 [413C:0C44][2025-10-24T21:13:03]i052: Condition 'not WixBundleElevated and (InstallAllUsers or (Include_launcher and InstallLauncherAllUsers and not DetectedLauncher))' evaluates to true. [413C:0C44][2025-10-24T21:13:03]i000: Setting numeric variable 'CompileAll' to value 1 [413C:0C44][2025-10-24T21:13:15]i000: Setting numeric variable 'InstallAllUsers' to value 1 [413C:0C44][2025-10-24T21:13:15]i000: Setting numeric variable 'AssociateFiles' to value 1 [413C:0C44][2025-10-24T21:13:15]i000: Setting numeric variable 'Shortcuts' to value 1 [413C:0C44][2025-10-24T21:13:15]i000: Setting numeric variable 'PrependPath' to value 1 [413C:0C44][2025-10-24T21:13:15]i000: Setting numeric variable 'CompileAll' to value 1 [413C:0C44][2025-10-24T21:13:15]i000: Setting numeric variable 'Include_symbols' to value 0 [413C:0C44][2025-10-24T21:13:15]i000: Setting numeric variable 'Include_debug' to value 0 [413C:0C44][2025-10-24T21:13:15]i000: Setting string variable 'TargetDir' to value 'D:\py3.9.6' [413C:0C44][2025-10-24T21:13:15]i000: Setting string variable 'ActionLikeInstalling' to value 'Installing' [413C:0C44][2025-10-24T21:13:15]i000: Setting string variable 'ActionLikeInstallation' to value 'Setup' [413C:27C8][2025-10-24T21:13:15]i200: Plan begin, 52 packages, action: Install [413C:27C8][2025-10-24T21:13:15]i052: Condition 'InstallAllUsers and not CRTInstalled and (Include_core or Include_exe or Include_pip) and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'InstallAllUsers and not CRTInstalled and (Include_core or Include_exe or Include_pip) and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]w322: Skipping cross-scope dependency registration on package: ucrt_AllUsers, bundle scope: PerUser, package scope: PerMachine [413C:27C8][2025-10-24T21:13:15]i052: Condition 'not InstallAllUsers and not CRTInstalled and (Include_core or Include_exe or Include_pip) and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'not InstallAllUsers and not CRTInstalled and (Include_core or Include_exe or Include_pip) and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'InstallAllUsers and (Include_core or Include_exe or Include_launcher or Include_pip) and not LauncherOnly' evaluates to true. [413C:27C8][2025-10-24T21:13:15]w322: Skipping cross-scope dependency registration on package: core_AllUsers, bundle scope: PerUser, package scope: PerMachine [413C:27C8][2025-10-24T21:13:15]i000: Setting string variable 'WixBundleRollbackLog_core_AllUsers' to value 'C:\Users\ZR\AppData\Local\Temp\Python 3.9.2rc1 (64-bit)_20251024211157_000_core_AllUsers_rollback.log' [413C:27C8][2025-10-24T21:13:15]i000: Setting string variable 'WixBundleLog_core_AllUsers' to value 'C:\Users\ZR\AppData\Local\Temp\Python 3.9.2rc1 (64-bit)_20251024211157_000_core_AllUsers.log' [413C:27C8][2025-10-24T21:13:15]i052: Condition 'InstallAllUsers and (Include_core or Include_exe or Include_launcher or Include_pip) and Include_symbols and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'InstallAllUsers and (Include_core or Include_exe or Include_launcher or Include_pip) and Include_symbols and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]w322: Skipping cross-scope dependency registration on package: core_AllUsers_pdb, bundle scope: PerUser, package scope: PerMachine [413C:27C8][2025-10-24T21:13:15]i052: Condition 'InstallAllUsers and (Include_core or Include_exe or Include_launcher or Include_pip) and Include_debug and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'InstallAllUsers and (Include_core or Include_exe or Include_launcher or Include_pip) and Include_debug and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]w322: Skipping cross-scope dependency registration on package: core_AllUsers_d, bundle scope: PerUser, package scope: PerMachine [413C:27C8][2025-10-24T21:13:15]i052: Condition 'not InstallAllUsers and (Include_core or Include_exe or Include_launcher or Include_pip) and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'not InstallAllUsers and (Include_core or Include_exe or Include_launcher or Include_pip) and Include_symbols and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'not InstallAllUsers and (Include_core or Include_exe or Include_launcher or Include_pip) and Include_symbols and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'not InstallAllUsers and (Include_core or Include_exe or Include_launcher or Include_pip) and Include_debug and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'not InstallAllUsers and (Include_core or Include_exe or Include_launcher or Include_pip) and Include_debug and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'InstallAllUsers and Include_dev and not LauncherOnly' evaluates to true. [413C:27C8][2025-10-24T21:13:15]w322: Skipping cross-scope dependency registration on package: dev_AllUsers, bundle scope: PerUser, package scope: PerMachine [413C:27C8][2025-10-24T21:13:15]i000: Setting string variable 'WixBundleRollbackLog_dev_AllUsers' to value 'C:\Users\ZR\AppData\Local\Temp\Python 3.9.2rc1 (64-bit)_20251024211157_001_dev_AllUsers_rollback.log' [413C:27C8][2025-10-24T21:13:15]i000: Setting string variable 'WixBundleLog_dev_AllUsers' to value 'C:\Users\ZR\AppData\Local\Temp\Python 3.9.2rc1 (64-bit)_20251024211157_001_dev_AllUsers.log' [413C:27C8][2025-10-24T21:13:15]i052: Condition 'InstallAllUsers and Include_dev and Include_debug and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'InstallAllUsers and Include_dev and Include_debug and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]w322: Skipping cross-scope dependency registration on package: dev_AllUsers_d, bundle scope: PerUser, package scope: PerMachine [413C:27C8][2025-10-24T21:13:15]i052: Condition 'not InstallAllUsers and Include_dev and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'not InstallAllUsers and Include_dev and Include_debug and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'not InstallAllUsers and Include_dev and Include_debug and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'InstallAllUsers and (Include_exe or Include_launcher or Include_pip) and not LauncherOnly' evaluates to true. [413C:27C8][2025-10-24T21:13:15]i204: Plan 2 msi features for package: exe_AllUsers [413C:27C8][2025-10-24T21:13:15]i203: Planned feature: DefaultFeature, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove [413C:27C8][2025-10-24T21:13:15]i203: Planned feature: Shortcuts, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove [413C:27C8][2025-10-24T21:13:15]w322: Skipping cross-scope dependency registration on package: exe_AllUsers, bundle scope: PerUser, package scope: PerMachine [413C:27C8][2025-10-24T21:13:15]i000: Setting string variable 'WixBundleRollbackLog_exe_AllUsers' to value 'C:\Users\ZR\AppData\Local\Temp\Python 3.9.2rc1 (64-bit)_20251024211157_002_exe_AllUsers_rollback.log' [413C:27C8][2025-10-24T21:13:15]i000: Setting string variable 'WixBundleLog_exe_AllUsers' to value 'C:\Users\ZR\AppData\Local\Temp\Python 3.9.2rc1 (64-bit)_20251024211157_002_exe_AllUsers.log' [413C:27C8][2025-10-24T21:13:15]i052: Condition 'InstallAllUsers and (Include_exe or Include_launcher or Include_pip) and Include_symbols and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'InstallAllUsers and (Include_exe or Include_launcher or Include_pip) and Include_symbols and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]w322: Skipping cross-scope dependency registration on package: exe_AllUsers_pdb, bundle scope: PerUser, package scope: PerMachine [413C:27C8][2025-10-24T21:13:15]i052: Condition 'InstallAllUsers and (Include_exe or Include_launcher or Include_pip) and Include_debug and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'InstallAllUsers and (Include_exe or Include_launcher or Include_pip) and Include_debug and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]w322: Skipping cross-scope dependency registration on package: exe_AllUsers_d, bundle scope: PerUser, package scope: PerMachine [413C:27C8][2025-10-24T21:13:15]i052: Condition 'not InstallAllUsers and (Include_exe or Include_launcher or Include_pip) and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'not InstallAllUsers and (Include_exe or Include_launcher or Include_pip) and Include_symbols and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'not InstallAllUsers and (Include_exe or Include_launcher or Include_pip) and Include_symbols and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'not InstallAllUsers and (Include_exe or Include_launcher or Include_pip) and Include_debug and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'not InstallAllUsers and (Include_exe or Include_launcher or Include_pip) and Include_debug and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'InstallAllUsers and Include_lib and not LauncherOnly' evaluates to true. [413C:27C8][2025-10-24T21:13:15]w322: Skipping cross-scope dependency registration on package: lib_AllUsers, bundle scope: PerUser, package scope: PerMachine [413C:27C8][2025-10-24T21:13:15]i000: Setting string variable 'WixBundleRollbackLog_lib_AllUsers' to value 'C:\Users\ZR\AppData\Local\Temp\Python 3.9.2rc1 (64-bit)_20251024211157_003_lib_AllUsers_rollback.log' [413C:27C8][2025-10-24T21:13:15]i000: Setting string variable 'WixBundleLog_lib_AllUsers' to value 'C:\Users\ZR\AppData\Local\Temp\Python 3.9.2rc1 (64-bit)_20251024211157_003_lib_AllUsers.log' [413C:27C8][2025-10-24T21:13:15]i052: Condition 'InstallAllUsers and Include_lib and Include_symbols and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'InstallAllUsers and Include_lib and Include_symbols and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]w322: Skipping cross-scope dependency registration on package: lib_AllUsers_pdb, bundle scope: PerUser, package scope: PerMachine [413C:27C8][2025-10-24T21:13:15]i052: Condition 'InstallAllUsers and Include_lib and Include_debug and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'InstallAllUsers and Include_lib and Include_debug and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]w322: Skipping cross-scope dependency registration on package: lib_AllUsers_d, bundle scope: PerUser, package scope: PerMachine [413C:27C8][2025-10-24T21:13:15]i052: Condition 'not InstallAllUsers and Include_lib and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'not InstallAllUsers and Include_lib and Include_symbols and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'not InstallAllUsers and Include_lib and Include_symbols and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'not InstallAllUsers and Include_lib and Include_debug and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'not InstallAllUsers and Include_lib and Include_debug and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'InstallAllUsers and Include_test and not LauncherOnly' evaluates to true. [413C:27C8][2025-10-24T21:13:15]w322: Skipping cross-scope dependency registration on package: test_AllUsers, bundle scope: PerUser, package scope: PerMachine [413C:27C8][2025-10-24T21:13:15]i000: Setting string variable 'WixBundleRollbackLog_test_AllUsers' to value 'C:\Users\ZR\AppData\Local\Temp\Python 3.9.2rc1 (64-bit)_20251024211157_004_test_AllUsers_rollback.log' [413C:27C8][2025-10-24T21:13:15]i000: Setting string variable 'WixBundleLog_test_AllUsers' to value 'C:\Users\ZR\AppData\Local\Temp\Python 3.9.2rc1 (64-bit)_20251024211157_004_test_AllUsers.log' [413C:27C8][2025-10-24T21:13:15]i052: Condition 'InstallAllUsers and Include_test and Include_symbols and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'InstallAllUsers and Include_test and Include_symbols and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]w322: Skipping cross-scope dependency registration on package: test_AllUsers_pdb, bundle scope: PerUser, package scope: PerMachine [413C:27C8][2025-10-24T21:13:15]i052: Condition 'InstallAllUsers and Include_test and Include_debug and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'InstallAllUsers and Include_test and Include_debug and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]w322: Skipping cross-scope dependency registration on package: test_AllUsers_d, bundle scope: PerUser, package scope: PerMachine [413C:27C8][2025-10-24T21:13:15]i052: Condition 'not InstallAllUsers and Include_test and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'not InstallAllUsers and Include_test and Include_symbols and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'not InstallAllUsers and Include_test and Include_symbols and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'not InstallAllUsers and Include_test and Include_debug and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'not InstallAllUsers and Include_test and Include_debug and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'InstallAllUsers and Include_doc and not LauncherOnly' evaluates to true. [413C:27C8][2025-10-24T21:13:15]i204: Plan 2 msi features for package: doc_AllUsers [413C:27C8][2025-10-24T21:13:15]i203: Planned feature: DefaultFeature, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove [413C:27C8][2025-10-24T21:13:15]i203: Planned feature: Shortcuts, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove [413C:27C8][2025-10-24T21:13:15]w322: Skipping cross-scope dependency registration on package: doc_AllUsers, bundle scope: PerUser, package scope: PerMachine [413C:27C8][2025-10-24T21:13:15]i000: Setting string variable 'WixBundleRollbackLog_doc_AllUsers' to value 'C:\Users\ZR\AppData\Local\Temp\Python 3.9.2rc1 (64-bit)_20251024211157_005_doc_AllUsers_rollback.log' [413C:27C8][2025-10-24T21:13:15]i000: Setting string variable 'WixBundleLog_doc_AllUsers' to value 'C:\Users\ZR\AppData\Local\Temp\Python 3.9.2rc1 (64-bit)_20251024211157_005_doc_AllUsers.log' [413C:27C8][2025-10-24T21:13:15]i052: Condition 'not InstallAllUsers and Include_doc and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'InstallAllUsers and Include_tools and not LauncherOnly' evaluates to true. [413C:27C8][2025-10-24T21:13:15]w322: Skipping cross-scope dependency registration on package: tools_AllUsers, bundle scope: PerUser, package scope: PerMachine [413C:27C8][2025-10-24T21:13:15]i000: Setting string variable 'WixBundleRollbackLog_tools_AllUsers' to value 'C:\Users\ZR\AppData\Local\Temp\Python 3.9.2rc1 (64-bit)_20251024211157_006_tools_AllUsers_rollback.log' [413C:27C8][2025-10-24T21:13:15]i000: Setting string variable 'WixBundleLog_tools_AllUsers' to value 'C:\Users\ZR\AppData\Local\Temp\Python 3.9.2rc1 (64-bit)_20251024211157_006_tools_AllUsers.log' [413C:27C8][2025-10-24T21:13:15]i052: Condition 'not InstallAllUsers and Include_tools and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'InstallAllUsers and Include_tcltk and not LauncherOnly' evaluates to true. [413C:27C8][2025-10-24T21:13:15]i204: Plan 3 msi features for package: tcltk_AllUsers [413C:27C8][2025-10-24T21:13:15]i203: Planned feature: DefaultFeature, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove [413C:27C8][2025-10-24T21:13:15]i203: Planned feature: AssociateFiles, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove [413C:27C8][2025-10-24T21:13:15]i203: Planned feature: Shortcuts, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove [413C:27C8][2025-10-24T21:13:15]w322: Skipping cross-scope dependency registration on package: tcltk_AllUsers, bundle scope: PerUser, package scope: PerMachine [413C:27C8][2025-10-24T21:13:15]i000: Setting string variable 'WixBundleRollbackLog_tcltk_AllUsers' to value 'C:\Users\ZR\AppData\Local\Temp\Python 3.9.2rc1 (64-bit)_20251024211157_007_tcltk_AllUsers_rollback.log' [413C:27C8][2025-10-24T21:13:15]i000: Setting string variable 'WixBundleLog_tcltk_AllUsers' to value 'C:\Users\ZR\AppData\Local\Temp\Python 3.9.2rc1 (64-bit)_20251024211157_007_tcltk_AllUsers.log' [413C:27C8][2025-10-24T21:13:15]i052: Condition 'InstallAllUsers and Include_tcltk and Include_symbols and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'InstallAllUsers and Include_tcltk and Include_symbols and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i204: Plan 1 msi features for package: tcltk_AllUsers_pdb [413C:27C8][2025-10-24T21:13:15]i203: Planned feature: Symbols, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove [413C:27C8][2025-10-24T21:13:15]w322: Skipping cross-scope dependency registration on package: tcltk_AllUsers_pdb, bundle scope: PerUser, package scope: PerMachine [413C:27C8][2025-10-24T21:13:15]i052: Condition 'InstallAllUsers and Include_tcltk and Include_debug and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'InstallAllUsers and Include_tcltk and Include_debug and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i204: Plan 1 msi features for package: tcltk_AllUsers_d [413C:27C8][2025-10-24T21:13:15]i203: Planned feature: DebugBinaries, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove [413C:27C8][2025-10-24T21:13:15]w322: Skipping cross-scope dependency registration on package: tcltk_AllUsers_d, bundle scope: PerUser, package scope: PerMachine [413C:27C8][2025-10-24T21:13:15]i052: Condition 'not InstallAllUsers and Include_tcltk and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'not InstallAllUsers and Include_tcltk and Include_symbols and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'not InstallAllUsers and Include_tcltk and Include_symbols and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i204: Plan 1 msi features for package: tcltk_JustForMe_pdb [413C:27C8][2025-10-24T21:13:15]i203: Planned feature: Symbols, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove [413C:27C8][2025-10-24T21:13:15]i052: Condition 'not InstallAllUsers and Include_tcltk and Include_debug and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'not InstallAllUsers and Include_tcltk and Include_debug and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i204: Plan 1 msi features for package: tcltk_JustForMe_d [413C:27C8][2025-10-24T21:13:15]i203: Planned feature: DebugBinaries, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove [413C:27C8][2025-10-24T21:13:15]i052: Condition '(InstallAllUsers or InstallLauncherAllUsers) and Include_launcher and not DetectedLauncher' evaluates to false. [413C:27C8][2025-10-24T21:13:15]w322: Skipping cross-scope dependency registration on package: launcher_AllUsers, bundle scope: PerUser, package scope: PerMachine [413C:27C8][2025-10-24T21:13:15]i052: Condition 'not (InstallAllUsers or InstallLauncherAllUsers) and Include_launcher and not DetectedLauncher' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'InstallAllUsers and Include_pip and not LauncherOnly' evaluates to true. [413C:27C8][2025-10-24T21:13:15]w322: Skipping cross-scope dependency registration on package: pip_AllUsers, bundle scope: PerUser, package scope: PerMachine [413C:27C8][2025-10-24T21:13:15]i000: Setting string variable 'WixBundleRollbackLog_pip_AllUsers' to value 'C:\Users\ZR\AppData\Local\Temp\Python 3.9.2rc1 (64-bit)_20251024211157_008_pip_AllUsers_rollback.log' [413C:27C8][2025-10-24T21:13:15]i000: Setting string variable 'WixBundleLog_pip_AllUsers' to value 'C:\Users\ZR\AppData\Local\Temp\Python 3.9.2rc1 (64-bit)_20251024211157_008_pip_AllUsers.log' [413C:27C8][2025-10-24T21:13:15]i052: Condition 'not InstallAllUsers and Include_pip and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'InstallAllUsers and PrependPath and not LauncherOnly' evaluates to true. [413C:27C8][2025-10-24T21:13:15]w322: Skipping cross-scope dependency registration on package: path_AllUsers, bundle scope: PerUser, package scope: PerMachine [413C:27C8][2025-10-24T21:13:15]i000: Setting string variable 'WixBundleRollbackLog_path_AllUsers' to value 'C:\Users\ZR\AppData\Local\Temp\Python 3.9.2rc1 (64-bit)_20251024211157_009_path_AllUsers_rollback.log' [413C:27C8][2025-10-24T21:13:15]i000: Setting string variable 'WixBundleLog_path_AllUsers' to value 'C:\Users\ZR\AppData\Local\Temp\Python 3.9.2rc1 (64-bit)_20251024211157_009_path_AllUsers.log' [413C:27C8][2025-10-24T21:13:15]i052: Condition 'not InstallAllUsers and PrependPath and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'InstallAllUsers and CompileAll and not LauncherOnly' evaluates to true. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'InstallAllUsers and CompileAll and not LauncherOnly' evaluates to true. [413C:27C8][2025-10-24T21:13:15]w321: Skipping dependency registration on package with no dependency providers: compileall_AllUsers [413C:27C8][2025-10-24T21:13:15]i000: Setting string variable 'WixBundleLog_compileall_AllUsers' to value 'C:\Users\ZR\AppData\Local\Temp\Python 3.9.2rc1 (64-bit)_20251024211157_010_compileall_AllUsers.log' [413C:27C8][2025-10-24T21:13:15]i052: Condition 'InstallAllUsers and CompileAll and not LauncherOnly' evaluates to true. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'InstallAllUsers and CompileAll and not LauncherOnly' evaluates to true. [413C:27C8][2025-10-24T21:13:15]w321: Skipping dependency registration on package with no dependency providers: compileallO_AllUsers [413C:27C8][2025-10-24T21:13:15]i000: Setting string variable 'WixBundleLog_compileallO_AllUsers' to value 'C:\Users\ZR\AppData\Local\Temp\Python 3.9.2rc1 (64-bit)_20251024211157_011_compileallO_AllUsers.log' [413C:27C8][2025-10-24T21:13:15]i052: Condition 'InstallAllUsers and CompileAll and not LauncherOnly' evaluates to true. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'InstallAllUsers and CompileAll and not LauncherOnly' evaluates to true. [413C:27C8][2025-10-24T21:13:15]w321: Skipping dependency registration on package with no dependency providers: compileallOO_AllUsers [413C:27C8][2025-10-24T21:13:15]i000: Setting string variable 'WixBundleLog_compileallOO_AllUsers' to value 'C:\Users\ZR\AppData\Local\Temp\Python 3.9.2rc1 (64-bit)_20251024211157_012_compileallOO_AllUsers.log' [413C:27C8][2025-10-24T21:13:15]i052: Condition 'not InstallAllUsers and CompileAll and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'not InstallAllUsers and CompileAll and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]w321: Skipping dependency registration on package with no dependency providers: compileall_JustForMe [413C:27C8][2025-10-24T21:13:15]i052: Condition 'not InstallAllUsers and CompileAll and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'not InstallAllUsers and CompileAll and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]w321: Skipping dependency registration on package with no dependency providers: compileallO_JustForMe [413C:27C8][2025-10-24T21:13:15]i052: Condition 'not InstallAllUsers and CompileAll and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]i052: Condition 'not InstallAllUsers and CompileAll and not LauncherOnly' evaluates to false. [413C:27C8][2025-10-24T21:13:15]w321: Skipping dependency registration on package with no dependency providers: compileallOO_JustForMe [413C:27C8][2025-10-24T21:13:15]i201: Planned package: ucrt_AllUsers, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: ucrt_JustForMe, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: core_AllUsers, state: Obsolete, default requested: None, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: core_AllUsers_pdb, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: core_AllUsers_d, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: core_JustForMe, state: Obsolete, default requested: None, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: core_JustForMe_pdb, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: core_JustForMe_d, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: dev_AllUsers, state: Obsolete, default requested: None, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: dev_AllUsers_d, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: dev_JustForMe, state: Obsolete, default requested: None, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: dev_JustForMe_d, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: exe_AllUsers, state: Obsolete, default requested: None, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: exe_AllUsers_pdb, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: exe_AllUsers_d, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: exe_JustForMe, state: Obsolete, default requested: None, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: exe_JustForMe_pdb, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: exe_JustForMe_d, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: lib_AllUsers, state: Obsolete, default requested: None, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: lib_AllUsers_pdb, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: lib_AllUsers_d, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: lib_JustForMe, state: Obsolete, default requested: None, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: lib_JustForMe_pdb, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: lib_JustForMe_d, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: test_AllUsers, state: Obsolete, default requested: None, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: test_AllUsers_pdb, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: test_AllUsers_d, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: test_JustForMe, state: Obsolete, default requested: None, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: test_JustForMe_pdb, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: test_JustForMe_d, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: doc_AllUsers, state: Obsolete, default requested: None, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: doc_JustForMe, state: Obsolete, default requested: None, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: tools_AllUsers, state: Obsolete, default requested: None, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: tools_JustForMe, state: Obsolete, default requested: None, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: tcltk_AllUsers, state: Obsolete, default requested: None, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: tcltk_AllUsers_pdb, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: tcltk_AllUsers_d, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: tcltk_JustForMe, state: Obsolete, default requested: None, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: tcltk_JustForMe_pdb, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: tcltk_JustForMe_d, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: launcher_AllUsers, state: Obsolete, default requested: None, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: launcher_JustForMe, state: Obsolete, default requested: None, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: pip_AllUsers, state: Obsolete, default requested: None, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: pip_JustForMe, state: Obsolete, default requested: None, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: path_AllUsers, state: Obsolete, default requested: None, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: path_JustForMe, state: Obsolete, default requested: None, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: compileall_AllUsers, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: compileallO_AllUsers, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: compileallOO_AllUsers, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: compileall_JustForMe, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: compileallO_JustForMe, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i201: Planned package: compileallOO_JustForMe, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [413C:27C8][2025-10-24T21:13:15]i299: Plan complete, result: 0x0 [413C:27C8][2025-10-24T21:13:15]i300: Apply begin [413C:27C8][2025-10-24T21:13:15]i010: Launching elevated engine process. [413C:27C8][2025-10-24T21:13:16]i011: Launched elevated engine process. [413C:27C8][2025-10-24T21:13:17]i012: Connected to elevated engine. [494C:3F64][2025-10-24T21:13:17]i358: Pausing automatic updates. [494C:3F64][2025-10-24T21:13:17]i359: Paused automatic updates. [494C:3F64][2025-10-24T21:13:17]i360: Creating a system restore point. [494C:3F64][2025-10-24T21:13:17]i361: Created a system restore point. [413C:27C8][2025-10-24T21:13:17]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{fb664176-dc13-48e7-964a-35465a1bfb81}, options: 0x7, disable resume: No [413C:27C8][2025-10-24T21:13:17]i000: Caching bundle from: 'C:\Users\ZR\AppData\Local\Temp\{DA8E932D-E399-413F-97BC-FF916CC637BD}\.be\python-3.9.2rc1-amd64.exe' to: 'C:\Users\ZR\AppData\Local\Package Cache\{fb664176-dc13-48e7-964a-35465a1bfb81}\python-3.9.2rc1-amd64.exe' [413C:27C8][2025-10-24T21:13:17]i320: Registering bundle dependency provider: CPython-3.9, version: 3.9.2121.0 [413C:27C8][2025-10-24T21:13:17]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{fb664176-dc13-48e7-964a-35465a1bfb81}, resume: Active, restart initiated: No, disable resume: No [494C:14D0][2025-10-24T21:13:17]i305: Verified acquired payload: core_AllUsers at path: C:\ProgramData\Package Cache\.unverified\core_AllUsers, moving to: C:\ProgramData\Package Cache\{86B8A818-5D9F-4DEB-9AAD-C7548288A9DD}v3.9.2121.0\core.msi. [494C:3F64][2025-10-24T21:13:17]i301: Applying execute package: core_AllUsers, action: Install, path: C:\ProgramData\Package Cache\{86B8A818-5D9F-4DEB-9AAD-C7548288A9DD}v3.9.2121.0\core.msi, arguments: ' ALLUSERS="1" ARPSYSTEMCOMPONENT="1" MSIFASTINSTALL="7" TARGETDIR="D:\py3.9.6" OPTIONALFEATURESREGISTRYKEY="Software\Python\PythonCore\3.9\InstalledFeatures"' [494C:14D0][2025-10-24T21:13:17]i304: Verified existing payload: dev_AllUsers at path: C:\ProgramData\Package Cache\{4DFF1A42-B3F2-4BFD-91DB-83C068BAA18A}v3.9.2121.0\dev.msi. [494C:14D0][2025-10-24T21:13:17]i304: Verified existing payload: exe_AllUsers at path: C:\ProgramData\Package Cache\{EE46E18C-0EEE-4F74-8D94-64F8F7106A72}v3.9.2121.0\exe.msi. [494C:14D0][2025-10-24T21:13:17]i304: Verified existing payload: lib_AllUsers at path: C:\ProgramData\Package Cache\{01D6D0BA-F5CA-4A30-ACF5-AFAC9A7AAC83}v3.9.2121.0\lib.msi. [494C:14D0][2025-10-24T21:13:17]i304: Verified existing payload: test_AllUsers at path: C:\ProgramData\Package Cache\{8094EB5D-1C0F-41B5-B2ED-A2DB591C3193}v3.9.2121.0\test.msi. [494C:14D0][2025-10-24T21:13:17]i304: Verified existing payload: doc_AllUsers at path: C:\ProgramData\Package Cache\{3C8A9FCE-8A2C-48AD-960E-8ECB42AEE64C}v3.9.2121.0\doc.msi. [494C:14D0][2025-10-24T21:13:17]i304: Verified existing payload: tools_AllUsers at path: C:\ProgramData\Package Cache\{94575055-394E-49B1-9A78-1730840CBC44}v3.9.2121.0\tools.msi. [494C:14D0][2025-10-24T21:13:17]i304: Verified existing payload: tcltk_AllUsers at path: C:\ProgramData\Package Cache\{D31FC07C-9B32-452F-B961-AA177298D997}v3.9.2121.0\tcltk.msi. [494C:14D0][2025-10-24T21:13:17]i304: Verified existing payload: pip_AllUsers at path: C:\ProgramData\Package Cache\{AEEA2619-22D6-4BAE-AB65-A545921D6BBE}v3.9.2121.0\pip.msi. [494C:14D0][2025-10-24T21:13:17]i304: Verified existing payload: path_AllUsers at path: C:\ProgramData\Package Cache\{BD208075-520F-4F59-9D8D-7FAE574CBF3A}v3.9.2121.0\path.msi. [494C:14D0][2025-10-24T21:13:17]i304: Verified existing payload: compileall_AllUsers at path: C:\ProgramData\Package Cache\043C16B1A888D4FDFF46CA4FB8AF88495858E515\py.exe. [494C:14D0][2025-10-24T21:13:17]i304: Verified existing payload: compileallO_AllUsers at path: C:\ProgramData\Package Cache\043C16B1A888D4FDFF46CA4FB8AF88495858E515\py.exe. [494C:14D0][2025-10-24T21:13:17]i304: Verified existing payload: compileallOO_AllUsers at path: C:\ProgramData\Package Cache\043C16B1A888D4FDFF46CA4FB8AF88495858E515\py.exe. [494C:3F64][2025-10-24T21:13:23]e000: Error 0x80070643: Failed to install MSI package. [494C:3F64][2025-10-24T21:13:23]e000: Error 0x80070643: Failed to execute MSI package. [413C:27C8][2025-10-24T21:13:23]e000: Error 0x80070643: Failed to configure per-machine MSI package. [413C:27C8][2025-10-24T21:13:23]i319: Applied execute package: core_AllUsers, result: 0x80070643, restart: None [413C:27C8][2025-10-24T21:13:23]e000: Error 0x80070643: Failed to execute MSI package. [494C:3F64][2025-10-24T21:13:23]i318: Skipped rollback of package: core_AllUsers, action: Uninstall, already: Absent [413C:27C8][2025-10-24T21:13:23]i319: Applied rollback package: core_AllUsers, result: 0x0, restart: None [494C:3F64][2025-10-24T21:13:23]i351: Removing cached package: core_AllUsers, from path: C:\ProgramData\Package Cache\{86B8A818-5D9F-4DEB-9AAD-C7548288A9DD}v3.9.2121.0\ [413C:27C8][2025-10-24T21:13:23]i329: Removed package dependency provider: {7CB21651-FC68-4B88-8272-535F9509B613}, package: ucrt_JustForMe [413C:27C8][2025-10-24T21:13:23]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{fb664176-dc13-48e7-964a-35465a1bfb81}, resume: None, restart: None, disable resume: No [413C:27C8][2025-10-24T21:13:23]i330: Removed bundle dependency provider: CPython-3.9 [413C:27C8][2025-10-24T21:13:23]i352: Removing cached bundle: {fb664176-dc13-48e7-964a-35465a1bfb81}, from path: C:\Users\ZR\AppData\Local\Package Cache\{fb664176-dc13-48e7-964a-35465a1bfb81}\ [413C:27C8][2025-10-24T21:13:23]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{fb664176-dc13-48e7-964a-35465a1bfb81}, resume: None, restart initiated: No, disable resume: No [413C:27C8][2025-10-24T21:13:23]i399: Apply complete, result: 0x80070643, restart: None, ba requested restart: No
10-25
MinGW(Minimalist GNU for Windows)是一个用于Windows平台的GNU工具链,它允许你在Windows上使用GNU编译器集合(GCC)和其他开发工具。MinGW提供了多种运行时库选择,其中之一是UCRT(Universal C Runtime)。 选择UCRT作为MinGW的运行时库有以下几个优点: 1. **兼容性**:UCRT微软提供的一个现代C运行时库,它与Windows操作系统紧密集成,确保了更好的兼容性和稳定性。 2. **性能**:UCRT经过优化,提供了一些性能改进,使得编译后的程序在运行时更高效。 3. **安全性**:UCRT包含了一些安全增强功能,如缓冲区溢出检测等,有助于提高程序的安全性。 4. **维护性**:由于UCRT是由微软维护的,开发者可以享受到微软提供的长期支持和更新。 在MinGW中选择UCRT作为运行时库,可以通过以下步骤进行: 1. **下载MinGW-w64**:访问MinGW-w64的官方网站或使用包管理器(如MSYS2)下载安装包。 2. **安装MinGW-w64**:按照安装向导的指示完成安装过程。 3. **配置编译环境**:在安装过程中,选择使用UCRT的版本。通常,包管理器会自动处理这些依赖关系。 4. **编译程序**:使用GCC编译器编译你的程序。编译器会自动链接到UCRT。 例如,使用命令行编译一个简单的C程序: ```sh gcc -o myprogram myprogram.c ``` 通过以上步骤,你可以选择UCRT作为MinGW的运行时库,从而获得更好的兼容性和性能。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

dowhileprogramming

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值