How to develop and run app for office 2013? - office-2013

I want to develop some app for office 2013. my problem is when i searched for microsoft developer tools office 2013 i find only that link OfficeDevToolsForVS2012 . That link is all over the blogs even on microsoft site msdn.microsoft . The downloaded file run Web Platform API but it tells me that it can't find that product(i don't know how even i get it from microsoft link). So i want to know how to develop app for office using vs2012.
UPDATE**:
I found some exe file called officetools_bundle.exe that installed the required tools but when i run anything even the online samples i get this error
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
any help.

This issue is solved not, but i still don't know what's the reason behind it.
All i did is i installed fresh Windows 7 64bit on my machine and then every thing is working like charm.

Related

Microsoft word add in error VSTO

We have a Microsoft word add-in that is working fine on the majority of pc's.
On a particular windows 7 pc, it has the visual studio 2010 tools for office installed correctly.
But when a user creates a new template word document, they get teh following error:
The customization assembly could not be found or could not be loaded.
You can still edit and save the document. Contact your administrator
or the author of this document for further assistance.
We have tried unloading all dependencies but still does not make any difference.
This is an issue effecting a small amount of windows 7 pc's with office 2016 installed. It seems to be pc related rather than the application.
Usually, the reason behind such an error is that the permissions for loading the VSTO solution are missing. One thing that often gets "missed" when deploying VSTO solutions is that the document must be in a "trusted location". You might want to check that this is the case by looking in the Word "Trust Center" (in the Options). You also need to be sure you've installed the correct version of the VSTO run-time for the version of Windows and Office. Read more about that in the Troubleshooting Run Time Errors in Office Solutions article.
Also it may indicate that you didn't include all required dependencies to your add-in's installer (any platform-specific assemblies). Something is missing on the target machines, so I'd suggest looking for any difference between machines. You can add the .NET Framework, the Visual Studio Tools for Office runtime, and the Office primary interop assemblies to your Setup package as prerequisites that are deployed with your Office solution. For information about how to install the primary interop assemblies, see Configuring a Computer to Develop Office Solutions and How to: Install Office Primary Interop Assemblies.
The required steps for deploying Office solutions are described in the following articles:
Deploying an Office Solution by Using ClickOnce
Deploying an Office Solution by Using Windows Installer
You can use the event viewer in Windows to see error messages that are captured by the Visual Studio Tools for Office runtime when you install or uninstall Office solutions. You can use these messages from the event logger to resolve installation and deployment problems. For more information, see Event Logging for Office Solutions.
See Troubleshooting Office Solution Deployment for more information.

Creating an MSI with Installshield

I have followed the following guide to try and create an MSI to deploy a VSTO add in for Outlook. https://msdn.microsoft.com/en-us/library/cc442767.aspx?f=255&MSPPError=-2147217396
I have carefully followed this guide on two occasions, ensuring in particular that I placed the registry keys in every place I can imagine they would be need to be in order to be detected.
The MSI is created successfully and installs successfully also, the problem is that when I run Outlook after the MSI is installed, Outlook does not recognize the Add In and load it.
If I use Click once to install the add in it is recognized by outlook without any issue. The problem with that is that we want to install the application silently using SCCM and clickonce cannot be deployed silently.
What could possibly be going wrong?
The issue in this case, was that the guides code for installing the prerequisite "Visual Studio 2010 Tools for Office Runtime" did not work properly and the prerequisite was not installed.
Any user that needs to run the add in will need the VSTO tools from this link installed
https://www.microsoft.com/en-GB/download/details.aspx?id=48217
Hopefully this will be of some help to anyone else
EDIT: For anyone in the UK - The registry entry "LoadBehavior" must be spelled exactly as it appears here. I used the UK spelling "LoadBehaviour" and it was the sole reason my install was not successful. I was held back for several days due to this.

Setup required to communicate with QuickBooks

