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

VPN-6448 try to scheudle a reboot on w10 (2.24 only) #9809

Merged
merged 3 commits into from
Sep 2, 2024

Conversation

strseb
Copy link
Collaborator

@strseb strseb commented Aug 26, 2024

Description

Given QA's ticket mentions they uninstall the old version, using wix_upgrade detected is not sufficient. So let's just "ask" w10 users to reboot after installation :)

@strseb strseb changed the title try to scheudle a reboot on w10 wip try to scheudle a reboot on w10 Aug 26, 2024
@strseb strseb marked this pull request as ready for review August 28, 2024 12:48
@strseb strseb requested a review from oskirby August 28, 2024 12:48
@strseb strseb changed the title wip try to scheudle a reboot on w10 VPN-6448 try to scheudle a reboot on w10 Aug 28, 2024
Copy link
Collaborator

@oskirby oskirby left a comment

Choose a reason for hiding this comment

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

I guess we don't technically need to solve this now, but as-written this installer file will always reboot for Windows 10 users. However, in the future when users are upgrading say from 2.24 -> 2.25 that reboot is no longer required, but the installer will still force it.

In order to minimize inconvenience to our users, it would be nice if this reboot could be made conditional upon the previously installed VPN version.

<Custom Action="LaunchVPNFirstExecution" After="InstallFinalize">NOT WIX_UPGRADE_DETECTED</Custom>
<Custom Action="LaunchVPNAfterUpdate" After="InstallFinalize">WIX_UPGRADE_DETECTED</Custom>
<!-- This will schedule a reboot only if the OS is Windows 10 -->
<ScheduleReboot After="InstallFinalize">
Copy link
Collaborator

Choose a reason for hiding this comment

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

As I understand this, it will schedule a reboot after both fresh installs and upgrades even though we only need it on upgrades. It's not really the worst outcome, just inconvenient.

@strseb
Copy link
Collaborator Author

strseb commented Sep 2, 2024

I guess we don't technically need to solve this now, but as-written this installer file will always reboot for Windows 10 users. However, in the future when users are upgrading say from 2.24 -> 2.25 that reboot is no longer required, but the installer will still force it.

Ah dang i filed it against main, i actually just wanted this to land on the 2.24 branch.

@strseb strseb changed the base branch from main to releases/2.24.0 September 2, 2024 11:51
@strseb strseb requested a review from a team as a code owner September 2, 2024 11:51
@strseb strseb requested review from ahal and removed request for a team September 2, 2024 11:51
@strseb strseb removed the request for review from ahal September 2, 2024 11:51
@strseb strseb changed the title VPN-6448 try to scheudle a reboot on w10 VPN-6448 try to scheudle a reboot on w10 (2.24 only) Sep 2, 2024
@strseb strseb merged commit 1d2cd66 into releases/2.24.0 Sep 2, 2024
25 of 38 checks passed
@strseb strseb deleted the basti/w10reboot branch September 2, 2024 11:55
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.

2 participants