Add-In installation

G

Guest

Hi all,

I've created a VB6 COM Add-In (self-registering DLL file) for Outlook 2000 and have used Windows Installer 1.1 to create a setup (.msi) file to deploy it. It all works fine, but for one issue.

If I update the DLL (and increase the version number) and build a new .msi with the updated DLL, when I run the setup it doesn't overwrite the existing DLL, thus not reflecting the updated DLL. The setup asks me if I want to repair or remove the add-in, and if I choose repair it doesn't update the DLL, just leaves the current existing one.

I would like it to overwrite the installed DLL without having to uninstall and then install the updated add-in. Can anyone please help?

Thanks in advance,
Selgin
 
K

Ken Slovak - [MVP - Outlook]

I use InstallShield for that and in that software you change the
product code and set up a new one and an upgrade setup with the
minimum and maximum version you plan to support as an upgrade
installation.

I'm not sure how you'd do that for an installer package created
directly using Windows Installer 1.1 or with Orca but there must be a
way. Try searching in the Orca or Windows Installer documentation on
MSDN to see what settings in Windows Installer you would have to set
and what GUID's you'd have to modify.




Selgin said:
Hi all,

I've created a VB6 COM Add-In (self-registering DLL file) for
Outlook 2000 and have used Windows Installer 1.1 to create a setup
(.msi) file to deploy it. It all works fine, but for one issue.
If I update the DLL (and increase the version number) and build a
new .msi with the updated DLL, when I run the setup it doesn't
overwrite the existing DLL, thus not reflecting the updated DLL. The
setup asks me if I want to repair or remove the add-in, and if I
choose repair it doesn't update the DLL, just leaves the current
existing one.
I would like it to overwrite the installed DLL without having to
uninstall and then install the updated add-in. Can anyone please
help?
 
G

Guest

Thanks for your reply.
Where can I get InstallSheild for VB6? My Visual Studio 6 CDs only have InstallShield for VC++.


----- Ken Slovak - [MVP - Outlook] wrote: -----

I use InstallShield for that and in that software you change the
product code and set up a new one and an upgrade setup with the
minimum and maximum version you plan to support as an upgrade
installation.

I'm not sure how you'd do that for an installer package created
directly using Windows Installer 1.1 or with Orca but there must be a
way. Try searching in the Orca or Windows Installer documentation on
MSDN to see what settings in Windows Installer you would have to set
and what GUID's you'd have to modify.
 
K

Ken Slovak - [MVP - Outlook]

InstallShield isn't for any specific language. That one should work.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top