WunderIP Chat for Word - Technical Documentation
Last updated January 2025
Word Add-in Types: Native (VSTO) vs. Web-Based (Office.js)
Microsoft supports two fundamentally different approaches for building Word add-ins. This section explains the differences and why WunderIP Chat uses the native approach.
Comparison Overview
| Aspect | Native (VSTO/COM) | Web-Based (Office.js) |
|---|---|---|
| Technology | .NET Framework, C#, COM | HTML, CSS, JavaScript |
| Configuration | Registry + COM registration | manifest.xml |
| Platform Support | Windows only | Windows, Mac, Web, iOS, Android |
| Office API Access | Full Office Object Model | Limited JavaScript API subset |
| Local System Access | Full (file system, registry, processes) | Sandboxed (no direct access) |
| Deployment | MSI, GPO, SCCM, Intune | Microsoft 365 Admin Center, SharePoint catalog, sideloading |
| Updates | Requires reinstallation | Automatic (hosted web app) |
| Offline Capability | Full functionality possible | Limited (requires web hosting) |
| Performance | Native performance | Browser runtime overhead |
Native Add-ins (VSTO/COM)
Advantages:
- Full Office Object Model access — Complete control over Word documents, including advanced features like content controls, building blocks, and custom XML parts
- Local system integration — Can read/write files, access registry, spawn processes, and integrate with other desktop applications
- No sandboxing limitations — Full .NET Framework capabilities including any NuGet package
- Better performance — Native code execution without browser runtime overhead
- Ribbon customization — Full control over Office ribbon with complex UI patterns
- No external hosting required — Runs entirely on the user's machine
Disadvantages:
- Windows only — No support for Mac, web, or mobile versions of Office
- Complex deployment — Requires MSI packaging, COM registration, and enterprise deployment tools
- Manual updates — Users must install new versions manually or via IT deployment
- Higher IT overhead — More complex troubleshooting and management
Web-Based Add-ins (Office.js)
Advantages:
- Cross-platform — Single codebase works on Windows, Mac, Office Online, iOS, and Android
- Easy deployment — Deploy via Microsoft 365 admin center or SharePoint; no client-side installation
- Automatic updates — Update the hosted web app, all users get changes immediately
- Modern web stack — Use React, Vue, or any JavaScript framework
- Lower IT burden — No registry, COM, or MSI complexity
Disadvantages:
- Limited API surface — JavaScript API covers only ~60-70% of Word's capabilities
- Sandboxed environment — Cannot access local files, registry, or other applications
- Web hosting required — Must maintain a web server for the add-in UI
- Performance constraints — Browser-based runtime adds latency
- Task pane limitations — Less flexibility in UI placement and interaction patterns
- Offline limitations — Requires internet to load the add-in (even if cached)
Why WunderIP Chat Uses Native (VSTO)
WunderIP Chat is built as a native VSTO add-in for the following reasons:
- Full Document Access — Patent drafting requires deep integration with Word's document model, including track changes, comments, and complex formatting that the Office.js API doesn't fully support
- Local File Handling — The context file attachment feature needs direct file system access to read PDFs and other documents from the user's machine without upload workflows
- WebView2 Integration — The native approach allows embedding Microsoft Edge WebView2 for a rich, modern UI while maintaining full Office integration
- Enterprise Environment — Law firms and IP departments primarily use Windows desktops with Microsoft 365/Office 2019+, making cross-platform support less critical
- Performance — AI-assisted patent drafting involves processing large documents; native performance ensures responsive user experience
- Security Requirements — Enterprise customers often prefer locally-installed software over web-hosted add-ins for sensitive patent work
- Exchange Online Dependency — Web-based Office add-ins are distributed through Exchange Server and require Exchange Online (Microsoft 365). Many law firms, IP departments, and high-security organizations run Exchange on-premises, which does not support centralized web add-in deployment. Native add-ins have no such dependency and work regardless of the email/collaboration infrastructure.
Introduction
WunderIP Chat is a Microsoft Word add-in that provides AI-powered assistance for patent drafting and prosecution. This documentation is intended for IT administrators and technical staff at law firms and IP departments responsible for deploying and managing the add-in.
Key Features
- Native Microsoft Word ribbon integration
- AI-powered patent drafting assistance
- Claim consistency checking
- Prior art search and analysis
- Document summarization
- Track changes integration
- Context file attachment (PDF, Word, text files)
- Secure OTP-based authentication
System Requirements
| Component | Requirement |
|---|---|
| Operating System | Windows 10 (1903+) or Windows 11 |
| Architecture | x64 |
| Microsoft Office | Microsoft 365, Office 2019, or Office 2021 (Desktop) |
| .NET Framework | 4.8 or later |
| WebView2 Runtime | Microsoft Edge WebView2 Runtime |
| Internet | Required for AI features |
Hardware Requirements
| Component | Minimum | Recommended |
|---|---|---|
| RAM | 4 GB | 8 GB+ |
| Disk Space | 100 MB | 200 MB |
| Display | 1280x720 | 1920x1080+ |
Network Requirements
The add-in requires internet connectivity to communicate with WunderIP services:
| Endpoint | Port | Purpose |
|---|---|---|
chat.wunder-ip.com | 443 (HTTPS) | Web application UI |
*.supabase.co | 443 (HTTPS) | Authentication & API |
Installation
Installation Methods
WunderIP Chat can be installed using one of the following methods:
| Method | Best For | Admin Rights |
|---|---|---|
| MSI Installer | Enterprise deployment (GPO, SCCM, Intune, Baramundi) | Not required (per-user) |
| PowerShell Scripts | Manual installation / testing | Not required |
Prerequisites
Before installing WunderIP Chat, ensure the following prerequisites are met:
1. .NET Framework 4.8
The add-in requires .NET Framework 4.8. This is included by default in:
- Windows 10 version 1903 and later
- Windows 11
To verify installation:
# Check .NET Framework version
(Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full").Release -ge 528040If not installed, download from: https://dotnet.microsoft.com/download/dotnet-framework/net48
2. Microsoft Edge WebView2 Runtime
The add-in uses WebView2 for its user interface. WebView2 is included by default in:
- Windows 11
- Windows 10 with Microsoft Edge installed
To verify installation:
# Check WebView2 installation
Get-ItemProperty "HKLM:\SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate\Clients\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}" -ErrorAction SilentlyContinueIf not installed, download the Evergreen Bootstrapper from: https://developer.microsoft.com/en-us/microsoft-edge/webview2/
3. Microsoft Word
Ensure Microsoft Word is installed and activated:
- Microsoft 365 (Desktop version, not web)
- Office 2019 or Office 2021
MSI Installation (Recommended)
Interactive Installation
- Download
WunderIPChat-x.x.x.msifrom the releases page - Double-click the MSI file
- Follow the installation wizard
- Restart Microsoft Word
Silent Installation
For unattended deployment:
# Silent install
msiexec /i WunderIPChat-1.0.0.msi /qn
# Silent install with logging
msiexec /i WunderIPChat-1.0.0.msi /qn /l*v "%TEMP%\WunderIPChat_Install.log"
# Silent install to custom location
msiexec /i WunderIPChat-1.0.0.msi /qn INSTALLFOLDER="C:\Program Files\WunderIPChat"Installation Verification
After installation, verify the add-in is registered:
# Check registry entry
Get-ItemProperty "HKCU:\Software\Microsoft\Office\Word\Addins\WunderIPChat.Connect"Expected output:
FriendlyName : WunderIP Chat
Description : WunderIP Chat - AI-powered patent drafting assistant
LoadBehavior : 3Group Policy Deployment (GPO)
For domain-joined computers, deploy via Group Policy:
- Copy the MSI to a network share accessible by target computers
- Open Group Policy Management Console (GPMC)
- Create or edit a GPO linked to the target OU
- Navigate to:
User Configuration > Policies > Software Settings > Software Installation - Right-click and select "New > Package"
- Browse to the network share and select the MSI
- Choose "Assigned" for mandatory installation
%LocalAppData%), use User Configuration rather than Computer Configuration.Microsoft Intune Deployment
Line-of-Business App
- Sign in to the Microsoft Endpoint Manager admin center
- Navigate to:
Apps > Windows > Add - Select app type: Line-of-business app
- Upload the MSI file
- Configure app information:
- Name: WunderIP Chat for Word - Publisher: Wunder-IP - Category: Productivity
- Set install command:
msiexec /i "WunderIPChat-1.0.0.msi" /qn - Set uninstall command:
msiexec /x {ProductCode} /qn - Detection rules: MSI product code or registry key
- Assign to users/groups
Detection Rule (Registry)
Key path: HKEY_CURRENT_USER\Software\Microsoft\Office\Word\Addins\WunderIPChat.Connect
Value name: LoadBehavior
Value: 3SCCM Deployment
Create Application
- Open Configuration Manager Console
- Navigate to:
Software Library > Application Management > Applications - Create Application > Manually specify application information
- Add deployment type: Windows Installer (MSI)
- Configure:
- Installation program: msiexec /i WunderIPChat-1.0.0.msi /qn - Uninstall program: msiexec /x WunderIPChat-1.0.0.msi /qn - Installation behavior: Install for user - Detection method: Registry (see above)
Baramundi Management Suite Deployment
For organizations using Baramundi Management Suite:
Create Application
- Open Baramundi Management Center
- Navigate to:
Software > Applications - Right-click and select "New Application"
- Configure application settings:
- Name: WunderIP Chat for Word - Manufacturer: Wunder-IP - Version: 1.0.0
Installation Job
- Add a new installation job to the application
- Configure:
- Installation type: MSI Package - MSI file: Upload or reference WunderIPChat-1.0.0.msi - Installation parameters: /qn - Uninstall parameters: /x {ProductCode} /qn
Job Options
Installation command: msiexec /i "WunderIPChat-1.0.0.msi" /qn /l*v "%TEMP%\WunderIPChat_Install.log"
Uninstall command: msiexec /x "WunderIPChat-1.0.0.msi" /qn
User context: Current user (per-user installation)Detection Rule
Configure a registry-based detection rule:
| Setting | Value |
|---|---|
| Registry hive | HKEY_CURRENT_USER |
| Key path | Software\Microsoft\Office\Word\Addins\WunderIPChat.Connect |
| Value name | LoadBehavior |
| Detection method | Value exists and equals 3 |
Deployment
- Create a job targeting the desired endpoints or user groups
- Since the MSI installs per-user, ensure jobs run in user context
- Schedule deployment or push immediately
- Monitor job status in the Baramundi dashboard
PowerShell Installation (Manual)
For testing or small deployments without MSI:
Installation
- Extract the installation package to a permanent location (e.g.,
C:\Program Files\WunderIPChat) - Run the install script as Administrator:
# Navigate to installation folder
cd "C:\Program Files\WunderIPChat"
# Run install script
.\Install.ps1What the Script Does
The PowerShell install script performs the following:
- COM Registration: Registers the DLL with
RegAsm.exe /codebase /tlb - Registry Entries: Creates Office add-in discovery keys in
HKCU - No Admin Required: Uses HKCU (per-user) instead of HKLM (per-machine)
Configuration
Installation Location
The MSI installs to the following location:
%LocalAppData%\WunderIP\WunderIPChat\Example:
C:\Users\JohnDoe\AppData\Local\WunderIP\WunderIPChat\Installed Files
| File | Purpose |
|---|---|
WunderIPChat.dll | Main add-in assembly |
WunderIPChat.tlb | COM type library |
Microsoft.Web.WebView2.*.dll | WebView2 managed libraries |
WebView2Loader.dll | WebView2 native loader |
Extensibility.dll | Office extensibility support |
Registry Keys
Add-in Registration
HKCU\Software\Microsoft\Office\Word\Addins\WunderIPChat.Connect| Value | Type | Data | Description |
|---|---|---|---|
FriendlyName | REG_SZ | WunderIP Chat | Display name in Word |
Description | REG_SZ | ... | Add-in description |
LoadBehavior | REG_DWORD | 3 | Auto-load on startup |
LoadBehavior Values
| Value | Behavior |
|---|---|
| 0 | Unloaded, do not auto-load |
| 1 | Loaded, do not auto-load |
| 2 | Unloaded, auto-load |
| 3 | Loaded, auto-load (default) |
| 8 | Unloaded, load on demand |
| 9 | Loaded, load on demand |
| 16 | Load first time, then on demand |
COM Registration
HKCU\Software\Classes\CLSID\{A1B2C3D4-E5F6-7890-ABCD-EF1234567891}
HKCU\Software\Classes\WunderIPChat.ConnectUser Data Location
User-specific data and logs are stored in:
%LocalAppData%\WunderIPChat\| File/Folder | Purpose |
|---|---|
addin.log | Debug log file |
WebView2\ | WebView2 user data (cache, cookies) |
User Authentication
OTP-Based Login
WunderIP Chat uses email-based one-time password (OTP) authentication:
- User clicks "Sign In" in the Word ribbon
- Enters their email address
- Receives a 6-digit code via email
- Enters the code to complete authentication
Session Management
- Sessions persist until explicit logout
- Tokens are automatically refreshed
- Multiple devices can be signed in simultaneously
SSO / Enterprise Authentication
Contact WunderIP support for enterprise SSO integration options:
- SAML 2.0
- OAuth 2.0 / OIDC
- Azure AD integration
Updating
Automatic Updates
Currently, the add-in does not include automatic updates. Updates require manual installation of a new MSI.
Manual Update Process
- Download the latest MSI from the releases page
- Install over the existing version:
``powershell msiexec /i WunderIPChat-x.x.x.msi /qn ``
- Restart Microsoft Word
The MSI supports major upgrades - previous versions are automatically removed.
Enterprise Update Workflow
For enterprise deployments:
- Test new version in a pilot group
- Update the MSI in your deployment share/Intune
- Deploy to production users
- Verify via registry or log files
Uninstallation
Via Windows Settings
- Open Windows Settings > Apps > Installed Apps
- Search for "WunderIP Chat"
- Click "Uninstall"
Via MSI (Silent)
# Uninstall by product name
$app = Get-WmiObject -Class Win32_Product | Where-Object { $_.Name -eq "WunderIP Chat for Word" }
$app.Uninstall()
# Or via msiexec with product code
msiexec /x {ProductCode} /qnVia PowerShell Scripts
If installed via PowerShell scripts:
cd "C:\Program Files\WunderIPChat"
.\Uninstall.ps1Manual Cleanup
If uninstallation fails, manually remove:
- Delete installation folder:
%LocalAppData%\WunderIP\WunderIPChat\ - Delete user data:
%LocalAppData%\WunderIPChat\ - Remove registry keys:
``powershell Remove-Item "HKCU:\Software\Microsoft\Office\Word\Addins\WunderIPChat.Connect" -Force Remove-Item "HKCU:\Software\Classes\WunderIPChat.Connect" -Recurse -Force Remove-Item "HKCU:\Software\Classes\CLSID\{A1B2C3D4-E5F6-7890-ABCD-EF1234567891}" -Recurse -Force ``
Troubleshooting
Add-in Not Loading
Check if Add-in is Disabled
- Open Word
- Go to File > Options > Add-ins
- At the bottom, select "Disabled Items" from the Manage dropdown
- Click "Go..."
- If WunderIP Chat is listed, select it and click "Enable"
Check LoadBehavior
Get-ItemProperty "HKCU:\Software\Microsoft\Office\Word\Addins\WunderIPChat.Connect"If LoadBehavior is 0 or 2, reset to 3:
Set-ItemProperty "HKCU:\Software\Microsoft\Office\Word\Addins\WunderIPChat.Connect" -Name "LoadBehavior" -Value 3Re-register COM Assembly
$assemblyPath = "$env:LOCALAPPDATA\WunderIP\WunderIPChat\WunderIPChat.dll"
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\RegAsm.exe $assemblyPath /codebase /tlbWebView2 Errors
If you see "WebView2 Runtime not found" errors:
- Install the WebView2 Runtime:
``powershell # Download and install Invoke-WebRequest -Uri "https://go.microsoft.com/fwlink/p/?LinkId=2124703" -OutFile "$env:TEMP\MicrosoftEdgeWebview2Setup.exe" Start-Process "$env:TEMP\MicrosoftEdgeWebview2Setup.exe" -ArgumentList "/silent /install" -Wait ``
- Restart Word
Task Pane Not Appearing
- Click "Toggle Panel" in the Wunder tab
- If still not visible, try:
- Close and reopen Word - Check if blocked by Group Policy - Review the log file (see below)
Viewing Logs
Log files are located at:
%LocalAppData%\WunderIPChat\addin.logView recent entries:
Get-Content "$env:LOCALAPPDATA\WunderIPChat\addin.log" -Tail 50Common Error Codes
| Error | Cause | Solution |
|---|---|---|
0x80040154 | COM not registered | Re-run RegAsm |
0x80131515 | Security block | Unblock DLLs or re-download |
0x8007000B | Wrong architecture | Use 64-bit registration |
Reporting Issues
When reporting issues to support, include:
- Windows version (
winver) - Office version (File > Account)
- Log file contents
- Steps to reproduce
- Screenshots if applicable
Security Considerations
Data Handling
- Document Content: Document text is sent to WunderIP servers for AI processing
- Storage: No document content is stored permanently on WunderIP servers
- Encryption: All communication uses TLS 1.2+
Permissions
The add-in requires the following permissions:
| Permission | Purpose |
|---|---|
| Document Read | Access document content for AI analysis |
| Document Write | Insert AI-generated content |
| Comments | Add/manage review comments |
| Track Changes | Work with revisions |
| File System | Read context files from document folder |
Network Security
- All API calls use HTTPS
- Certificate pinning: Not implemented (uses system trust store)
- No data cached locally except WebView2 session data
Compliance
Contact WunderIP for compliance documentation:
- SOC 2 Type II
- GDPR compliance
- Data processing agreements (DPA)
FAQ
Does the add-in work with Office 365 web version?
No, WunderIP Chat requires the desktop version of Microsoft Word. Office Online / Word for the web is not supported.
Can multiple users share an installation?
The MSI installs per-user to %LocalAppData%. Each user requires their own installation.
Is an internet connection required?
Yes, an internet connection is required for all AI features. The add-in will load without internet, but functionality will be limited.
What data is sent to WunderIP?
When using AI features, document content (or selected text) is sent to WunderIP servers for processing. See our privacy policy for details.
Can we use our own AI models?
Contact WunderIP sales for enterprise options including on-premises deployment and custom model integration.
Support
Contact Information
| Channel | Details |
|---|---|
| support@wunder-ip.com | |
| Website | https://wunder-ip.com |
| Documentation | https://docs.wunder-ip.com |
Version History
| Version | Date | Notes |
|---|---|---|
| 1.0.0 | January 2025 | Initial release |
Appendix
Complete Registry Reference
Windows Registry Editor Version 5.00
; Word Add-in Registration
[HKEY_CURRENT_USER\Software\Microsoft\Office\Word\Addins\WunderIPChat.Connect]
"FriendlyName"="WunderIP Chat"
"Description"="WunderIP Chat - AI-powered patent drafting assistant"
"LoadBehavior"=dword:00000003
; COM Class Registration
[HKEY_CURRENT_USER\Software\Classes\CLSID\{A1B2C3D4-E5F6-7890-ABCD-EF1234567891}]
@="WunderIPChat.Connect"
[HKEY_CURRENT_USER\Software\Classes\CLSID\{A1B2C3D4-E5F6-7890-ABCD-EF1234567891}\InprocServer32]
@="mscoree.dll"
"ThreadingModel"="Both"
"Class"="WunderIPChat.ThisAddIn"
"Assembly"="WunderIPChat, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"
"RuntimeVersion"="v4.0.30319"
"CodeBase"="[InstallPath]\\WunderIPChat.dll"
[HKEY_CURRENT_USER\Software\Classes\WunderIPChat.Connect]
@="WunderIP Chat Add-in"
[HKEY_CURRENT_USER\Software\Classes\WunderIPChat.Connect\CLSID]
@="{A1B2C3D4-E5F6-7890-ABCD-EF1234567891}"PowerShell Diagnostic Script
# WunderIPChat Diagnostic Script
Write-Host "=== WunderIP Chat Diagnostics ===" -ForegroundColor Cyan
# Check .NET Framework
$netfx = (Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full" -ErrorAction SilentlyContinue).Release
if ($netfx -ge 528040) {
Write-Host "[OK] .NET Framework 4.8+ installed" -ForegroundColor Green
} else {
Write-Host "[FAIL] .NET Framework 4.8 not found" -ForegroundColor Red
}
# Check WebView2
$wv2 = Get-ItemProperty "HKLM:\SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate\Clients\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}" -ErrorAction SilentlyContinue
if ($wv2) {
Write-Host "[OK] WebView2 Runtime installed: $($wv2.pv)" -ForegroundColor Green
} else {
Write-Host "[FAIL] WebView2 Runtime not found" -ForegroundColor Red
}
# Check Add-in Registration
$addin = Get-ItemProperty "HKCU:\Software\Microsoft\Office\Word\Addins\WunderIPChat.Connect" -ErrorAction SilentlyContinue
if ($addin) {
Write-Host "[OK] Add-in registered (LoadBehavior: $($addin.LoadBehavior))" -ForegroundColor Green
} else {
Write-Host "[FAIL] Add-in not registered" -ForegroundColor Red
}
# Check Installation Folder
$installPath = "$env:LOCALAPPDATA\WunderIP\WunderIPChat\WunderIPChat.dll"
if (Test-Path $installPath) {
Write-Host "[OK] Installation found at $installPath" -ForegroundColor Green
} else {
Write-Host "[WARN] Installation not found at expected location" -ForegroundColor Yellow
}
# Check Log File
$logPath = "$env:LOCALAPPDATA\WunderIPChat\addin.log"
if (Test-Path $logPath) {
Write-Host "[INFO] Log file exists: $logPath" -ForegroundColor Cyan
Write-Host "Last 5 log entries:"
Get-Content $logPath -Tail 5
} else {
Write-Host "[INFO] No log file found (add-in may not have run yet)" -ForegroundColor Yellow
}