@all interested to this post,
After a little bit work with it I actually found out that this works. If you
create an msm via VS2005 and reference it in your WiX project it will work with
a little trick. First You need the Id of the module, which you can gain from VS
but if you just add the mergemodule, the package seems to be installed to a
subdirectory of /dev/null . After I added a component with a file in it to the
directory which contains the mergemodul as well as I added this component to
the feature with the mergemodul it installed to
[TARGETDIR]\”inVSspecifiedfolder”. If you want to change the specified folder
(especially if you use these msm’s in other VS setups with the “Module
Retargetable Folder” thing) you just look through the logfile or the decompiled
wxs of dark and search for the id of the Directory. You will also see that VS
add a custom action to set the folder and this action is triggered
Before="CostInitialize" so you can write your own CA in your wix project,
specify the folder and trigger the event after CostInitialize… although I think
it’s not the best way and there is certainly a better way because I don’t know
what will happen if the hard drive is full etc. But this works for now :-)
Thanks Richard!
Regards, Peter
________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, September 14, 2007 3:15 PM
To: [EMAIL PROTECTED]
Subject: RE: [WiX-users] telling WiX to get files from Team Foundation Server
Peter,
That sounds like it might just work….
I suspect you should also find that the directory may not be as much trouble as
you think. Remember that your <Merge> element (as opposed to any <MergeRef>
used to tie the contents of the merge module to a feature) will typically be
placed inside a <Directory> anyway… and you have complete control over where
the <Merge> element gets placed.
Hope it works for you! If it does, please report back here, as I am sure others
would be interested too! :-)
Regards,
Richard
________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, September 14, 2007 9:02 AM
To: Foster, Richard - PAL
Subject: RE: [WiX-users] telling WiX to get files from Team Foundation Server
Hi Richard,
After having a pretty good lunch I got an idea, but I dont know if WiX could
possible do the trick. So I can let do Visual Studio do the merge modules and
instead of creating a msi by Visual Studio I reference these msm files in a
wxs. I was not able to try it yet, but I think there will be a problem with the
directories I think (because at the wixtutorial the directories where specified
in the merge modules as well as in the msi file)… but could that be some kind
of workaround?
Regards,
Peter
________________________________
* C O N F I D E N T I A L I T Y N O T I C E *
-----------------------------------------------------------
The content of this e-mail is intended solely for the use of the individual or
entity to whom it is addressed. If you have received this communication in
error, be aware that forwarding it, copying it, or in any way disclosing its
content to any other person, is strictly prohibited. Quixote Traffic
Corporation is neither liable for the contents, nor for the proper, complete
and timely transmission of (the information contained in) this communication.
If you have received this communication in error, please notify the author by
replying to this e-mail immediately and delete the material from any computer.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users