Shared addin using .net - deployment for non admins

  • Thread starter TW9zaGUgTWFsaW4
  • Start date
Status
Not open for further replies.
T

TW9zaGUgTWFsaW4

Hello,

My main target is to deploy a shared add-in (developped with .Net, for XP,

OL2003, 2007) to non-admin users.

We assume they already have the CLR.

We know that we can use HKCU instead of HKLM.

But: we cannot assume the PIA are already installed, and this is our main

problem.

Is there a way to deploy the PIA dlls without admin rights (MS PIA

installation puts it in the GAC and requiers admin right) ?

Can we use the PIA dlls locally (say, in the execuation directory), instead

of using it from the GAC?

Is there any alternative for PIA that does not require admin rights (like

making our own IA)?

Thanks.
 
K

Ken Slovak - [MVP - Outlook]

Unless you control the deployment and provisioning of all those machines

it's not safe to assume that the Framework has been installed. It is not

installed for Office 2007 or any earlier version and only is there by

default for CD installations of Windows XP SP2 or higher, or for Vista.

It's really not recommended at all to deploy official PIA's to an

application specific folder, it will cause PIA hell. And if something else

deploys a PIA to the GAC that's where Fusion will look first, therefore

possibly forcing you code to run with a different or incompatible PIA. PIA's

like those from MS really need to be deployed to the GAC.

I'd also be careful with any PIA that is derived from the official PIA for

Outlook 2002, it has bugs and needs modifications to work correctly.

An alternative would be using a PIA-less solution but then you have to

specify the complete interfaces for everything the PIA would handle, so for

things as big as the Office and Outlook PIA's it would be a ton of work to

implement a PIA-less solution.

"Moshe Malin" <Moshe Malin> wrote in message

news:1CB755C3-B545-4C59-B52D-E15F5BC37290@microsoft.com...
> Hello,

> My main target is to deploy a shared add-in (developped with .Net, for XP,
> OL2003, 2007) to non-admin users.

> We assume they already have the CLR.
> We know that we can use HKCU instead of HKLM.
> But: we cannot assume the PIA are already installed, and this is our main
> problem.

> Is there a way to deploy the PIA dlls without admin rights (MS PIA
> installation puts it in the GAC and requiers admin right) ?
> Can we use the PIA dlls locally (say, in the execuation directory),
> instead
> of using it from the GAC?
> Is there any alternative for PIA that does not require admin rights (like
> making our own IA)?

> Thanks.
 
T

TW9zaGUgTWFsaW4

Thank you.

It means, actually, that there is no reasonable way to deploy add-in for non

admins.

Before going to C++ solution - is there any resource that can point to a way

that might achieve non-admin deployment?

I've tried searching the web, but failed to find such.

