We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

alain

registered ocx is not restored during rollback

Hi
I'm registering an ocx during installation of the app through the properties/auto register function of AI.
If I upgrade my app but cancel the upgrade operation then AI rolls back the previous version. Everything gets restored with the exception of the ocx registeration, with the result that the app doesn't work anymore...
How can this be resolved? Custom action? If yes, can you please give me an example? Is it possible with the built in function (property source)? I tried, but without success.

Kind regards
Alain
UdreaMihai
Posts: 90
Joined: Wed Mar 23, 2005 8:13 am

Hi Alain,

That is why Microsoft advises against self registration: Windows Installer can't rollback a self-registration because it doesn't know what the component did to register itself.

The preferred way to register a component is to install all its registry keys separately. You can author them in the "Registry" page.

Best,
Udrea Mihai
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”