Add-in Express for IE and - ComponentSource

Add-in ExpressTM

for Internet Explorer? and Microsoft? .net

Add-in Express for IE and .NET

Developer's Guide

Add-in ExpressTM for Internet Explorer? and Microsoft? .NET

Developer's Guide

Revised on 20-May-19

Copyright ? Add-in Express Ltd. All rights reserved.

Add-in Express, ADX Extensions, ADX Toolbar Controls, Afalina, AfalinaSoft and Afalina Software are trademarks or registered trademarks of Add-in Express Ltd. in the United States and/or other countries. Microsoft, Outlook, and the Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Borland and the Delphi logo are trademarks or registered trademarks of Borland Corporation in the United States and/or other countries.

THIS SOFTWARE IS PROVIDED "AS IS" AND ADD-IN EXPRESS LTD. MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, ADD-IN EXPRESS LTD. MAKES NO REPRESENTATIONS OR WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE LICENSED SOFTWARE, DATABASE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.

2

Add-in ExpressTM

add-in-

Add-in Express for IE and .NET

Table of Contents

Table of Contents

Introduction ......................................................................................... 6

Why Add-in Express? .....................................................................................................................................7 System Requirements.....................................................................................................................................8 Technical Support ...........................................................................................................................................9 Installing and Activating ...............................................................................................................................10

Activation Basics........................................................................................................................................................10 Setup Package Contents ........................................................................................................................................... 11

Getting Started ................................................................................. 12

My First IE Add-on.........................................................................................................................................13 Step #1. Creating an IE Add-on Project.....................................................................................................................13 Step #2. IE Module .................................................................................................................................................... 16 Step #3. IE Module Designer ..................................................................................................................................... 17 Step #4. Custom Toolbars in IE ................................................................................................................................. 19 Step #5. Custom Bars in IE........................................................................................................................................ 23 Step #6. Custom Main Menu Commands .................................................................................................................. 27 Step #7. Custom Context Menu Commands.............................................................................................................. 32 Step #8. Intercepting Keyboard Shortcuts ................................................................................................................. 35 Step #9. Intercepting IE Events ................................................................................................................................. 36 Step #10. Intercepting HTML Events ......................................................................................................................... 37 Step #11. Running the IE Add-on .............................................................................................................................. 39 Step #12. Debugging the IE Add-on .......................................................................................................................... 39 Step #13. Deploying the IE Add-on............................................................................................................................40 What's next? .............................................................................................................................................................. 40

My First IE Bar ...............................................................................................................................................41 Step #1. Creating an IE Bar Project ........................................................................................................................... 41 Step #2. IE Bar Module..............................................................................................................................................44 Step #3. IE Bar Module Designer .............................................................................................................................. 45 Step #4. Custom Main Menu Commands .................................................................................................................. 47 Step #5. Custom Context Menu Commands.............................................................................................................. 52 Step #6. Intercepting Keyboard Shortcuts ................................................................................................................. 53 Step #7. Intercepting IE Events ................................................................................................................................. 54 Step #8. Intercepting HTML Events ........................................................................................................................... 55 Step #9. Running the IE Bar ...................................................................................................................................... 56 Step #10. Debugging the IE Bar ................................................................................................................................ 57 Step #11. Deploying the IE Bar..................................................................................................................................57 What's next? .............................................................................................................................................................. 58

My First IE Toolbar ........................................................................................................................................59 Step #1. Creating an IE Toolbar Project .................................................................................................................... 59 Step #2. IE Toolbar Module ....................................................................................................................................... 62 Step #3. IE Toolbar Module Designer ........................................................................................................................ 63 Step #4. Custom Main Menu Commands .................................................................................................................. 65 Step #5. Custom Context Menu Commands.............................................................................................................. 70 Step #6. Intercepting Keyboard Shortcuts ................................................................................................................. 71 Step #7. Intercepting IE Events ................................................................................................................................. 72 Step #8. Intercepting HTML Events ........................................................................................................................... 73 Step #9. Running the IE Toolbar................................................................................................................................74 Step #10. Debugging the IE Toolbar..........................................................................................................................74

