In case I need to export DocX in .NET again: DocX – Home which is also at github.com/WordDocX/DocX
(I did it both with Word Automation and OOXML, they were a pain).
–jeroen
Posted by jpluimers on 2014/07/10
In case I need to export DocX in .NET again: DocX – Home which is also at github.com/WordDocX/DocX
(I did it both with Word Automation and OOXML, they were a pain).
–jeroen
Posted in .NET, .NET 4.0, .NET 4.5, C#, C# 4.0, C# 5.0, Development, Office, Office 2007, Office 2010, Office 2013, Office PIA, Software Development | Leave a Comment »
Posted by jpluimers on 2013/06/26
Need to put some research in this, as I have the idea that under some circumstances embedding Office interop assemblies not always works.
–jeroen
Posted in .NET, .NET 4.0, .NET 4.5, Development, Office PIA, Software Development | Leave a Comment »
Posted by jpluimers on 2013/02/07
The methods I described in via: Extracting MSI files didn’t work for the MSI installer for the Office 2003 Primary Interop Assemblies (which you get through here, or directly download the O2003PIA.exe installer).
I needed to extract the files, because of this problem described in by Office 2003 PIA Redistributable is available – Patrick Smith: Microsoft InfoPath – Site Home – MSDN Blogs:
Important Issues to keep in mind:
- This MSI is designed to contain all of the PIA’s which shipped with Microsoft Office System 2003. The product PIA’s will only install if the parent product is installed on the machine.
- Leave the PIA redistributable on the machine once it’s installed. Because this product is redistributable, many add-ins could ship it. The MSI will only install once and then subsequent installs would just see that it’s already on the machine. Removing it via Setup logic will remove it for everyone. The current recommendation is to leave uninstallation of the PIA Redistributable to the end user through Add/Remove Programs.
Currently I’m involved in a suite of .NET 4 applications that interface with Office. Office 2003 is the minimum required version, but:
In none of those scenarios, the PIAs are installed.
So I needed a way to extract all the PIA binaries with the official long filenames from the O2003PIA.MSI that is inside the O2003PIA.EXE installer.
Extracting the installer was simple: just install it, and it decompresses to a directory of choice. Or use your decompression tool of choice.
Extracting the O2003PIA.MSI was a lot harder: Read the rest of this entry »
Posted in .NET, Development, Office PIA, Software Development | Leave a Comment »