I have an application which during the normal course of operations will download and install extra "extension" components as SIS files. When I uninstall my application, I want the application and all the extensions to go. The extension SIS files have a dependency on the main application in their pkg files.
I have an exe which will remove all the extensions, which I run at the start of the uninstallation using the filerun and runremove options. Unfortunately this doesn't do the trick, because I believe the installer system gives an "in use" error because it is in the middle of uninstalling the main application.
Is there any way to achieve what I am after?