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

Check for 32-bit architecture in detection script for adding support for upgrading from x86 to x64 #9

Open
emifo opened this issue May 10, 2023 · 1 comment

Comments

@emifo
Copy link

emifo commented May 10, 2023

Suggestion to add detection for x86 in detection script to support upgrading:

$PlatformRegistryKey = Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Office\ClickToRun\Configuration"

Then add check in the if statement:

if ($M365AppsCheck -and ($PlatformRegistryKey.Platform -eq "x64")) {
Write-LogEntry -Value "Microsoft 365 Apps detected OK" -Severity 1
Write-Output "Microsoft 365 Apps Detected"
Exit 0
}else{
Write-LogEntry -Value "Microsoft 365 Apps not detected" -Severity 2
Exit 1
}

@carvan
Copy link

carvan commented Oct 16, 2023

I just added this check to the detection script. I think too it is very useful.

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

No branches or pull requests

2 participants