Hi,

I have stored in a property a path where I need to create a folder and 
afterwards copy in it some files.

I've played a bit with the <CreateFolder> element, but I don't know how 
to parse the information stored in my property to correctly create the 
directory.

I've also tried to use the <CopyFile> element, but I've been unable to 
move the file copied in the INSTALLOCATION to my desired new location 
stored in the property. That's a code snippet of what I try, but seems 
that I couldn't specify the Delete attribute if the FileId is defined :

    <Component...>
        <File Id="TestFile" Name="test.txt" Source="test.txt" 
Vital='yes' DiskId='1' />
        <CopyFile Id="copyFile" FileId="TestFile" Delete="yes" 
DestinationProperty="[COPY_FOLDER]"/>
        ...
    </Component>

How could this be achieved? There are some samples?
   
Another problem is that my installer have to copy a bunch of files to 
diferent folders (not all to the INSTALLLOCATION path), and I'm not sure 
how to achieve this. The better way would be defining diferent modules 
or fragments in diferent wix files? Or it would exist a better option?

Thanks in advance.
-- 

Regards,

*Natxo Mateos*
[EMAIL PROTECTED]

*Asuni CAD* - _www.asuni.es <http://www.asuni.es>_ - 93 319 6868 - 91 
541 6439
*Especialistas en el desarrollo de aplicaciones a medida sobre AutoCAD*

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

Reply via email to