Outlook COM Addin bundle install with a seperate msi file C# - c#

I'm trying to be able to bundle an Outlook addin (.dll file) that I've made in C# with a separate msi installer (not the default one created in Visual Studio). The add-in works great using the default setup that Visual Studio creates but I'm looking to install the .dll file using a different msi as to bundle it with another piece of software and I'm not sure what registry values or other details need to be worked out that will allow Outlook for recognize the addin. Thanks for any help!

Please take a look at this tutorial.
http://msdn.microsoft.com/en-us/vsto/ff937654.aspx

Related

Can I add code/update my exported app in windows forms?

So I made a Quick Notes app in Visual Studio using C# and the windows forms .NET Framework. I exported the program using the setup wizard which is part of the Microsoft visual studio installer projects extension.
The app is completed but I forgot to add a bit of code. I can add it in visual studio since the project is still there but I'm not sure it will apply it to the exported app.
Can anyone help?
I don't want to break anything so I haven't written any new code.
Any workflow that generates an installer (.msi, .msix, setup.exe) will need to be regenerated if code changes are made to the installed app. The installer version should be incremented and also a new ProductCode should be generated so that the newer installer has the information it needs to remove prior versions.

Creating .msi file for Excel Addin with Visual Studio

maybe someone can help me with the following problem.
I create a new Excel Ribbon with Visual Studio 2017. When I run the solution out of Visual Studio everything works fine. Excel is open and the Ribbon and buttons give no exception. So far so good.
Now I need to create a .msi file, so that the solution can be roll out to the customer. Therefore I add the Visual Studio Installer projects to my VS and create a setup project. This is also working fine for, say a normal HalloWorld.exe on the Console. But when I do it for the Excel Addin it does not work. I get the .msi file, I can install it, but I never see it in Excel. I can also not see the Addin in Excel on File->Options->Addins->Com-Add-Ins.
Did anybody give me a clue what is needed, what need to be add or to change to install the Excel Addin to other users?
Best Regards,
Sebastian

Setup File For VSTO Excel Add-In C# (Visual Studio Professional 2017)

I have created VSTO Add-In for Excel, for running this application I am depending on Debug folder.
Here my problem is this Debug folder is having multiple files along with Microsoft Excel Template file this will create little confusion to choose right file to run for new users.
Is there any possibility to create a setup file for VSTO Excel Add-In application in Visual Studio Professional 2017.
Or else is there any possibility to keep all files (except Microsoft Excel Template File) in one location and Microsoft Excel Template File is in one location (like on desktop).
FYI: I know via shortcut for Microsoft Excel Template File we can do this, but I don't want to do this manually.
Thanks in advance
First, you shouldn't give debug builds to your users. Build with the Release settings instead. The default visual studio layout has a drop down that says Debug in the menu bar. Use the dropdown to select Release.
If you use the Publish feature of the Project in Visual Studio, it creates a ClickOnce setup.exe that will install the addin for you. rclick on your Project in Solution Explorer and select Properties. Then go to the Publish tab, fill out the form and click Publish at the bottom.
If you want to include an extra data file with in the installation you can follow these instructions to add it.
Basically you have to add the file to the directory you Published to and add an xml tag to the manifest file that includes the name of the file, hash and size.

How to Create Installer for my Project

Hi guys i have a c# project that i want to create an installer.I want the installer to do the following:
Copy all the files that my application is using to a user chosen path (copy the files to the chosen path).
Ask for a specific Path(my c# program requires Google Drive Application to be installed and need its path)
Create Folders and Text files in that Path.
Please help me guys thanks.
Project Setup & Install was dropped after Visual Studio 2010. You'll either have to go the WiX route, or if you have Visual Studio 2013, you can create an InstallShield Limited project. There are several alternatives as well, just do a search.
Here's a link to a page that gives a video walkthrough of how to create an application installer with InstallShield Limited from Visual Studio 2013:
http://learn.flexerasoftware.com/content/IS-EVAL-InstallShield-Limited-Edition-Visual-Studio

How do you reference MS office interops in C#?

I am trying to access Outlook 2007 from C#. I have installed the PIA msi after following the directions found on msdn. After a successful install nothing shows up in Visual Studio's references under the .net tab.
Office interaction is available through COM objects found on the 'COM' tab of the 'Add Reference' dialog window.
After you downloaded the installer and ran it, did you run the MSI installer it extracted and placed in the folder it asked you to create?

Categories

Resources