[About the .net framework, my assumption was that users without .net must

install it first, it's out of non-admin scope]
 
K

Ken Slovak - [MVP - Outlook]

Installing the Framework also requires admin permissions you know.

If this is some sort of rollout then you can have admins install the

Framework and the PIA's as separate from the code installation. Language

choice makes no difference, the only difference would be if you used

unmanaged code in whatever language (C++, VB6, Delphi, etc.) and then you

don't need either the Framework or the PIA's.

"Moshe Malin" <MosheMalin> wrote in message

news:C046F0B3-EC80-4762-AC81-B65C6D2EBB51@microsoft.com...
> Thank you.

> It means, actually, that there is no reasonable way to deploy add-in for
> non
> admins.
> Before going to C++ solution - is there any resource that can point to a
> way
> that might achieve non-admin deployment?

> I've tried searching the web, but failed to find such.

> [About the .net framework, my assumption was that users without .net must
> install it first, it's out of non-admin scope]
>
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
S Copy Tasks/Reminders from Shared Mailbox to Personal Tasks/Reminders Outlook VBA and Custom Forms 0
peterbata Shared Tasks Outlook for Mac Using Outlook 3
Fozzie Bear Shared Public Folders Access and Use Exchange Server Administration 0
S Excel VBA and shared calendar issue Outlook VBA and Custom Forms 3
J O365 - Adding Shared Google Calendar ICS link issue in O365 Using Outlook 0
S Macro to move “Re:” & “FWD:” email recieved the shared inbox to a subfolder in outlook Outlook VBA and Custom Forms 0
S Outlook Macro to send auto acknowledge mail only to new mails received to a specific shared inbox Outlook VBA and Custom Forms 0
N Having Shared Calendar shift to Current day Using Outlook 0
R Assign Categories "Round Robin" style but in a shared mailbox but on specific emails only Outlook VBA and Custom Forms 8
Fozzie Bear Outlook 2016 Creating a shared local Contacts folder Using Outlook 2
P Auto assign shared mailbox Outlook VBA and Custom Forms 1
C Pull Outlook shared calendars items from Excel Outlook VBA and Custom Forms 4
C Create new Message with shared contacts & BCC'ing recipients Outlook VBA and Custom Forms 0
R VBA for copying sent email to current folder under a shared mailbox Outlook VBA and Custom Forms 17
M Outlook 365 Searching all shared calendars Outlook VBA and Custom Forms 4
S newly added shared mailboxes downloading 500GB data a day Exchange Server Administration 1
R auto send email when meeting closes from a shared calendar only Outlook VBA and Custom Forms 2
A New email notification on shared mailbox Outlook VBA and Custom Forms 0
N Shared mailbox in cached mode Using Outlook 0
B Vba to monitor time to respond to emails using a shared mailbox Outlook VBA and Custom Forms 5
D Shared Mailbox question Exchange Server Administration 1
S Import contacts to a shared mailbox Outlook VBA and Custom Forms 2
R Copy Outlook Public Folders to a File Server Shared Folder Using Outlook 0
D Delete Emails from Senders in Shared Mailbox Outlook VBA and Custom Forms 1
E Accessing shared outlook folder doesn't work since switch to new outlook/excel Outlook VBA and Custom Forms 11
J Updating existing entry on shared calendar wants to send update from delegate Using Outlook 0
C Changed By field not displaying individual user's name in O365 Shared Mailbox Using Outlook 9
G Unable to dismiss reminders from share point list calendar shared in Outlook Using Outlook 2
M how to speed up search of shared contacts Using Outlook 0
M Using conditional formatting on a shared calendar with categories Using Outlook 6
S Recovering permanently deleted folder from shared mailbox Using Outlook 1
S How to extract mail items from multiple folders and shared mailboxes? Outlook VBA and Custom Forms 0
D Outlook macros to create meeting on shared calendar Outlook VBA and Custom Forms 10
C Outlook Shared Calendar Using Outlook 1
N Does a Shared Folder Policy override a Digital Signature Setting for macros? Outlook VBA and Custom Forms 6
K Other Shared Calendar on Outlook cannot change items Using Outlook.com accounts in Outlook 7
I Application_NewMailEx for shared mailbox Outlook VBA and Custom Forms 1
P Macro to attach a file in a shared Outlook draft folder Outlook VBA and Custom Forms 2
Diane Poremsky Shared Mailboxes and the Default 'Send From' Account Using Outlook 0
Mark White vba to create a shared mailbox folder Outlook VBA and Custom Forms 3
M Linking Excel Cell to Shared Contacts Outlook VBA and Custom Forms 7
Jeanne Goodman Create Printout from Multiple Shared Calendars Outlook VBA and Custom Forms 8
Diane Poremsky Shared Calendar Can't Be Deleted Using Outlook 0
R Outlook 2007 - Shared Accounts and Resources without Exchange Server Using Outlook 0
D VBA macro printing attachments in shared mailbox Outlook VBA and Custom Forms 1
oliv- Treat once an email with the ItemAdd event in a shared mailbox Outlook VBA and Custom Forms 2
K VBA to measure response time for each emails in a shared mailbox Outlook VBA and Custom Forms 11
A Get shared calendar name or id in custom appointment form Using Outlook 0
S Shared Mailbox Alert Outlook VBA and Custom Forms 7
O VBA rule on multiple computers using shared mailbox Outlook VBA and Custom Forms 1

Similar threads

Top