I have been developing windows application for outlook addin using MS VS2010. I need to develop installer which installs on citrix or terminal server. How do I achieve this? . Is there any third party installers available for free or paid one's ? which would be best option to implement this.
Thanks in advance.
You just need to make sure the registry entries are in HKLM rather than HKCU as the use running your addin will be different from the local user installing it.
Related
I have a vba outlook add-in that is all ready up and running but some users have trouble installing so I thought to develop a new add-in.
I want to develop an office add-in to run on all office platforms (most important are desktop platforms from 2010 and up)
And I found office-js but some organizations don't allow users access to the office store..
Is there another way to distribute an office-js add in? And is there a way to convert my vba add in to something else? Like a com add in? Is it still alive?
I really need help to find the best practices for this situation.
I have been struggling to figure this out.
We have made a Outlook Add-In in Visual Studio 2013.
I can install this using the .vsto that they provide without a problem on a windows machine.
Now I try the same thing, placing the .vsto on the citrix server, installing this works fine, although it does a call to the internet which isn't allowed, so I had to work around that (anybody know why it calls to the internet? and what?).
Than I got it installed at the server, go to the thin clients, its right there, the only thing I have to do is activate it.
The second I activate it, it runs an executable, which obviously is not allowed, and I cannot activate it on the client.
You need to create an MSI installer for the add-in. See Deploying an Office Solution by Using Windows Installer for more information.
I've researched this a bit and came up dry. I've checked HKCU/Software/Microsoft but Office is not listed. Our company uses Office 2010 Pro Plus. Under HKLM, I can see Office 14.0 but Outlook/Options keys are not there. I've created the DeveloperTools 32bit DWORD and set the value to 1 under HKLM and HKCU with the following paths, but neither worked:
HKCU/Software/Microsoft/Office/14.0/Outlook/Options/DeveloperTools = 1
HKLM/Software/Microsoft/Office/14.0/Outlook/Options/DeveloperTools = 1
I am trying to use the registry because I need to modify many machines within our domain and don't want to send an email out asking everyone to "check the box" so-to-speak. Thanks for anyone's help.
It looks like you have a wrong key - at least under Outlook 2013 the key is
[HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Common\General]
"ReportAddinCustomUIErrors"=dword:00000001
You can use the Process Monitor utility for monitoring the windows registry activity.
Also check out whether the Click2Run edition of Outlook is installed on the machine. See Verify Whether Outlook Is a Click-to-Run Application on a Computer for more information.
When using a legacy VB6 application and opening some specific forms inside that application, the Windows Installer belonging to Microsoft Navision (which is installed on the same machine) pops-up like in the attached image.
It happens every time, but on this machine only.
The VB6 application has absolutely no relation with Navision!
What can be done to avoid this anomalous interaction between the two applications?
This is down to a corrupt windows installer database and your app is using some component that Microsoft Dynamics tried to install.
Your best bet is to remove and reinstall Microsoft Dynamics NAV, or use MSICUU to remove the "broken" package.
Update: MSICUU was retired in preference to the Program Install and Uninstall troubleshooter but I've not used this new utility.
I'm currently using ClickOnce to install myapp.exe. But now I've added Outlook 2007 addin support, myaddin.dll.
So, how can I install both exe and addin with ClickOnce.
I don't think you can package them together per se. That's not supported (yet). But what you CAN do is deploy them to the webserver separately, and then have the desktop application invoke the install link for the Outlook Add-In when it runs. Just do a Process.Start("iexplore.exe", "http://myapp.com/myaddin.vsto")
It might get complicated depending on which version of Office you're deploying for.
I think it can be done by adding the .exe project as a dependency of the addin project. I read a little that said that's the way it's done, but haven't tried it personally.