[RESOLVED] Use ActiveX DLL without installing an application
Hello!
Is it possible to use ActiveX controls and dynamic libraries without installing an application, by simply running EXE file?
Thank you!
Re: Use ActiveX DLL without installing an application
Sure, if the ActiveX controls and/or libraries are already present (and registered) on the system.
Re: Use ActiveX DLL without installing an application
An if there are not? I want my application, which uses DLL and ActiveX consists only from one EXE
Re: Use ActiveX DLL without installing an application
Are you trying to bypass installation security by trying combine the dll, ActiveX control into the exe and then someone split this out and register the components without requiring admin permissions?
Can you clarify what you are trying to accomplish?
Re: Use ActiveX DLL without installing an application
Actually in case of this application security itself may be a problem. If there is no permissions application may not be able to create temporary files, and may not be able to be installed, but still need to be run.
Re: Use ActiveX DLL without installing an application
In order to register an ActiveX control, you'll need permissions to install at a minimum.
Re: Use ActiveX DLL without installing an application
You could include the ActiveX DLL in your EXE as a resource. At runtime you extract the DLL to a folder, register it, and then create the ActiveX control.
Re: Use ActiveX DLL without installing an application
Quote:
Originally Posted by
Zaccheus@Work
You could include the ActiveX DLL in your EXE as a resource. At runtime you extract the DLL to a folder, register it, and then create the ActiveX control.
You'll still need permissions to make registry entries.
To the OP... why all the secretism? Why not just create a setup program and install the app the normal (and recommended) way?
Re: Use ActiveX DLL without installing an application
Quote:
Originally Posted by
GGJohn
Actually in case of this application security itself may be a problem. If there is no permissions application may not be able to create temporary files, and may not be able to be installed, but still need to be run.
Maybe I'm missing something here...but are you saying the application may not be able to be installed but still it needs to be run? I don't see how that would work...
Re: Use ActiveX DLL without installing an application
Quote:
Originally Posted by
Arjay
You'll still need permissions to make registry entries.
Yes, of course you would.
Re: Use ActiveX DLL without installing an application
Yesterday I found BoxedApp Packer. This utility helps to create an app, which using ActiveX controls and DLLs directly from memory buffer without extracting it to temp directory, so there is no install permissions needed. Looks like the problem is solved.
Re: Use ActiveX DLL without installing an application
Quote:
Originally Posted by
GGJohn
Yesterday I found BoxedApp Packer. This utility helps to create an app, which using ActiveX controls and DLLs directly from memory buffer without extracting it to temp directory, so there is no install permissions needed. Looks like the problem is solved.
So why can't you just install the app and its dependencies the normal way using a setup program?
Re: [RESOLVED] Use ActiveX DLL without installing an application
There may be no permission for installation of the app. But I still needed to run it anyway :)
Re: [RESOLVED] Use ActiveX DLL without installing an application
Without the proper permissions, you won't be able to write to the registry so that means you won't be able to register the ActiveX controls. And without registration, COM won't be able to load the ActiveX object, so even if BoxedApp can combine the components into one exe, it still won't work.
Why some folks spent so much time circumventing security is beyond me.
Re: [RESOLVED] Use ActiveX DLL without installing an application
Quote:
Originally Posted by
Arjay
Without the proper permissions, you won't be able to write to the registry so that means you won't be able to register the ActiveX controls. And without registration, COM won't be able to load the ActiveX object, so even if BoxedApp can combine the components into one exe, it still won't work.
BoxedApp writes registry settings into memory, not real registry. Please read the product's description carefully.
Quote:
Originally Posted by
Arjay
Why some folks spent so much time circumventing security is beyond me.
;)
Re: [RESOLVED] Use ActiveX DLL without installing an application
Quote:
Originally Posted by
_UE_
BoxedApp writes registry settings into memory, not real registry.
So you are saying that this app can fool the COM subsystem into thinking that an ActiveX control has been registered properly?
Re: [RESOLVED] Use ActiveX DLL without installing an application
Quote:
Originally Posted by
Arjay
So you are saying that this app can fool the COM subsystem into thinking that an ActiveX control has been registered properly?
Yes, exactly.
Thank you.