The TARGETDIR of the Merge Module can be redirected during Merge time to 
accomplish exactly what you want.  This is documented in the MSI SDK.  That's 
why the Merge element is nested under a Directory.

-----Original Message-----
From: Adam Langley [mailto:alang...@winscribe.com] 
Sent: Tuesday, January 06, 2009 18:19
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] creating a merge module which outputs files to a directory 
passed from the setup project.

I have created a merge module which needs to use a directory created by the 
parent installer.

The goal is that the merge module will place its output into a folder of a 
specific ID declared by the parent MSI.
I cannot just use fragments because this merge module needs to be used from 
installshield.

Can someone explain how I can reference (from my merge module wix) a directory 
declared in the parent MSI (which obviously doesn't exist yet, at compile time 
of the msm).

I was hoping something like <DirectoryRef> was available which deferred its 
resolution until runtime, but that doesn't be the case.

Help, anyone?

Thanks

Adam Langley
Senior Developer
Tel: +64 9 486 9010
alang...@winscribe.com
www.winscribe.com
 
 


------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to