Jump to content

This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.

MSM Installation in Different Folders

2 replies to this topic


  • Full Members
  • 30 posts

Posted 27 April 2006 - 11:38


I Have a MSM which I use in 2 differnet installations.
I want in to be installed under the TARGETDIR of each installation BUT in different sub folder.

This is what I did:

1. Add the MSM file to the MSI.
2. Create a Custom Folder in the MSI project.
3. On the MSM Properties I changed the MergeModule Properties-> Module Retargetable folder to be the new Custom Folder.

When I run the install it goes just fine BUT when i chnage the TARGETDIR from the default one to any other i get the following error message:

"A portation of the folder path" is invalid.it is either empty or exceeds the lenght allowed by the system".

Did anyone know what to do ???

Thanks a Lot biggrin.gif


  • Full Members
  • 30 posts

Posted 04 May 2006 - 09:56

Hi Again ...

I tried everything ....
But it looks like MS Bug.
Can someone confirm this or Know how to help me in this issue .....



  • Full Members
  • 532 posts

Posted 05 May 2006 - 05:27

Inside the merge module, it will have a root folder.

All you need to do in your main msi is make sure that this root folder is in the directory table and give it a parent of the folder that you want. You then make the "DefaultDir" of ".".