Remove Files/Folders from Project with many References - Advanced Installer Community
mguenth83
Posts: 38
Joined: Wed Dec 31, 2014 11:02 am

Remove Files/Folders from Project with many References

Hi,
i tried to delte one or more Folder with files into it, but i cant delte this because there are many references on it. So is there anyway so delte the Folder and References in one Step ?
On my Project there are over 700 Refences so not way to delte this manually.

Thx
Matthias
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Remove Files/Folders from Project with many References

Hi Matthias,

I'm afraid that there is no option to delete the files with all their references in only one step. However, even though there are 700 references, usually it is not necessary to take so much steps to delete them, the references can usually be removed in a row. For example, if there are 100 custom actions referencing 100 files, you can first delete those custom actions all at once, then the files.

Please send me the AIP file to support at advancedinstaller dot com and tell me the folders and files that you want to remove and I will try to help you with this.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Remove Files/Folders from Project with many References

Hi Matthias,

I replayed to your e-mail, so we can continue the conversation there.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mguenth83
Posts: 38
Joined: Wed Dec 31, 2014 11:02 am

Re: Remove Files/Folders from Project with many References

Hi Eusebiu,
it works great, so please let us know how you fixed that Problem! I think other Users have same Problems ;)
Great will be if you had a Little Script for it or write an Step-by-Step Tutorial :D

Thx
Matthias
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Remove Files/Folders from Project with many References

Hi Matthias,

I'm afraid that, as I already mentioned, we do not have a script or any other automatic way to remove all the references from a project, so I did everything manually following the steps below:
- trying to delete your folder a message telling that there are some references appeared, so I used the "Search" button to find those references
- it displayed some "Classes\CLSID" references which means that the references are found in the "COM" page (because of an Advanced Installer issue it redirected to the "Registry" page however)
- I went to the "COM" page and removed all the entries that contained that folder's name into the file path (all this work took me about 10 minutes, but I saved the project from time to time so, in case of a mistake, I would not lose all the modifications)
- then trying to delete the folder again I found that there was a registry key in the "Registry" page referencing it, I deleted the key and then the folder could be removed

I hope this helps, so just let me know if you need more information.

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

Return to “Common Problems”