Comments (9)
Sorry, I don't usually work with C# projects, so I haven't really made it easy to work with properly
Thanks
from discordforoffice.
I couldn't see an obvious way to do this. However, Microsoft have a rather complex vbs script available which purports to reliably differentiate between office products, might be worth a look:
https://gallery.technet.microsoft.com/office/68b80aba-130d-4ad4-aa45-832b1ee49602
from discordforoffice.
Hey @7coil,
I'm trying to work on this issue for #hacktoberfest, however, I can't seem to get the project building.
To reproduce:
- Clone the repo
- Open in VS2019
- Attempt to build project
- I've attempted to disable the
ClickOnce
signing but this doesn't work. Is there a temp certificate that needs to be included?
from discordforoffice.
Yeah, try a temporary certificate
from discordforoffice.
@DannyAllegrezza good luck, i had a go with this the other day, I'm interested to see how/if you solve it.
I've posted a question to one of the microsoft forums, MSDN docs indicate that a few of the versions will report the same version numbers, and I hadn't found a nice way to reliably differentiate the app versions via alternate means, so admitted defeat for the time being.
from discordforoffice.
Yeah, try a temporary certificate
Can you provide some reference on how to generate one/getting project compiling? I'm glad to open a PR to update the docs but as of right now I don't know how to get it building.
from discordforoffice.
Nevermind, I figured it out. Was right in front of me earlier but had never run into this problem. You may want to consider removing the .pfx
files from the repository, or actually adding them to the project.
from discordforoffice.
I've been poking around in the registry and found something that might help...
[HKEY_USERS\S-1-5-21-369044061-3658407648-47840922-1001\Software\Microsoft\Office\16.0\Common\Licensing\BootTimeSkuOverride]
"{C4ACE6DB-AA99-401F-8BE6-8784BD09F003}"="{149DBCE7-A48E-44DB-8364-A53386CD4580}"
"{3CFF5AB2-9B16-4A31-BC3F-FAD761D92780}"="{149DBCE7-A48E-44DB-8364-A53386CD4580}"
"{7C6D92EF-7B45-46E5-8670-819663220E4E}"="{149DBCE7-A48E-44DB-8364-A53386CD4580}"
"{7ECBF2AA-14AA-4F89-B9A5-C064274CFA83}"="{149DBCE7-A48E-44DB-8364-A53386CD4580}"
"{DC5CCACD-A7AC-4FD3-9F70-9454B5DE5161}"="{149DBCE7-A48E-44DB-8364-A53386CD4580}"
"{E0A76492-0FD5-4EC2-8570-AE1BAA61DC88}"="{149DBCE7-A48E-44DB-8364-A53386CD4580}"
It seems like the product SKU of office is being overwritten with another SKU, that being 149DBCE7-A48E-44DB-8364-A53386CD4580
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\REGISTRY\MACHINE\Software\Microsoft\Office\16.0\Registration\{149DBCE7-A48E-44DB-8364-A53386CD4580}]
"ProductName"="Microsoft 365 Apps for enterprise"
"ProductNameBrand"="Microsoft 365 Apps for enterprise"
"SuiteName"="Part of Microsoft 365 Apps for enterprise"
The name is just there to be used by DiscordForOffice yum yum
from discordforoffice.
Looks like it's (kinda) working, but I don't have standalone versions of 2016 and 2019 to help try this out.
from discordforoffice.
Related Issues (20)
- Detect Word Document Close HOT 10
- Detected as harmful by Microsoft Edge? HOT 1
- Support for Microsoft Access HOT 1
- Doesn't work despite adding to trusted sites HOT 1
- Spell checking panel pauses HOT 7
- Support for Microsoft Teams HOT 2
- RFC: Outlook Functionality HOT 6
- OneNote Functionality HOT 1
- new installer does not work HOT 1
- Support for Win32 OneNote HOT 3
- Not a single version of DiscordForOffice detecting any Office application HOT 2
- Support for Visio HOT 1
- It just doesn't work...? HOT 5
- Doesnt work HOT 1
- Microsoft Office Not Active
- Version of Microsoft Office HOT 1
- How to disable for outlook ? HOT 1
- Microsoft Word becomes unresponsive when loading larger documents with the plugin enabled
- Bug on Editing Page for Microsoft Word
- Discord Rich Presence configuration
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from discordforoffice.