I wrote some codes with C# and make dll files. When i put my Application on another system my application needs dll files beside the .exe file. I know that some dll files copy to GAC and the exe file doesn't need the files anymore. I also know if dll is type of ActiveX or COM we can use regsvr32 or regAsm. But i don't know how i can register my own dll files in windows.
You need to open the command prompt which comes with VS.
You need to use the gacutil tool
gacutil /i myown.dll
For more info:
http://msdn.microsoft.com/en-us/library/ex0ss12c%28v=vs.80%29.aspx
You can refer this page for doing so programmatically:
You can otherwise use Microsoft Windows Installer for deploying your application :
http://codefornothing.wordpress.com/2007/11/27/short-msi-tutorial/
And you can find the MSI here, if need be.
http://www.microsoft.com/en-in/download/details.aspx?id=25#overview
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.