Click to See Complete Forum and Search --> : Updating/Registering Loaded ActiveX


frafati
May 6th, 2003, 03:47 PM
Hello all,

I want to check (in NT based platforms) some ActiveX files when my application starts and reinstall and reregister them if update is needed.

Considering the case that the OCXs are already loaded. Is there any way to have the OS do also the registration for me like the way MoveFileEX function works with the flag MOVEFILE_DELAY_UNTIL_REBOOT set which will cause the OS to move the file after reboot.

Appreciate your replies.

frafati
May 6th, 2003, 07:28 PM
Mike Harnad replied to this question as stated below:

You may be able to accomplish this by using the RunOnce registry keys. They're what allow Windows to copy, install, etc. after a re-boot. Take a look at knowledge base articles Q137367 and Q232487. They will give you a background in how to use these registry keys.

Thank you Mike Harnad

Also:
Complete information about RunOnceEx can be found at ttp://support.microsoft.com/default.aspx?scid=kb;en-us;232509