Add in for Word Excel and Powerpoint in Citrix

Add-in Express™ Support Service
That's what is more important than anything else

Add in for Word Excel and Powerpoint in Citrix
Issues trying to install addin for all users in citrix 
Robert Needham




Posts: 9
Joined: 2011-03-03
Hi

we have built an office add in that covers Word, Excel and Powerpoint. This works fine for stand alone users. But one of our customers is trying to add this to a citrix environment.

As part of the install we have an encrypted settings file which stores the users information.

The issue with this is that within the citrix environment everytime the user logs out the registery is removed. So to get around this the customer has tried to create a profile that gets applied for all users. This appears to show the icons in word but the buttons dont do anything.

I have a feeling this is due to the default profile holds a reference to a specific users settings file which will not run as they are not the logged on user.

I'm unsure as the best way to get round this can anyone provide me with some advice?

Thanks
Rob
Posted 08 Mar, 2011 10:44:29 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Hi Robert,

May I see the adxregistrtor.log and adxloader.log files?
.NET, Extended MAPI, Windows Phone & RT
Posted 09 Mar, 2011 05:41:21 Top
Robert Needham




Posts: 9
Joined: 2011-03-03
Hi Below is the adxregistrator.log info

[/CODE]Add-in Express Registrator Log File: 03/16/2011 17:17:01

Installation directory: C:\Users\username\AppData\Roaming\Company\product\
Registrator version: 6.2.3051.0
Operating System: Microsoft Windows 7 Professional (build 7600), 32-bit
Process Owner: System
Command Line: "C:\Users\username\AppData\Roaming\Company\product\adxregistrator.exe" /install="product Add-In.dll" /privileges=user
Run 'As Administrator': Yes
Process Elevated: Yes
Integrity Level: System
UAC (User Account Control): On
--------------------------------------------------------------
17:17:01 Starting the add-in registration process.
17:17:01 Loading mscoree.dll
17:17:01 Success.
17:17:01 .NET Framework installation directory:
17:17:01 The latest version of .NET Framework: 'v4.0.30319'
17:17:01 Loading CLR: v4.0.30319.
17:17:01 Calling CLRCreateInstance method.
17:17:01 Success.
17:17:01 Calling GetRuntime method.
17:17:01 Success.
17:17:01 Calling GetInterface method.
17:17:01 Calling GetInterface method for the CorRuntimeHost interface.
17:17:01 Success.
17:17:01 Starting CLR...
17:17:01 Success.
17:17:01 The CLR v4.0.30319 has been initialized successfully.
17:17:01 Creating a new domain setup.
17:17:01 Success.
17:17:01 Getting the add-in directory.
17:17:01 Success. The directory is 'C:\Users\username\AppData\Roaming\Company\product\'
17:17:01 The 'shadow copy' is disabled.
17:17:01 Creating a new application domain.
17:17:01 Success.
17:17:01 Getting the base directory for the domain.
17:17:01 Success. The directory is 'C:\Users\username\AppData\Roaming\Company\product\'.
17:17:01 Searching for the Add-in Express core library.
17:17:01 Success. The 'AddinExpress.MSO.2005.dll' file is found.
17:17:01 Creating an instance of the 'AddinExpress.Deployment.ADXRegistrator' class.
17:17:01 Assembly identity is 'AddinExpress.MSO.2005'.
17:17:01 Success.
17:17:01 Unwrapping the instance of the 'AddinExpress.Deployment.ADXRegistrator' class.
17:17:01 Success.
17:17:01 Calling the managed registration procedure.
17:17:01 584 Connecting to the application domain of the Add-in Express loader.
17:17:01 584 Success.
17:17:01 584 Loading the 'product add-in.dll' assembly.
17:17:01 584 Success.
17:17:01 584 Registering the 'product add-in.dll' assembly (user).
17:17:02 584 The ' product add-in.dll' assembly has been registered successfully.
17:17:02 Success.
17:17:02 The add-in registration process is completed with HRESULT = 0.[CODE]

Thanks
Rob
Posted 16 Mar, 2011 12:37:26 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Hi Robert,

Thank you for providing me with the adxregistrator.log file. I have noticed the following line in the log:

Process Owner: System


It looks like you (or somebody else) has changed the group policy settings on target PC. Please read more about this in the How to allow users who are not administrators to install MSI packages article. Does it help?
.NET, Extended MAPI, Windows Phone & RT
Posted 16 Mar, 2011 12:48:19 Top
Robert Needham




Posts: 9
Joined: 2011-03-03
Hi Eugene

The information I provided you with was from a stand alone PC (not the citrix environment).

The customer has attempted to install in Citrix but with little success so far.

They have provided me with the below requirement.

"As discussed the Addin-in will need to be able to work with Microsoft's Mandatory profiles.

- it is possible to edit the profile and inject the new configuration (which I have already tried), but this would require the configuration to be not user specific and be able to look for the configuration files of the user that is logged in. It does not appear to support this.

As part of our Citrix config we have flex profiles which allows us to control which parts of the profile (registry/files) are saved when a user logs off. If they can get it working with this, this would be the preferred option."

Is this possible? If so any idea how we can achieve this would be great.

Thanks

Rob
Posted 16 Mar, 2011 15:39:56 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Hi Robert,

I have just sent a new version of the adxpatch.exe utility to you. Check out your Inbox. Please don't forget to specify the /RunActionsAsInvoker=true parameter in your MSI installer (see the PostBuildEvent property of the installer project). Does it help?
.NET, Extended MAPI, Windows Phone & RT
Posted 17 Mar, 2011 06:21:25 Top