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

Add support for R4.3 and new QWT version #86

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

Conversation

marmarek
Copy link
Contributor

This is lightly tested on Win10 pro, more tests are coming.

See individual commit messages for details.

No chages are needed just due to Qubes version difference.
New QWT version doesn't require reboot after installation.
Support both approaches.
Technically, the new version doesn't need wait-for-shutdown.bat either,
but also it's harmless (since prepare-volume.exe is gone) so keep it for
old QWT version support.
New QWT requires testsigning for basic Xen PV drivers too. At least for
now.
@marmarek
Copy link
Contributor Author

Win10 seems to work, seamless mode is properly enabled too. Win11 install does not work, due to hardware requirements. This will require either some magic in the answers xml file, or adjusting emulated hardware in qubes.

Do not require UEFI Secure Boot and TPM. While technically they can be
provided, they don't add much value in virtualized environment.

QubesOS/qubes-issues#1861
@marmarek marmarek force-pushed the r4.3 branch 2 times, most recently from 12244fd to cdd85e5 Compare March 19, 2025 15:47
While bypassing disk size check in Win11 makes sense in some cases,
some may still want to use larger disk. It's easier to do before
installation, than resize it later.
Win11 refuses to install without separate "system reserved" partition,
so add that.

Partitioning with DiskConfiguration in Win11 is unreliable/broken.
Either results in no partitions created at all, or a layout that isn't
accepted by the installer. Follow what
https://schneegans.de/windows/unattend-generator/ (and various other
examples) do and use diskpart.exe.

QubesOS/qubes-issues#1861
On Win11, AppActivate doesn't work reliably, sometimes it requires
manually clicking on the "Windows Security" window.
According to the documentation[1] (for VBA not VBS... but I haven't
found VBS's AppActivate docs), there is a second argument "wait" -
whether to wait for the calling application to get focus first.
Documentation says the default is False, but it behaves like it
actually is True. Set it explicitly to False (0), which fixes the issue.

[1] https://learn.microsoft.com/en-us/office/vba/Language/Reference/user-interface-help/appactivate-statement

QubesOS/qubes-issues#1861
@marmarek
Copy link
Contributor Author

FWIW the last commit isn't sufficient: https://openqa.qubes-os.org/tests/133554#step/windows_install/26

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

Successfully merging this pull request may close these issues.

1 participant