I tried DiskId inside <File> before trying inside the component tag, and the 
same behavior happened... :/

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: samedi 1 mars 2008 06:43
To: [EMAIL PROTECTED]
Subject: Light... could spare me some time!

hey may be try dis out..
specify the attribute diskid
in the file tag

Aurélien DEROUINEAU wrote:
> 
> I build packages with two media components:
> 
>  
> 
> <Package InstallerVersion="300" Compressed="yes" />
> 
> <Media Id="1" Cabinet="files.cab" EmbedCab="yes" />
> 
> <Media Id="2" Layout=".\files" />
> 
>  
> 
> And here is a sample Component/File couplet that I use:
> 
>  
> 
> <Component Id="file.fil" DiskId="2" Guid="{*****}">
> 
> <File Id=" file.fil" Name=" file.fil" Compressed="no" Checksum="yes"
> KeyPath="yes" Source="C:\Original Path\file.fil" />
> 
> </Component>
> 
>  
> 
>  
> 
> The problem is that when building the project, the FIL files are put in
> the
> right folder (<root>\files), however Windows Installer looks for them
> inside
> the root folder and not the files subfolder, which is rather frustrating:
> I’ve been trying to hack around with it but no luck came out. Hopefully
> you
> can show me the light.
> 
>  
> 
>  
> 
> Also, another annoyance: FIL files amount for a few gigabytes, and it
> seems
> that light tries to copy them to my files subfolder each time I compile,
> even though no changes have been made to these files! Is there a way to
> restrain light from copying them every time to save compilation time?
> 
>  
> 
> Thanks a bunch.
> 
>  
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> 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
> 
> 
Quoted from: 
http://www.nabble.com/Light...-could-spare-me-some-time%21-tp15625238p15625238.html



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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

Reply via email to