[I just realized that this is only going to work for the current user. Now I need to somehow translate this to work on the entire machine...somehow. :( ]
I actually just got it working via Powershell. Needless to say, I jumped out of my chair and let out a little cheer when this worked. Quite frankly, I'm very surprised it did.
For those wondering what I did, here is the exact Powershell script I used:
Copy-Item -Path "E:\Script\Resources\NAV\NAV1251.ocx" -Destination "C:\Windows\SysWOW64"
Copy-Item -Path "E:\Script\Resources\NAV\NAV1251.ocx" -Destination "C:\Windows\System32"
Start-Process -FilePath "C:\Windows\System32\regsvr32.exe" 'C:\Windows\SysWOW64\NAV1251.ocx'
Start-Process -FilePath "C:\Windows\System32\regsvr32.exe" 'C:\Windows\System32\NAV1251.ocx'
reg import "E:\TheStuff.reg"
The registry file is where the magic happened here.
I used a free tool that allows you to take and compare snapshots of the registry. I went to the webpage where the addon is needed, and the little popup came up asking if I want to install the addon. Before clicking install, I made a registry snapshot. Once that was made, I clicked install and immediately took another snapshot.
Using the program, I was able to see all changes that were made to the registry. I know the class ID of the addon, so I was looking for anything that contained that or pertained to Internet Explorer. There were a few different keys there. I added all of those keys to a .reg file named "TheStuff.reg". I then threw together the rest of the script and figured it would be worth a try.
I went to a brand new PC, ran the script, and went to the webpage. No install prompts. The addon was installed, enabled, and allowed to run on the website all from the script. This is EXACTLY what I needed.
For anyone interested in the REG file contents (maybe you want to install an Internet Explorer addon yourself), this is how the file looks:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\{CEBFF5CD-ACE2-4F4F-9178-9926F41749EA}\Count]
"Zvpebfbsg.VagreargRkcybere.Qrsnhyg"=hex(3):00,00,00,00,0D,00,00,00,0D,00,\
00,00,12,67,08,00,00,00,80,BF,00,00,80,BF,00,00,80,BF,00,00,80,BF,00,00,80,\
BF,00,00,80,BF,00,00,80,BF,00,00,80,BF,00,00,80,BF,00,00,80,BF,FF,FF,FF,FF,\
F0,80,22,24,6F,35,D4,01,00,00,00,00
"P:\Hfref\hfre\Qrfxgbc\ertvfgelpunatrfivrj-k64\ErtvfgelPunatrfIvrj.rkr"=hex(3):\
00,00,00,00,01,00,00,00,02,00,00,00,D0,7F,00,00,00,00,80,BF,00,00,80,BF,00,\
00,80,BF,00,00,80,BF,00,00,80,BF,00,00,80,BF,00,00,80,BF,00,00,80,BF,00,00,\
80,BF,00,00,80,BF,FF,FF,FF,FF,D0,19,64,32,6F,35,D4,01,00,00,00,00
"HRZR_PGYFRFFVBA"=hex(3):00,00,00,00,63,00,00,00,DD,00,00,00,4B,A4,63,00,13,\
00,00,00,3A,00,00,00,E8,FE,16,00,4D,00,69,00,63,00,72,00,6F,00,73,00,6F,00,\
66,00,74,00,2E,00,57,00,69,00,6E,00,64,00,6F,00,77,00,73,00,2E,00,45,00,78,\
00,70,00,6C,00,6F,00,72,00,65,00,72,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,13,00,00,00,3A,00,00,00,E8,FE,16,00,4D,00,69,00,63,00,72,\
00,6F,00,73,00,6F,00,66,00,74,00,2E,00,57,00,69,00,6E,00,64,00,6F,00,77,00,\
73,00,2E,00,45,00,78,00,70,00,6C,00,6F,00,72,00,65,00,72,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,13,00,00,00,3A,00,00,00,E8,FE,16,00,\
4D,00,69,00,63,00,72,00,6F,00,73,00,6F,00,66,00,74,00,2E,00,57,00,69,00,6E,\
00,64,00,6F,00,77,00,73,00,2E,00,45,00,78,00,70,00,6C,00,6F,00,72,00,65,00,\
72,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Settings\{A00C0AFC-E004-4024-9D25-52952AC99A6A}]
"VerCache"=hex(3):D7,6F,C4,71,5E,35,D4,01,00,8F,56,10,A0,E8,CA,01,00,00,00,\
00,00,40,02,00,33,00,13,00,07,00,00,00,33,00,13,00,07,00,00,00,09,04,00,00
"Flags"=-
"Version"=-
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\{A00C0AFC-E004-4024-9D25-52952AC99A6A}\iexplore]
"Time"=hex(3):E2,07,08,00,04,00,10,00,0E,00,29,00,33,00,DD,02
"Blocked"=dword:00000007
"Count"=dword:00000010
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\{A00C0AFC-E004-4024-9D25-52952AC99A6A}\iexplore\AllowedDomains\fiservse.net]
Keep in mind, the "A00C0AFC-E004-4024-9D25-52952AC99A6A" part of the registry key names are the class ID for the addon I want.
If you want to do what I did and you have the .OCX file (which is probably rare but hey), just move the OCX file to SysWOW64 and System32 (if on 64-bit machine), register them using regsvr32, and then make the registry edits.
You COULD just make the exact registry edits I made (editing the class ID and the "AllowedDomains" domain), but I honestly do not know how much else of the registry file I posted is individualized to my own needs.
If you want to be 100% sure, I would personally Google for a free tool that can compare the registry (I used RegistryChangesView v1.07) and compare the registry before and after installing the addon manually, and then export the keys it added/changed.
Thank you all for the help I am sure you would had provided!