mirror of
https://github.com/Set-OutlookSignatures/Set-OutlookSignatures.git
synced 2026-04-26 10:45:52 +03:00
[GH-ISSUE #80] Wrong version of Word detected #27
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Set-OutlookSignatures-Set-OutlookSignatures#27
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Imaginos on GitHub (Jun 5, 2023).
Original GitHub issue: https://github.com/Set-OutlookSignatures/Set-OutlookSignatures/issues/80
Originally assigned to: @Imaginos on GitHub.
Hi Markus
On a TSE server, I have an issue with only one user, here's the log :
`**********************
Début de la transcription Windows Powershell
Heure de début : 20230605113727
Nom d'utilisateur : DOMAINE\d.xxxx
Utilisateur runAs : DOMAINE\d.xxxx
Ordinateur : TSE2016AA (Microsoft Windows NT 10.0.14393.0)
Application hôte : powershell.exe -WindowStyle Hidden -ExecutionPolicy ByPass -File C:\Logiciels\Scripts\Signatures.ps1
ID de processus : 19032
PSVersion: 5.1.14393.5127
PSEdition: Desktop
PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.14393.5127
BuildVersion: 10.0.14393.5127
CLRVersion: 4.0.30319.42000
WSManStackVersion: 3.0
PSRemotingProtocolVersion: 2.3
SerializationVersion: 1.1.0.1
Transcription démarrée, le fichier de sortie est C:\Users\d.xxxx\Signatures.log
OK : Settings disponible
ATTENTION : Lancement manuel
OK : Script disponible
OK : Fichier ini disponible
OK : Fichier de remplacement disponible
OK : Dosier des template disponible
OK : Dossier OOF disponible
OK : Fichier ini des OOF disponible
OK : Modèle de signature disponible
ATTENTION : L'image sera integrée
OK : Word et Outlook sont présents
OK : Donnée OK pour la valeur HKCU:\SOFTWARE\Microsoft\Office\16.0\Outlook\Options\Mail\Send Pictures With Document
ATTENTION : Mise à jour de la signature nécessaire
Start script @2023-06-05T11:37:28+02:00@
Script notes @2023-06-05T11:37:28+02:00@
Script : Set-OutlookSignatures
Version: v3.5.1
Web : https://github.com/GruberMarkus/Set-OutlookSignatures
License: MIT license (see '.\docs\LICENSE.txt' for details and copyright)
Check parameters and script environment @2023-06-05T11:37:28+02:00@
PowerShell: '5.1.14393.5127', 'Desktop'
PowerShell bitness: 64-bit process on a 64-bit operating system
PowerShell parameters: ' & $Script.f_OutlookSignatures -EmbedImagesInHTML $EmbedImagesInHTML -SetCurrentUserOOFMessage $false -SignatureTemplatePath $Script.d_templates -OOFTemplatePath $Script.d_OOF -SignatureIniPath $Script.f_Template_Ini -OOFIniPath $Script.f_OOF_Ini -ReplacementVariableConfigFile $Script.f_replacement -GraphConfigFile $Script.f_GraphConfigFile
'
Script path: 'C:\Logiciels\Set-OutlookSignatures\Set-OutlookSignatures.ps1'
TrustsToCheckForGroups: '*'
IncludeMailboxForestDomainLocalGroups: 'False'
SignatureTemplatePath: '\mercure\partage\Applicatifs\MAILS\Signatures'
SignatureIniPath: '\domaine.local\NETLOGON\Set-OutlookSignatures\INI\signatures.ini'
SetCurrentUserOutlookWebSignature: 'True'
SetCurrentUserOOFMessage: 'False'
UseHtmTemplates: 'False'
GraphOnly: 'False'
GraphConfigFile: 'C:\Logiciels\Set-OutlookSignatures\config\default graph config.ps1'
GraphCredentialFile: ''
ReplacementVariableConfigFile: '\domaine.local\NETLOGON\Set-OutlookSignatures\config\replacement variables - LaNormandise.ps1'
EmbedImagesInHtml: 'True'
CreateRtfSignatures: 'True'
CreateTxtSignatures: 'True'
DeleteUserCreatedSignatures: 'False'
DeleteScriptCreatedSignaturesWithoutTemplate: 'True'
SignaturesForAutomappedAndAdditionalMailboxes: 'True'
AdditionalSignaturePath: 'C:\Users\d.xxx\Documents\Outlook Signatures'
SimulateUser: ''
SimulateMailboxes: ''
Get basic Outlook and Word information @2023-06-05T11:37:28+02:00@
Outlook
Registry version: 16.0
File version: 16.0.5257.1000
Bitness: x86
Default profile: Outlook
Is C2R Beta: False
DisableRoamingSignaturesTemporaryToggle: 0
Word
Word version 12.0.0.0 is older than Word 2010 and not supported. Please inform your administrator. Exit.
Clean-up @2023-06-05T11:37:29+02:00@
End script @2023-06-05T11:37:29+02:00@
Fin de la transcription Windows PowerShell
Heure de fin : 20230605113729
`
Office 2016 Standard is installed
@GruberMarkus commented on GitHub (Jun 5, 2023):
Hi @Imaginos,
Set-OutlookSignatures queries the registry key HKEY_CLASSES_ROOT\Word.Application\CurVer to find out which version of Word is installed according to registry entries.
Please check this key for existence and content. If it does not exist or not have the value "Word.Application.16", please try to repair your Office 2016 installation. Do not just create the registry key or copy it from another system.
There are other keys Set-OutlookSignatures queries to find winword.exe in the file system and to log its file version. These keys should also exist:
@Imaginos commented on GitHub (Jun 5, 2023):
In HKEY_CLASSES_ROOT\Word.Application\CurVer , I find Word.Application.16.
But in HKEY_CLASSES_ROOT\CLSID{000209FF-0000-0000-C000-000000000046}\ there is no "LocalServer32" key but only "InprocServer32".
@GruberMarkus commented on GitHub (Jun 5, 2023):
Please run the following PowerShell Code and post the output:
It could be a problem with an older Set-OutlookSignatures version. You use v3.5.1, while there is v3.6.1 available.
@Imaginos commented on GitHub (Jun 5, 2023):
Here's the result :
`(default) : Word.Application.16
PSPath : Microsoft.PowerShell.Core\Registry::HKEY_CLASSES_ROOT\Word.Application\CurVer
PSParentPath : Microsoft.PowerShell.Core\Registry::HKEY_CLASSES_ROOT\Word.Application
PSChildName : CurVer
PSProvider : Microsoft.PowerShell.Core\Registry
WordRegistryVersion: 16.0.0.0
WordFilePath: C:\PROGRA
2\MICROS1\Office16\WINWORD.EXE`I know about v 3.6.1 but it creates oversized pictures and I didn't had the time to raise a ticket about it.
So, I can't use this version (idem with 3.6.0)
@GruberMarkus commented on GitHub (Jun 5, 2023):
I don't see a problem with the output of the PowerShell Code above. It's basically the same that raises the error you documented in your first post.
v3.6.1 does not produce oversized images itself, it is Word doing that. Please give v3.6.1 a try:
@Imaginos commented on GitHub (Jun 5, 2023):
It's a bit hard to test because I must use a specific user account.
On this server all other accounts work great.
The issue appears with only one (over 30 used on this machine)
@Imaginos commented on GitHub (Jun 5, 2023):
Concerning the image size, I wonder why this wasn't a problem until v 3.6.
I won't upgrade because of this.
It will be much annoying to resize precisely the pictures in a software before integrating them in the docx as Word can do the resize and moreover because it work with the previous versions.
It's a sad regression.
@GruberMarkus commented on GitHub (Jun 5, 2023):
It is not a regression. The timeline is as follows:
@GruberMarkus commented on GitHub (Jun 5, 2023):
Oh, that's important and new information.
That makes the error user specific, and there will be no way around testing with the problematic user. Maybe its a registry permission problem?
@Imaginos commented on GitHub (Jun 5, 2023):
For the image : I saw a first information in the FAQ and I didn't go to the specific section. My bad, i'm gonna check this.
For the specific user :
I mentionned it in the first post :)
I also bet it's a registry issue...
@GruberMarkus commented on GitHub (Jun 5, 2023):
Then we both overread something and are even. :)
Regarding the registry issue: Have the user run the code I send you before. I guess you will receive an error message, which hopefully contains details.
@Imaginos commented on GitHub (Jun 5, 2023):
For the user, I may have an explaination.
The user has installed a fu*** app called WPS Office, you may have heard about it.
It sets in the appdata roaming subfolder and creates a mess in Office install.
We will first try to act on this (wich means removing the profile folder and key).
I'll let you know :)
@GruberMarkus commented on GitHub (Jun 7, 2023):
Hi @Imaginos,
could you solve the problem?
@Imaginos commented on GitHub (Jun 8, 2023):
Hi Markus
I asked the support to reset the user profile on the TSE.
It hasn't been done yet, so I can't confirm.
Dont' worry, as soon as it's done, I'll report here :)
@GruberMarkus commented on GitHub (Jun 16, 2023):
Hi @Imaginos,
could you check HKCU\Software\Classes\Word.Application\CurVer?
@GruberMarkus commented on GitHub (Jun 19, 2023):
Closing issue due to inactivity.
@Imaginos can re-open this issue anytime when new information is available.