Problem creating package with windows_version()
Published: July 5, 2017 - 12:24 PM
Good morning,
I'm having trouble with Python when installing proprietary software. It's a specific type of software, with installers of different types (sometimes .exe, sometimes .msi) that also vary depending on the operating system. I want to use the `iswin64()` and `windows_version()` functions to identify which installer to use during deployment. My problem is this: it doesn't seem to identify the specific OS version and always chooses the installer for the Windows 7 x86 version (which is what happens in my "else" statement). The problem seems to be coming from windows_version(), having already used iswin64() without any problems before.
Could you shed some light on the problem?
Thank you in advance for your answers.
Regards,
NeckAtSkin
I'm having trouble with Python when installing proprietary software. It's a specific type of software, with installers of different types (sometimes .exe, sometimes .msi) that also vary depending on the operating system. I want to use the `iswin64()` and `windows_version()` functions to identify which installer to use during deployment. My problem is this: it doesn't seem to identify the specific OS version and always chooses the installer for the Windows 7 x86 version (which is what happens in my "else" statement). The problem seems to be coming from windows_version(), having already used iswin64() without any problems before.
Could you shed some light on the problem?
Thank you in advance for your answers.
Regards,
NeckAtSkin