According to the WiX scheme, neither File nor Directory should have
inner text, but you have "DE" after you opening directory tag and
"Resources.dll_LANG" inside your file tag. What do these do? Also,
your File@Name and File@LongName are completely different. I'm sure
that's not a good idea. Your file name is fine in 8.3 format so you
shouldn't need the LongName parameter. You also don't have a File@Id
tag which I'm surprised candle and/or light didn't complain about. I'm
assuming here you've done a copy & paste, if not then is the Name
parameter meant to be the Id?
When I specify a src parameter for a file I specify the complete path,
including the file name. Don't know if that'll make a difference.
When you say the file does not exist at compile time, do you mean WiX
can't find it or that it really doesn't exist? If it really doesn't
exist there's not much that can be done since it's needed.
Rob
Mrudula Praisy Penumudi wrote:
> Hi,
>
>
>
> After compiling my source code, the directory structure
> "Msi\pfiles\DE" is created.
>
> The msi file resides under the folder Msi. I have a file "y.dll" under
> DE folder
>
> If the target installtion path is "C:\X", I want to copy the y.dll
> under DE to "C:\X\DE" during installation.
>
> Can anyone tell me how to do that?
>
> I tried the following way but I get compilation error as the src
> path("d:\msi\Pfiles\DE\") I defined is not available at compile time
> and hence could not locate the file.
>
> <Directory Name="DE" SourceName=".">DE
>
> <Component Id="40E037BA-576F-4024-9D26-DD3C7EC92738">Resources
>
> <File Name="test.dll" LongName="y.dll"
> src="d:\msi\Pfiles\DE\">Resources.dll_LANG</File>
>
> </Component>
>
> </Directory>
>
>
>
> Thanks,
>
> Praisy.
>
--
The views expressed in this message do not necessarily constitute the views of SN Systems Ltd and information in this message is confidential and may be privileged. It is intended solely for the person to whom it is addressed. If you are not the intended recipient, please notify the sender and please delete the message from your system immediately.
|