Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run Windows installer tests in their own container #101

Draft
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

zooba
Copy link
Member

@zooba zooba commented Feb 27, 2024

This makes each install test run in its own container, isolated from the build machine, which allows us to test versions of Python that are already installed on the build machine.

Unfortunately, it seems that Windows Installer does not work properly inside the container, so we can't actually use it.

Posting it here for posterity, or in case someone comes up with a way to make it work.

#Write-Host "##[command]dir -r ""HKLM:\Software\WOW6432Node\Python"""
#dir -r "HKLM:\Software\WOW6432Node\Python"
Write-Host "##[command]reg HKLM\Software\Python /s /reg:32"
reg HKLM\Software\Python /s /reg:32
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, the containers don't seem to have reg.exe, so these steps probably need to be replaced with our own custom code for listing the registry.

Or maybe we can downgrade Powershell to a version that isn't broken by PowerShell/PowerShell#5536

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant