That will work but isn't as automated or flexible as a Windows Installer
solution. Just make sure you're also installing and registering all
dependencies. Your method only works if there are no dependencies.
For example, you're using a tab control in your code. You have to make sure
that TabCtl32.ocx is installed.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
"DavidE" wrote in message
...
Hi Ken,
Thanks for your reply.
I saw a simple way to install AddIn and I want to know what are you saying
about it.
I tried it and it works good.
The steps :
1. Create the dll with vb6.
2. Create a .bat file and put it on the network . This file contain two
rows:
A. Copy the dll from the network to the local machine.
B. Use regsvr32 with the full path to the dll on the local machine.
I can use \s for silent registration, and \u to uninstall it.
C. If I update the dll, I replace the old dll on the network with the
new one(which
has the same name) and run the .bat file on the local machine
again. The
local machine will work with the new version.
Waiting for your advice
David.