3

Add-in ExpressTM

add-in-

Add-in Express for IE and .NET

Table of Contents

Step #11. Deploying the IE Toolbar ........................................................................................................................... 75 What's next? .............................................................................................................................................................. 75

Deploying IE Extensions................................................................... 76

All Deployment Technologies at a Glance..................................................................................................77 Deployment: Things to Consider .................................................................................................................79

How Your IE Extension Is Registered ........................................................................................................................ 79 How Your IE Extension Loads into IE ........................................................................................................................ 82 Installing and Registering........................................................................................................................................... 83 Permissions Required................................................................................................................................................84 Files to Deploy ........................................................................................................................................................... 84 Publishing from the Command Prompt ...................................................................................................................... 84 Creating MSI Installers..................................................................................................................................86 Installation Software Products Supported by Add-in Express .................................................................................... 86 Setup Project Wizard ................................................................................................................................................. 86 Creating a Visual Studio Installer Setup Project Manually ......................................................................................... 88 WiX Setup Projects .................................................................................................................................................... 99 ClickTwice :) Deployment ...........................................................................................................................102 Introduction to ClickTwice ........................................................................................................................................ 102 Publishing with ClickTwice :)....................................................................................................................................103 Files Generated by ClickTwice :) ............................................................................................................................. 112 Updating an IE Extension via ClickTwice :).............................................................................................................. 115 Automatic Updates .................................................................................................................................................. 116 Step-by-step Samples ............................................................................................................................................. 117 Deployment Step-by-steps .........................................................................................................................118 Deploying a per-user IE Bar via an MSI installer ..................................................................................................... 119 Deploying a per-machine IE extension via an MSI installer ..................................................................................... 128 Deploying a per-user IE bar via Group Policy .......................................................................................................... 136 Deploying an IE extension via ClickTwice :) ............................................................................................................ 143 Updating an IE extension via ClickTwice :) .............................................................................................................. 154 Custom Prerequisites .................................................................................................................................157 Bootstrapper folders ................................................................................................................................................ 157 My Prerequisites Dialog ........................................................................................................................................... 157 Bootstrapper package..............................................................................................................................................158 Install File................................................................................................................................................................. 159 System checks.........................................................................................................................................................162 Related packages .................................................................................................................................................... 167 Custom schedules ................................................................................................................................................... 168 Install Conditions ..................................................................................................................................................... 168 Exit Codes ............................................................................................................................................................... 169 Security .................................................................................................................................................................... 170 Additional Files ........................................................................................................................................................ 171

Tips and Notes ............................................................................... 172

Add-in Express Essentials .........................................................................................................................173 On Using Add-in Express Modules .......................................................................................................................... 173 IEModule plus IE Bars and Toolbars: There and Back Again .................................................................................. 173 On Using Advanced IE Bars .................................................................................................................................... 174

IE Essentials ................................................................................................................................................179 Tabbing .................................................................................................................................................................... 179 Windowing and Threading ....................................................................................................................................... 179

4

Add-in ExpressTM

add-in-

Add-in Express for IE and .NET

Table of Contents

Instancing ................................................................................................................................................................ 180 Messaging ............................................................................................................................................................... 181 Protected Mode ....................................................................................................................................................... 182 Unsorted .......................................................................................................................................................188 What are interop assemblies? ................................................................................................................................. 188 MyWinApiWindow Class .......................................................................................................................................... 188 Deploying ? Shadow Copy....................................................................................................................................... 189 How Do I Find the PublicKeyToken of My Add-on? ................................................................................................. 189 Deploying Localized IE Add-ons .............................................................................................................................. 189 Breakpoints are Not Hit When Debugging ............................................................................................................... 189 Useful ............................................................................................................................................................ 191

Finally ............................................................................................. 192

5

Add-in ExpressTM

add-in-

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download