remove file depedning on other installations - 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!

dawies
Posts: 40
Joined: Thu Jun 23, 2011 7:03 am

remove file depedning on other installations

Hi there,

I have a few project that have inter dependent files. I want each installer to check if the other programs are installed before removing certain files and only remove them if none of the other programs are installed.

regards,

Dawie
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: remove file depedning on other installations

Hello Dawie,

To solve this you can share the files' component between projects. This implies they have the same GUID.

The recommended approach would be to build a merge module containing the files and include it in each project.

This way the component won't be removed if any of your installed programs are using it( have the same component shared ).

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”