Hmm, sounds like Wise broke the Merge Module spec. The correct way to 
refer to the directory in the Merge Module is with the .G_U_I_D appended.

jnewton wrote:
> I used to have some MSMs created by Wise that had an entry in the directory
> tree of INSTALLDIR. This entry didn't have modularization (i.e. no GUID
> appended) and as such when I merged this MSM into an MSI, whatever value of
> the MSI's INSTALLDIR was, I was able to use this propery in my MSM's source
> code. Particularly, I have some registry keys that write values like
> [INSTALLDIR]\blah.exe.
>
> However, now that I am using Wix, it appears I can't get this same behavior
> which seems odd. If I decompiled the Wise MSM, I ended up with two root
> directories (i.e. TARGETDIR and INSTALLDIR) which apparently is illegal.
>
> So my question is how do I setup my MSMs so that I can use the INSTALLDIR
> property that is set in my MSI.
>
> Right now, I simply have
> <Directory Id="TARGETDIR" Name="SourceDir">
>    <Directory Id="INSTALLDIR">
> ...
>    </Directory>
> </Directory>
> --
> View this message in context: 
> http://n2.nabble.com/Using-INSTALLDIR-in-MSM-That-Eventually-Reflects-the-MSIs-INSTALLDIR-tp2935794p2935794.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables
> unlimited royalty-free distribution of the report engine
> for externally facing server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>   

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to