Item cannot be removed because it is referred by other items - Advanced Installer Community

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!

JDMils
Posts: 50
Joined: Tue Aug 10, 2010 12:42 pm

Item cannot be removed because it is referred by other items

I have a file in my project which I am no longer using, Microsoft.Office.Interop.Excel.dll, so I deleted the physical file from my VB.Net project folder but AI refuses to remove it stating that there are referrences to it in the project. When view the referrences, there are about 80 or so in the registry. Is there an easy way to remove them all or do I have to delete each one, one by one? Thanks.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Item cannot be removed because it is referred by other items

Hi,

Please make sure that this file is not using the Auto Register option from Edit File dialog. If it's not using it, you will need to remove the entries manually.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”