ancp Posted February 28, 2008 Posted February 28, 2008 Hi, one question for experts... I have registered this dll (with regsvr32): c:\windows\system32\CarsLib.dll In the script i create object as ActiveX. It's works: .. $oDogLib = ObjCreate("CarsLib.EngineKit") $oDogLib.Type = "DM" .. But, I need distribute app with this dll without register on the target OS. My idea is place dll to same folder as my script. How call CarsLib.dll ad create object "CarsLib.EngineKit" without registered dll on the user system? Sorry for my very bad English. Thanks for help
FreeFry Posted February 28, 2008 Posted February 28, 2008 I would like to know why you can't register it if it's shipped with the app? You could FileInstall the file, then run regsvr32.exe to register it automatically, because I don't belive it's possible to use the object without registering it first. :/
Oldschool Posted February 28, 2008 Posted February 28, 2008 You can indeed do a distribution without registration...check this post by non other than PTREXRegFreeCOM Au3X Example, Use RegFree to Solve DLL Hell, Even With COM Clientshttp://www.autoitscript.com/forum/index.php?showtopic=54110
Oldschool Posted March 6, 2008 Posted March 6, 2008 It's perfect! Thanks Oldschool!Glad to hear...Thank.....PTREX!! PTREX!!PTREX!! PTREX!!.....PTREX!! PTREX!!Cheers man
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now