I guess the reason is that Wise uses TARGETDIR as destination property for
the files, while InstallShield names the property INSTALLDIR. Did you specify
the merge module destination in InstallShield (right click the module)? As a
workaround you could have a custom action that sets TARGETDIR to the value of
[INSTALLDIR].
--
Stefan Krueger
Microsoft Windows Installer MVP
Windows Installer FAQ
www.msifaq.com -
www.msifaq.de
InstallSite - Resources for Setup Developers
www.installsite.org
www.installsite.de
"Howard" wrote:
> I have come across a fairly serious problem when creating merge
> modules using Wise. I've searched the web and newsgroups for info, but
> haven't found anything relevant. I'd welcome any info from people
> who've come across this issue.
>
> The problem is that when the Wise-generated merge module is used in an
> InstallShield installer, the files in the merge module do not go to
> the correct directory. When the same merge module is used in a Wise
> installer, the files go to the right place (as you'd expect).
>
> Wise says that when creating the merge module, the files should go in
> the folder named "Application". At install time, files in this folder
> will end up in the chosen install location (e.g. C:\Program Files\My
> App). I have created a merge module with files destined for a
> bin\i386-win32 subdirectory, so I create the necessary folders
> relative to the "Application" folder, and put the files in place.
>
> When such a merge module is used in a Wise installer, things are fine,
> and the files end up in e.g. C:\Program Files\My App\bin\i386-win32.
> The problem comes when InstallShield is used with the Wise-created
> merge module. In this case, the files end up in C:\Program Files\My
> App\Application\bin\i386-win32.
>
> I was surprised to find no reference on the web/newsgroups to other
> people who have seen this problem. Has anyone come across this? Any
> thoughts on a fix?
>
> I have reproduced this behaviour on up-to-date demo versions (Wise for
> Windows professional 6.0 and InstallShield X Pro 10). Interestingly,
> if the merge module is created using InstallShield, the files end up
> in the correct place whichever software package is used with the merge
> module. So it looks as though it is definitely Wise that is causing
> the problem.
>
> I also ran an Orca merge module validation on both the Wise and IS
> merge modules. Wise generated 37 errors, but IS didn't give any
> errors.
>
> This is a major problem for our software development. I've contacted
> Wise but they have not yet replied with anything useful. It seems that
> the only way to guarantee correct merge module behaviour is to use
> InstallShield rather than Wise to create the merge module.
>
> Any help or info on this would be much appreciated.
>
> Howard
>