 |
Gharakhanlou Level: Scholar
 Registered: 30-04-2005 Posts: 40
|
Registering DLL files via setup
hi for every one especially for goran
first does every dll files need for register to work with app.
and how dll files regester in installind a package
for example in install shield when we add dll files in system folder duruing installation does them register or we should do other things.
and how application know their after installation where they installed
thanks more
|
|
20-05-2005 at 01:20 PM |
|
|
Goran Level: Moderator
 Registered: 16-05-2002 Posts: 1681
|
Re: Registering DLL files via setup
quote: first does every dll files need for register to work with app
No, it doesnt. If you receive an error like 'Failed to register... dll entry point was not found', then it means that dll doesnt need to be registered.
quote: and how dll files regester in installind a package
depends on the installer... for instance, with Visual Studio Installer (VSI) you can set property Register to vsrSelfRegister, which will during the installation automatically register this file. I beliebe that Install shield also has this feature, so you just need to explore it a little.
quote: and how application know their after installation where they installed
Application first searches for the dll in its folder, and if it doesnt find it, it then searches in System (win9x) or System32 (Windows NT) directory. If you create your own dll, which will be used only by your application, then you can put it in your application folder without any worries. the good practice when distributing application is to put dll(s) in the same location(s) where you find it (them) on your OS.
____________________________
If you find the answer helpful, please mark this topic as solved.
|
|
21-05-2005 at 06:55 PM |
|
|
ryansanders2002 Level: Big Cheese
 Registered: 26-10-2004 Posts: 21
|
Re: Registering DLL files via setup
For easy dll registering.. try INNO Setup COmpiler (http://jrsoftware.org)
For each file you can set regserver flags. This will register a dll,ocx etc.
|
|
27-05-2005 at 11:23 PM |
|
|
|
|
 |
 |