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!

Kratzer
Posts: 66
Joined: Wed Apr 10, 2013 5:36 pm

Remove registry entries during uninstall

Hello,

I have a question about registering COM components (i.e. ActiveX dll / ocx).
In our first setup versions we used the "self Register" option in AI.

I 've read that the preferred procedure is to use "extract registration info from native library".

When I Change registering Option in the Setups, HKCR in topic registry in AI becomes very large because of 60 components with 400 - 500 classes.

How can I ensure that uninstalling the setup is removing all the registry entries. It seems that nothing is removed when the product is uninstalled.

Setting option "remove on uninstall" in operations of registry key is not the best way, I think, because settings have to be changed entry by entry.

Do you have an advice?

Best regards,
Bernd
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Remove registry entries during uninstall

Hi Bernd,

I'm not sure why those registry entries are not removed during the uninstallation, but normally they should be removed. Can you reproduce the behavior on multiple clean machines? If so, can you please send us the .AIP (project file) and a verbose log of the installation to support at advancedinstaller dot com, so we can investigate them?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Kratzer
Posts: 66
Joined: Wed Apr 10, 2013 5:36 pm

Re: Remove registry entries during uninstall

Hi Eusebiu,

do I have to set option "Delete (if present) at uninstall" for each entry?

Best regards,
Bernd
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Remove registry entries during uninstall

Hi Bernd,

Those registry keys should be removed by default during the uninstallation of your product. However, if you want to force their removal, you can go to the "Operations" tab and check the "Remove this key with all its values and subkeys" option.

You can also set this option only on a parent key and all its subkeys will be removed too, but you need to be sure that no other entry that might be important for the System is found under that key.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”