Shortcut keys per user?

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

Shortcut keys per user?
Is it possible to define a shortcut key with privileges=user instead of adminstrator? 
Des Currin


Guest


Is it possible to define a shortcut key with privileges=user instead of administrator?

I have an add-on that just has a shortcut key. If I change privileges=administrator to privileges=user in the adxloader.dll.manifest and run the installer as a user I get the following messages in the adxregistrator.log.


07:04:46 0520 Registering the 'trove.dll' assembly (administrator).
07:04:48 0152 Managed Error: 
(Inner Exception)
Date and Time:         2012/10/20 07:04:47 AM
Machine Name:          MAX
IP Address:            fe80::3cd3:d954:9f32:74ba%10
Current User:          MAXUSER

Application Domain:    C:Program FilesSemantic SystemsTrove
Assembly Codebase:     file:///C:/Windows/assembly/GAC_MSIL/AddinExpress.IE/8.1.5065.0__4416dd98f0861965/AddinExpress.IE.dll
Assembly Full Name:    AddinExpress.IE, Version=8.1.5065.0, Culture=neutral, PublicKeyToken=4416dd98f0861965
Assembly Version:      8.1.5065.0
Assembly Build Date:   2012/10/13 11:14:23 AM

Exception Source:      mscorlib
Exception Type:        System.UnauthorizedAccessException
Exception Message:     Access to the path 'C:Program FilesSemantic SystemsTrovedxloader.exe' is denied.
Exception Target Site: WinIOError

---- Stack Trace ----
   System.IO.__Error.WinIOError(errorCode As Int32, maybeFullPath As String)
       AddinExpress.IE.dll: N 0230 (0xE6) IL 
   System.IO.FileStream.Init(path As String, mode As FileMode, access As FileAccess, rights As Int32, useRights As Boolean, share As FileShare, bufferSize As Int32, options As FileOptions, secAttrs As SECURITY_ATTRIBUTES, msgPath As String, bFromProxy As Boolean, useLongPath As Boolean)
       AddinExpress.IE.dll: N 0928 (0x3A0) IL 
   System.IO.FileStream..ctor(path As String, mode As FileMode, access As FileAccess, share As FileShare, bufferSize As Int32, options As FileOptions, msgPath As String, bFromProxy As Boolean)
       AddinExpress.IE.dll: N 0014 (0xE) IL 
   System.IO.FileStream..ctor(path As String, mode As FileMode)
       AddinExpress.IE.dll: N 0000 (0x0) IL 
   AddinExpress.IE.ADXIEModule.RegisterIEModuleInternal(t As Type)
       AddinExpress.IE.dll: N 1220 (0x4C4) IL 
   Trove.TroveModule.RegisterIEModule(t As Type)
       AddinExpress.IE.dll: N 0000 (0x0) IL 


It this because it is not possible to register a shortcut key on a user basis, or is something else going wrong? It looks odd that it refers to administrator in Registering the 'trove.dll' assembly (administrator). if it should be registering as a user.

It is also peculiar that the installer reports a successful installation in the user interface. It also creates files in C:\Program Files\Semantic Systems\Trove\, but when you run IE and check Manage add-ons it is not loaded.
Posted 20 Oct, 2012 00:38:15 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
Hello,

Des Currin writes:
It this because it is not possible to register a shortcut key on a user basis, or is something else going wrong?


It's somethig else. A standard user doesn't normally have permissions to create files and folders in Program Files. And you cannot register an IE add-on on the per-user basis; the only IE extension allowing this is IE Bar. Please check the section Deployment Step-by-steps in the manual, see {Add-in Express}\Docs\adxie.pdf


Andrei Smolin
Add-in Express Team Leader
Posted 22 Oct, 2012 02:22:34 Top