howto create an installer (setup) program for my BHO?
Hello people,
I have written a bho. I now need to create an installation program for it.
I have tried the VB package and deployment wizard.
Problems are:
1. As u would know, the bho should be added to the appropriate registry-folder. Will any installer do this for me automatically?
If vb deployment wizard can do it, then how?
2. When i run the created setup.exe, I get one warning with the abort/retry/ignore dialog:
f:/windows/system32/wininet.dll
Destination file is in use. Please close applications and try again.
I can clear this warning with abort, and setup resumes.
I understand this is happening bcos i have bundled wininet.dll with the installation program, and I have my broadband connected. But what if the user aborts due to this warning?
Can I not distribute wininet.dll and getaway with it (since my software is going to be of use only to networked users, and networked users should be having wininet.dll in the first place)?
thanks for ur time..
[dEEPS]
Re: howto create an installer (setup) program for my BHO?
Welcome to the Forum deeps_chennai :wave:
Have a look at Inno Setup: http://www.jrsoftware.org
You can configure so if a file exists, it isn't replaced etc.
(wouldn't wininet.dll exist on all NT based OS's?)
Re: howto create an installer (setup) program for my BHO?
deeps_chennai,
If you are going to use Inno Setup be sure to look at ********** to help you create your Inno Setup script.
Re: howto create an installer (setup) program for my BHO?
You can also use the package and deployment wizard that comes with VB.
Just go to Start->Programs-Visual Studio 6.0 ->Tools->Package and Deployment wizard
Browse to your vbp file and follow the wizard. Not a lot of features, but its a good bare-bones setup program.
Re: howto create an installer (setup) program for my BHO?
And please read Installation Problems in my signature for more possible help.
Re: howto create an installer (setup) program for my BHO?
thanks all for the suggestions & responses.. they were very helpful
i have tried various things.. install shield coming with vc++, Inno setup, vb package and deployment wizard etc..
i got the vb package dep wiz to generate the applications CLSID in the CLASSES_ROOT. So now I only need to make the setup to execute a script which will read my CLSID value and create that key under the local_machine/windows/..../BHO.
I have done this with installshield scripting. but i guess its useless now that im doing with vb package dep wiz. so how do i do this? read something abt RGS scripting but am not sure how to write it, or how to make the setup to execute it.
thanks all..
[dEEPS]