PDA

View Full Version : Suggestion: Register COM interface in Post Install


SetupJuggler
05-07-2009, 07:58 AM
Hi,
using SUF 8.1.1006.0

Today, if you enter file properties/advanced dialog and set the checker to OLE/ActiveX Register COM interfaces, then the file will be registered immediately after it is installed to the target. The SUF log file shows this behaviour.

My suggestion is not to register COM/ActiveX immediately after they are installed, but rather after all of the files are installed. If you have some dependencies between your installed files and one of them is not yet installed, then you might got an error on register. In On Post Install or just before this action all of your files are avail and it should work correct.
A combobox to select the install time (while installing, on post install, ...) to register would be the cherry on the cake. The default combobox selection is the behaviour today, while installing.

Best regards,
Udo

jassing
05-07-2009, 11:28 PM
Udo:
I think the way it operates now is just fine. If you have dependancies, use the install order to install them 1st. failing that; you can always register them yourself.

Having SUF do the work in post install I think asks for too much; what if one of the ocx relies on another ocx, so now you want install order + post install?

I say leave it the way it is; we have enough tools to work out this issue.

SetupJuggler
05-13-2009, 07:44 AM
Hi,

with my previous installer I did all the registration after all of the filecopy was done and it worked for 10 years. I thought this could be a simple way if you don't have to concern about registering order.

Yes, you're right with SUF Install order you may manage the COM server registration in all cases. I also do it within my Install.

I cancel this suggestion.