PDA

Click to See Complete Forum and Search --> : Deploying ActiveX Component


daimous
Feb 24th, 2011, 04:29 AM
Hi Guys Help Please.

I have created ..NET assembly and i can run(via IE) it by registering it via regasm in my local machine but if I want to deploy in a client machine asking the client to issue the ragasm command is not a good idea so i created a setup project that can automatically register the assembly and it works perfectly ( i tried it by running the setup installer and calling the assembly via IE).

The next thing i did is create a CAB file (using VS CAB Project) and add the assmebly file and its dependencies but when i try to run it from another machine(by embedding it in html) it just show a red "x" it seems the assembly is not loaded properly. But when I issue regasm in the client machine the assembly load successfully.

My question is, how can i run the setup.msi(assembly installer) automatically after the cab file extract it self in the client machine. Thanks in advance!

Bill Crawley
Mar 1st, 2011, 09:23 AM
embedding it in HTML suggests to me that you are attempting to load from the browser. Make sure the security level on the client browser is set correctly, and also that there's no anti-virus blocking it. You also need to ensure that ActiveX's are allowed.