Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
First thank you for reply
you sent reply as
first need to download the DLLs on client machine in Temp folder (Windows Temp folder)
1)But I cant guess the temp folder is available in which directory on client pc (C:\windows\temp... or D:\windows\temp... or E:\windows\temp...)so how to do?
2)I dont know what is the use of 'codebase' attribute but I think it is using for download dll files, is it correct or not?
If it is not correct send me correct code for download dll files.
If it is correct how to know dll files are download or not bcz while run my code I did not find.
3)How to find dll files wil be downloaded in which folder(with full path)?and how to register

Pleas send me answers for above all points
thank you
Posted
Comments
Albin Abel 2-Mar-11 8:25am    
Runtime registration of dll not allowed without the client interaction. Without PC owner's permission it can't be done. So I think the person has to download the setup and install in his machine.

1 solution

As Albin has mentioned, probably the best thing to do here is create a small setup project that the user has to download from your site. The setup program will contain your packaged dlls

Once downloaded, they will run the setup program which will copy the DLLs to the target location (you could show a 'install location' dialog, or just copy to %System32% etc) and register them.

This is probably the best solution to provide

* Cross browser functionality. This will work in all browsers, since all they have to do is download a file. If you started getting into scripting or using CAB files, you'll run into incompatibility issues

* Security issues. This solution will work on all versions of Windows. On later versions (i.e. > windows vista) you may see the UAC prompt when running the installer, but it will still install OK after user confirmation.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900