views:

140

answers:

2

Hi

I have an .MSI file created using VS2008. This .MSI is composed of a collection of merge modules, each of which basically installs one component of our application to its own folder.

When I try and uninstall the .MSI one of the subfolders created by a particular merge module is not removed, even if the application has not been run.

Any ideas why this may be ?

Interestingly a sub-folder underneath the un-removed folder is removed successfully. The un-removed folder and all of its contents can be deleted manually.

TIA

Matt

+1  A: 

Solved it - I had the path ModuleRetargetablePath set to the wrong default in the MSM project.

Matt
A: 

Hi Matt I was facing the same problems with my MSI which contains several MSMs. The DefaultLocation for the ModuleRetargetableFolder has to be be [TARGETDIR] for this to work, right?

I have a requirement where each of the MSMs need to have different default locations. Therefore, if the user does not specify a particular directory, each of the MSMs should copy their files into their respective default folders. How do I achieve this? As far as I can figure out, the MSMs will always go to the directory specified by the MSI.

karan
You may have more luck asking this as a question in its own right.
Matt