Problems with Distribution

Add-in Express™ Support Service
That's what is more important than anything else

Problems with Distribution
 
Destaque Empreendimentos em Inform?tica


Guest


Hi for all,
I and my team developed, using the AddIn Express, a solution to upload Word documents to our system, and 4 of our customers already using it.
To distribute the generated DLL, we created an install using Inno Setup. But we have two problems with this:

- Update the solution:
Each time that we solve a bug, or we increment our solution, we need install again in too many machines, and it is becoming almost impossible to us (and we planning soon install the DLL in another customer which is a big company, where there are too many machines).
How can we implement an auto-update to our solution? We know how the solution can ask to our server if there is a newer version, and we can imagine how perform the download of the newer DLL, but how can we register the new DLL? Because the Word is opened and we think that is not possible register the DLL with Word opened (for now, we are registering the DLL using the regsvr32 command - Is it the better way?)

- HTTPS Dependence
Our solution needs to communicate with a server which receive requests only through HTTPS protocol. And so, we are installing, together the DLL, the OpenSSL application (and MS C++ redistributable), but those dependencies are becoming a problem to us, because the OppenSSL installer (and MSC++) needs administrator privileges.
Does someone knows another way to use the HTTPS without dependence of OpenSSL? Maybe using a Delphi component that could be packaged into the DLL, or using some Windows default library?

We will be very pleased for any idea.

Regards,
Sergio
Posted 21 Nov, 2014 07:32:39 Top
Andrei Smolin


Add-in Express team


Posts: 18823
Joined: 2006-05-11
Sergio,

Destaque Empreendimentos em Inform?tica writes:
Because the Word is opened and we think that is not possible register the DLL with Word opened


It is possible to register while Word is running but you will not be able to make Word load the add-in after registering on the fly. You will not be able to replace the add-in's .DLL file while Word is running because the .DLL is locked. That is, you need to close Word, unregister the older version of your add-in, register the add-in and optionally start Word. All these must be done outside of the Word process.

Also note that if you don't modify the TLB, you can just replace the .DLL.

Destaque Empreendimentos em Inform?tica writes:
Does someone knows another way to use the HTTPS without dependence of OpenSSL?


Sorry, I don't know an answer to this question.


Andrei Smolin
Add-in Express Team Leader
Posted 21 Nov, 2014 08:33:04 Top