Sorry if this is a dumb question but I have spent hours looking for a solution.
I want to connect to a QuickBooks Company file that is installed on a server from a workstation that is on the network.
I am running the AddCust.exe that is supplied with the QuickBooks SDK.
What do I need to install on the server to make this work.
I am running the executable on the workstation. Do I have to have QuickBooks installed on the workstation that I want to run this app? I have installed the ABXMLRP2Installer on the workstation.
I know this is old, but in case anyone is still searching....
This answer is based on Quickbooks SDK 11.0.
You need to install the SDK on the machine running Quickbooks.
Next, you will need two programs that are part of the SDK:
RDS6ServerInstaller.exe RDS6ClientInstaller.exe
You will find these somewhere in the SDK install location:
on my machine, they were in:
C:\Program Files\Intuit\IDN\QBSDK11.0\tools\Installers
Here is a good write up on how to get this going...
http://www.h2officesolutions.com/h2os_custguide/Customizing_the_RDS_server.htm
Use the sample program provided in the SDK called SDKTestPlus3 for testing.
Be prepared for some serious tinkering and time to get this going....
You don't need to install anything on the server if you install QuickBooks and the required SDK components on the workstation. It is also possible to use Remote Data Sharing (RDS) to access data on the server, but it is much simpler to install QuickBooks on the workstation as long as you don't mind using a license for that purpose.
SDK applications always require that SDK components be installed; SDK components do not come pre-installed with QuickBooks. In the case of the AddCust sample app, the QBXMLRP2 installer is what you need.

How do I tell I have Standard or Professional Edition?

We're using DataDynamic ActiveReports .Net 3.0 on Windows-XP and we're looking to upgrade to the latest version for Windows-7. Then we ran into a problem. We could not tell which Edition (standard or professional) are we using. I tried Google search adn it wasn't very helpful. We looked in the "Program Files" and in the "Data Dynamics" folder, we found there's no executable file. So, we don't know what we have.
Thanks...
It depends on your serial number. The installation is the same for both releases. Email or call the ComponentOne sales team with you serial number (or if you don't have the serail, send the registered user or purchaser) and they can tell you which edition you have a license for.
Alternatively, if you have the product installed on a developer machine already you could try just using the features that are included only in the professional edition (e.g. WebViewer, End User Designer Control) to see if they are showing an "Evaluation" message or not. If they show an evaluation message when you run the product then you have Standard. If they don't, you have Pro.

How do I make a custom .net client profile installer?

For .net 3.5 SP1, Microsoft have the new client profile which installs only a subset of .net 3.5 SP1 on to Windows XP user's machines.
I'm aware of how to make my assemblies client-profile ready. And I've read the articles on how to implement an installer for ClickOnce or MSI.
But I've been using Inno Setup for my project so far and I'd like to continue to use it (as an Express user, I can't easily make MSIs), I need to know how to use the client-profile installer in a custom environment.
There is an article on a Deployment.xml schema, but no indication of how to write one, package it or anything else. Can someone explain this process? Finding the articles I linked to alone was a painful search experience.
Microsoft has now shipped the Client Profile Configuration Designer (Beta).
This designer lets you edit the XML files with some limitations, this isn't a 'Google beta' by any means.
Information and download
Can you clarify: Are you trying to write an installer for your app, which depends on the Client-Profile, or are you trying to write a custom installer for the client-profile?
I haven't used it personally, but if it's anything like the dotnetfx 1 and 2 msi's, you basically have to just invoke it's executable yourself from your own .exe file, or from an Msi BEFORE the InstallExecuteSequence starts up - you can't "embed" those in your own app, MS go out of their way to tell you not to do that due to suckage of MSI.
Client profile works only on clean XP. If your user as .Net 1 or 2 installed, client profile wont install...
You have an offline version (integrating Full .Net3.5 Install in case Client Wont install) 200 to 300Mo don't remember
Online version will get required files.
You can call a silent install from the first steps of your install.