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

Is it possible to enter a relative path for a MM?


9 replies to this topic

Druid

Druid
  • Members
  • 21 posts

Posted 20 February 2006 - 22:37

Is it possible to enter a relative path for a Merge Module?

When a Merge Module is added to the project, the absolute path is written to it properties (such as, "C:\Project\MergeModules\MM1.msm"). Is it possible to change it, that it looked like "<ISProjectFolder>..\..\MergeModules\MM1.msm")?

It is necessary for maintenance of correct work in CVS - at use of the project by other machine where the external way will be not "C:\Project", but "C:\Some\Prj\New" etc.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 21 February 2006 - 17:42

In the InstallShield IDE options you can set the search path for msm files.

Druid

Druid
  • Members
  • 21 posts

Posted 21 February 2006 - 21:18

Stefan Krueger,
thanks for you answer, but different Merge Modules lies in different folders but on one way from project folder. (It's used in work with CVS)

Is it means that relative paths is impossible to set for Merge Modules?

tktk

tktk
  • Full Members
  • 24 posts

Posted 22 February 2006 - 03:46

Hello,
I also have suffered by this and gave it up to use relative path.

My solution is not to point path in sandbox but to point external path such as C:\Program Files\Common Files\Merge Modules\xxxx.msm.
And in Makefile, copy merge module in sandbox to external path prior to build installer project.
This is dirty and pollutes environment of build machine but build can be run on any machine without any modification on installer project.

hope this helps you.


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 22 February 2006 - 10:30

I don't think that relative paths will work. But you can have multiple paths in the merge module sarch path (separated by ; )

Druid

Druid
  • Members
  • 21 posts

Posted 17 March 2006 - 14:46

Stefan Krueger,

in InstallShield Help Library (InstallShield 11.5) I found this:
QUOTE

The Merge Module Locations path supports the use of environment variable.

Do you know how it works? I try to use records like ,%SOME_DIR%\src\MergeModules in Options->MergeModules tab, but compiler put error 4075 - "File not found...". With absolute path - all work fine. (SOME_DIR correctly added in environment variables)



Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 20 March 2006 - 07:51

I didn't even know that. I never tried it, don't know if or how it works.

Druid

Druid
  • Members
  • 21 posts

Posted 21 March 2006 - 13:03

Can you tell me, please, to whom from official representative InstallShield I can to apply for information about this question? (quote from InstallShield Help Library)

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 22 March 2006 - 10:36

You could try using the Macrovision contact form:
http://mktg.macrovis...et/mvsn_contact

or the InstallShield feedback form:
http://www.installshield.com/feedback/

or submit a support request, or call their sales department (who might be able to forward your question/request).


MrSmersh

MrSmersh
  • Full Members
  • 48 posts

Posted 22 March 2006 - 10:44

I have tried this on 8.02.
Does not work....