PDA

View Full Version : Merge module TARGETDIR resolution problem?



NewsArchive
12-10-2001, 01:00 AM
Morning,

This is probably due to my ignorance...I have a setup that sets the
INSTALLDIR correctly, I have verified this, files installed go to the
correct place (they were going to the drive's root before I had it working
correctly). I have a merge module whose INSTALLDIR property is set to
TARGETDIR. My understanding of this is that this will allow any references
to INSTALLDIR in the MM to resolve to the host setup's INSTALLDIR. The only
references I have in the MM are in the registry keys created, where a value
is set to [INSTALLDIR]Dir1\Dir2. However, when I run the setup, INSTALLDIR
does not resolve to the host setup's INSTALLDIR, but resolves to the root of
the drive. What am I doing wrong?

NewsArchive
12-11-2001, 01:00 AM
K.C.

I just had the same problem. I fixed it by doing the following: In your main
project, select "Merge Modules". Right click on the Merge Module that you
want to install and select "Properties" from the floating menu. The
properties window will appear and you will see the "Destination:" field.
Select [INSTALLDIR] as the destination. Your MM files should now install to
the correct location.

Hope this helps

Anthony



"K.C." <none> wrote in message news:3c14ed1e@news.installshield.com...
> Morning,
>
> This is probably due to my ignorance...I have a setup that sets the
> INSTALLDIR correctly, I have verified this, files installed go to the
> correct place (they were going to the drive's root before I had it working
> correctly). I have a merge module whose INSTALLDIR property is set to
> TARGETDIR. My understanding of this is that this will allow any
references
> to INSTALLDIR in the MM to resolve to the host setup's INSTALLDIR. The
only
> references I have in the MM are in the registry keys created, where a
value
> is set to [INSTALLDIR]Dir1\Dir2. However, when I run the setup,
INSTALLDIR
> does not resolve to the host setup's INSTALLDIR, but resolves to the root
of
> the drive. What am I doing wrong?
>
>

NewsArchive
12-12-2001, 01:00 AM
Thank you, Anthony. Yes, that did the trick. I thought the default
destination meant it was going to INSTALLDIR, but I guess not!

"Anthony Ugrinic" <Anthony.Ugrinic@lansa.com.au> wrote in message
news:3c15a589@news.installshield.com...
> K.C.
>
> I just had the same problem. I fixed it by doing the following: In your
main
> project, select "Merge Modules". Right click on the Merge Module that you
> want to install and select "Properties" from the floating menu. The
> properties window will appear and you will see the "Destination:" field.
> Select [INSTALLDIR] as the destination. Your MM files should now install
to
> the correct location.
>
> Hope this helps
>
> Anthony
>
>
>
> "K.C." <none> wrote in message news:3c14ed1e@news.installshield.com...
> > Morning,
> >
> > This is probably due to my ignorance...I have a setup that sets the
> > INSTALLDIR correctly, I have verified this, files installed go to the
> > correct place (they were going to the drive's root before I had it
working
> > correctly). I have a merge module whose INSTALLDIR property is set to
> > TARGETDIR. My understanding of this is that this will allow any
> references
> > to INSTALLDIR in the MM to resolve to the host setup's INSTALLDIR. The
> only
> > references I have in the MM are in the registry keys created, where a
> value
> > is set to [INSTALLDIR]Dir1\Dir2. However, when I run the setup,
> INSTALLDIR
> > does not resolve to the host setup's INSTALLDIR, but resolves to the
root
> of
> > the drive. What am I doing wrong?
> >
> >
>
>