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

Support the installation of Microsoft office 32-Bit #11918

Closed
beehivedevslc opened this issue May 3, 2021 · 21 comments
Closed

Support the installation of Microsoft office 32-Bit #11918

beehivedevslc opened this issue May 3, 2021 · 21 comments
Labels
Area-External Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work.
Milestone

Comments

@beehivedevslc
Copy link

Description of the new feature/enhancement

Support the installations of Microsoft office 32-bit

Proposed technical implementation details (optional)

@beehivedevslc beehivedevslc added the Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. label May 3, 2021
@ghost ghost added the Needs: Triage label May 3, 2021
@OfficialEsco
Copy link
Contributor

Hey! Try now :)

@beehivedevslc
Copy link
Author

will it be listed as Microsoft.Office32bit?
If I do a "winget search Microsoft. " I only see the original microsoft.office package.
I assume that the 32-bit installer will be listed as microsoft.office32bit or something along those lines....

@OfficialEsco
Copy link
Contributor

OfficialEsco commented May 3, 2021

No, WinGet will Install the architecture for your system, when it's x64 you cannot install the package on a x32 system, if it's x86 it will work for both, if it's neutral the installer contains both the x32 and x64 version and will install the suitable architecture for your PC.

Microsoft.Office is the one you should install, do a WinGet source update incase it's not updated for you yet.

@beehivedevslc
Copy link
Author

The installer should allow the end-user to specify which version (32 or 64 bit) should be installed.

Or in this case, Im proposing for there to be a separate 32 bit installer, I do understand the architecture limitations and all, but there are specific scenarios where the 32 bit installer is necessary (mainly compatibility with other programs)

@OfficialEsco
Copy link
Contributor

Ok, @denelon i agree with the architecture switch suggestion.

However in this case we cannot force a installer to install a different architecture if the installer don't have the switches for it. If there was a different installer there would be a x64 and x86 InstallerURL in the manifest.

@OfficialEsco
Copy link
Contributor

Denelon already made a Feature Request about this that the search function didn't lead me to.. microsoft/winget-cli#906

@denelon
Copy link
Contributor

denelon commented May 4, 2021

I've reached out internally to see if there is a plan for a 32-bit installer that would work with the Windows Package Manager. I'm not sure if that's on the roadmap or not. The one currently in the repository is the result of a fix-hack-learn project. Hopefully, there will be more goodness to come 😄

@beehivedevslc
Copy link
Author

Great! Thank you for the info @denelon

@lychichem
Copy link
Contributor

So, if I change the InstallerSwitches and point the configure file to a custom configure file, I can select the components to install and install Microsoft Office 365 Home using this winget package?

@OfficialEsco
Copy link
Contributor

So, if I change the InstallerSwitches and point the configure file to a custom configure file, I can select the components to install and install Microsoft Office 365 Home using this winget package?

You should be able to do winget intall Microsoft.Office --override "https://LinkToFileSharingDomain.com/officehome.xml"
After checking out https://config.office.com/deploymentsettings it seems like we should be able to make a x64 and x86 InstallerSwitch AND tons of locales, but we would need a official Microsoft website to store all these xml's.

@denelon do you know if there is any more cloudconfigs available?

@lychichem
Copy link
Contributor

lychichem commented May 5, 2021

So, if I change the InstallerSwitches and point the configure file to a custom configure file, I can select the components to install and install Microsoft Office 365 Home using this winget package?

You should be able to do winget intall Microsoft.Office --override "https://LinkToFileSharingDomain.com/officehome.xml"
After checking out https://config.office.com/deploymentsettings it seems like we should be able to make a x64 and x86 InstallerSwitch AND tons of locales, but we would need a official Microsoft website to store all these xml's.

@denelon do you know if there is any more cloudconfigs available?

We can just use Microsoft 365 Apps Admin Center to create those configure files. The problem is we need to find a place to store them.

@jedieaston
Copy link
Contributor

jedieaston commented May 5, 2021

