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.
Photo

Merge Tools?


8 replies to this topic

Matthias1967

Matthias1967
  • Full Members
  • 92 posts

Posted 21 April 2009 - 09:44

Hello,

I need to merge a merge module into an MSI database. The MSI database is created with InstallShield; however I cannot perform the merge at MSI build time. So I need a merge tool. MSDN says
QUOTE
The best alternative is to obtain a freely distributed merge tool or purchase one of the merging tools to be available from independent software vendors.

However, the only tools I could find so far are Orca and the COM server mergemod.dll.
Do any other such tools exist?

Regards,

Matthias

KathyMorey

KathyMorey
  • Full Members
  • 111 posts

Posted 21 April 2009 - 13:37

I'm a little confused. Did you build the MSI with InstallShield from your own project, or are you trying to merge additional components directly into an already compiled MSI?
Kathy Morey
Synergy Software Engineer
ProfitStars, a Jack Henry Company
kmorey@profitstars.com

Matthias1967

Matthias1967
  • Full Members
  • 92 posts

Posted 22 April 2009 - 07:04

I do try to merge additional components directly into an already compiled MSI.

In our workflow, it is necessary to keep some components exchangeable.

Zweitze

Zweitze
  • Full Members
  • 522 posts

Posted 22 April 2009 - 10:34

What do you want the tool to do?

If you need an unattended merge: Orca has command switches, one of them is just merge the MSM and exit.

Matthias1967

Matthias1967
  • Full Members
  • 92 posts

Posted 22 April 2009 - 11:52

Yes, I have tried Orca, and is nearly fine. However, I still wonder whether there are other tools.

My main requirement is "unattended" merging that can be called from a script, indeed.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 22 April 2009 - 11:54

Have you seen this blog:
http://www.msigeek.c...nts-to-msi.html

Matthias1967

Matthias1967
  • Full Members
  • 92 posts

Posted 22 April 2009 - 12:47

Thank you Stefan.

I had not seen it before, but I am going to try...

I had thought msimerg.exe is actually only for merging the contents of two MSIs.

Matthias1967

Matthias1967
  • Full Members
  • 92 posts

Posted 05 May 2009 - 08:17

I do not think msimerg is the kind of tool I am looking for.

According to the MSI SDK documentation, it is based on the function MsiDatabaseMerge, which just tries to merge the data from two databases together, without connecting components of the MSM to features of the base MSI etc.

When I tried msimerg, it threw an error 1629, referred me to the table _MergeErrors, but here is no such table in either of the databases.

I am not going to touch msimerg in more detail....

angp

angp
  • Full Members
  • 49 posts

Posted 12 June 2009 - 04:25

You can use the msidb.exe to merge the msm.
Msidb is from SDK. u can get the help by typing msidb /?

Thanks,
Pek Yong