![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
Hi,
I use vb6 to create Com Addins for outlook 2000 and 2003. Usually, I run the setup.exe which I create with the Package and Deployment Wizard, in a target machine and so I do to all users(One by one). When I have to make a change in the AddIn I have to make a new package and then I have to go to all users, one by one, and then using the windows Add/Remove programs to remove the addin and then I run the new setup.exe. I think that it is not a good way to deploy Add-Ins and to update them if I make a change. I spend a lot of time to do this. Is there a way more efficient to deploy AddIns and to update them ? Is vs 2005 has better tools for this tasks. Thanks, David |
#2
|
|||
|
|||
![]()
The P&D wizard also produces bloated packages that install everything but
the kitchen sink. VS 6 has a free version of InstallShield that you can use, but it's a bit out of date. Installers that use Windows Installer (as do the setups produced by VS 2005) can install over an existing addin as long as the properties for updating are set and a new guid is used for the product code. The upgrade code remains the same. I wouldn't call anything in .NET easier than VS 6, but the deployment story is somewhat more up to date there. But you have to weigh the advantages of ..NET against its disadvantages. If you want to stay with VB 6 code I'd suggest looking into commercial installer packaging software. InstallShield and Wise are the biggest players there and both produce installers that are compliant with Windows Installer. I'm sure there are other players out there but I'm really only familiar with InstallShield and Wise. -- 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, I use vb6 to create Com Addins for outlook 2000 and 2003. Usually, I run the setup.exe which I create with the Package and Deployment Wizard, in a target machine and so I do to all users(One by one). When I have to make a change in the AddIn I have to make a new package and then I have to go to all users, one by one, and then using the windows Add/Remove programs to remove the addin and then I run the new setup.exe. I think that it is not a good way to deploy Add-Ins and to update them if I make a change. I spend a lot of time to do this. Is there a way more efficient to deploy AddIns and to update them ? Is vs 2005 has better tools for this tasks. Thanks, David |
#3
|
|||
|
|||
![]()
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. "Ken Slovak - [MVP - Outlook]" wrote: The P&D wizard also produces bloated packages that install everything but the kitchen sink. VS 6 has a free version of InstallShield that you can use, but it's a bit out of date. Installers that use Windows Installer (as do the setups produced by VS 2005) can install over an existing addin as long as the properties for updating are set and a new guid is used for the product code. The upgrade code remains the same. I wouldn't call anything in .NET easier than VS 6, but the deployment story is somewhat more up to date there. But you have to weigh the advantages of ..NET against its disadvantages. If you want to stay with VB 6 code I'd suggest looking into commercial installer packaging software. InstallShield and Wise are the biggest players there and both produce installers that are compliant with Windows Installer. I'm sure there are other players out there but I'm really only familiar with InstallShield and Wise. -- 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, I use vb6 to create Com Addins for outlook 2000 and 2003. Usually, I run the setup.exe which I create with the Package and Deployment Wizard, in a target machine and so I do to all users(One by one). When I have to make a change in the AddIn I have to make a new package and then I have to go to all users, one by one, and then using the windows Add/Remove programs to remove the addin and then I run the new setup.exe. I think that it is not a good way to deploy Add-Ins and to update them if I make a change. I spend a lot of time to do this. Is there a way more efficient to deploy AddIns and to update them ? Is vs 2005 has better tools for this tasks. Thanks, David |
#4
|
|||
|
|||
![]()
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. |
#5
|
|||
|
|||
![]()
Hi Ken,
Thanks a lot for your help. David "Ken Slovak - [MVP - Outlook]" wrote: 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. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlook 2003 Addins for Rules??? | Chris | Outlook - General Queries | 1 | August 29th 06 08:53 PM |
Debugging addins for Outlook2007 | Joe -PD- | Outlook and VBA | 0 | July 14th 06 01:18 AM |
Error Message re AddIns | pwise | Outlook - Installation | 1 | May 7th 06 02:36 AM |
bad addins for outlook | kyle | Outlook - Installation | 0 | March 10th 06 12:35 AM |
Outlook deployment | Sue Mosher [MVP-Outlook] | Outlook - Installation | 0 | January 18th 06 07:00 PM |