Once the spec is out for custom repos, this wouldn't be a hard feature to add as an additional endpoint.

In the meantime, you could store it as a GitHub Gist if there isn't secrets in your config (like company name or product keys or whatever).

@denelon
Copy link
Contributor

denelon commented May 5, 2021

@denelon Demitrius Nelon FTE do you know if there is any more cloudconfigs available?

@OfficialEsco I'll ask about other cloudconfigs.

@lychichem
Copy link
Contributor

Once the spec is out for custom repos, this wouldn't be a hard feature to add as an additional endpoint.

In the meantime, you could store it as a GitHub Gist if there isn't secrets in your config (like company name or product keys or whatever).

Actually I have generated one, because I need to use and only use Word, PowerPoint and Excel from Office 365 home, so I just want to install these three components, however the installer from MS don't let me select.

@denelon
Copy link
Contributor

denelon commented May 6, 2021

So, if I change the InstallerSwitches and point the configure file to a custom configure file, I can select the components to install and install Microsoft Office 365 Home using this winget package?

It’s possible to build your own cloudconfig. You could then override the switches with winget install Microsoft.Office --override “/configure <path to your cloudconfig>”. I haven’t tested this so your mileage may vary.

@MattBDev
Copy link
Contributor

MattBDev commented May 7, 2021

It would be even cooler is Office could be deployed using MSIX. Obviously, that's outside of the scope of this issue and the winget team but I only hope that someone will see this and pass the message along.

@denelon
Copy link
Contributor

denelon commented May 7, 2021

I've shared the feedback and a link to this Issue with them.

@denelon denelon added this to the Backlog - Packages milestone May 21, 2021
@MatthiasDE
Copy link

MatthiasDE commented Nov 28, 2021

Hi there, but the given version is anyhow just for enterprises, isn't it? What is with microsoft single / family?

Search just shows a deployment or enterprise version.

C:\Users\xxxxx>winget search "microsoft.office"
Name ID Version Quelle
Microsoft 365 Apps for enterprise Microsoft.Office 16.0.14527.20276 winget
Office Deployment Tool Microsoft.OfficeDeploymentTool 16.0.14527.20178 winget

Or is the comment from lychichem with the home-version .xml also valid for this? If so, yes then please also pass over that all versions are included and the enterprise is taken away - that confuses maximum ;)..

@lychichem
Copy link
Contributor

lychichem commented Nov 28, 2021

Hi there, but the given version is anyhow just for enterprises, isn't it? What is with microsoft single / family?

Search just shows a deployment or enterprise version.

C:\Users\xxxxx>winget search "microsoft.office" Name ID Version Quelle Microsoft 365 Apps for enterprise Microsoft.Office 16.0.14527.20276 winget Office Deployment Tool Microsoft.OfficeDeploymentTool 16.0.14527.20178 winget

Or is the comment from lychichem with the home-version .xml also valid for this? If so, yes then please also pass over that all versions are included and the enterprise is taken away - that confuses maximum ;)..

Yes, my config file is for Office 365 home 64-bit zh-CN version. Feel free to use it. The key is you need to set Product ID="O365HomePremRetail". You can change Language ID to other value to install office in other languages.

However, I don't quite agree with your opinion for removing enterprise. That is, by default, the deployer is for enterprise use. I'm using it in an unusual way. So, if you have special demand, I suggest building a custom configure file just for you.

@jedieaston
Copy link
Contributor

You should be able to sign in to that version of Office anyway and it'll adjust your license. You'll have apps you can't use maybe (Publisher/Access) but it'll work I think.

@denelon
Copy link
Contributor

denelon commented Nov 1, 2023

Both architectures are present in the manifest.

You can use the "--architecture" argument to specify x86 or x64

@denelon denelon closed this as completed Nov 1, 2023
@denelon denelon removed this from the Backlog-Pipelines milestone Nov 1, 2023
@denelon denelon added this to the 1.7 Packages milestone Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-External Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work.
Projects
None yet
Development

No branches or pull requests

7 participants