You can clone with
global name 'get_special_folder_path' is not defined
don't know why.
Is get_special_folder_path a build_in function?
Yes, I think it's part of the build system. Do you run into an error, or is this just from scanning the file?
i find it when i run the post install.
i don't know where this function is, build_in or other package?
As I understand it, this script is for inclusion in the MSI installer, it is not meant to ever be run manually.
Precisely. Those scripts get executed by the installer tool and they live in a funny namespace pre-populated with other tools. They can NOT be used standalone. The only way to run them is to build a binary installer with bdist_wininst and execute the installer itself.
Closing as this is not a bug on our side, it's how the python windows installers are designed.