PC Review


Reply
Thread Tools Rate Thread

How to add large amounts of files to a run-time image

 
 
Joe T
Guest
Posts: n/a
 
      6th Sep 2005
Hi all,
I'm thinking this should be fairly simple but I can't find a quick easy way
to do this.

I've designed a component to install an application. No problem there.
In the standard install of the app that's run off of CD the setup creates a
few folders on c:\ for demo content.
For example it'll create the following c:\demo_images and copy about 100
bitmap files in to this folder. The files aren't an integral functioning
part of the app, they are template images which the user can make use of.

Is there any way to use Component Designer or Target Designer to say copy
all the files in to location X?
Or do I have to add the files to do component and then individually
specificy the destination?

If that is the case then I'm thinking it might just be easier to create the
necessary folders containing all the files and copy them to the run-time
image after TD has compiled it.


thanks,


Joe


 
Reply With Quote
 
 
 
 
KM
Guest
Posts: n/a
 
      6th Sep 2005
Joe,

I usually do that in an easiest way. (unless some more complicated setup needed at run time - then I use set of bat/cmd/wsh scripts
run as FBA commands)

On my dev machine I place all the files in the desired location (as it will be on the target device). Then in my custom component I
use "Multiple Files" feature adding files from that location.
CD will set up the destination of all the files to the same location.

If I need to add more than one folder, I use "Files in Folders" feature of CD (menu item for Files node of the SLD component).

--
Regards,
KM


> Hi all,
> I'm thinking this should be fairly simple but I can't find a quick easy way to do this.
>
> I've designed a component to install an application. No problem there.
> In the standard install of the app that's run off of CD the setup creates a few folders on c:\ for demo content.
> For example it'll create the following c:\demo_images and copy about 100 bitmap files in to this folder. The files aren't an
> integral functioning part of the app, they are template images which the user can make use of.
>
> Is there any way to use Component Designer or Target Designer to say copy all the files in to location X?
> Or do I have to add the files to do component and then individually specificy the destination?
>
> If that is the case then I'm thinking it might just be easier to create the necessary folders containing all the files and copy
> them to the run-time image after TD has compiled it.
>
>
> thanks,
>
>
> Joe



 
Reply With Quote
 
Lynda Allen \(MS\)
Guest
Posts: n/a
 
      6th Sep 2005
Joe,

There is no way to edit the destination of multiple file resources all at
once in Component Designer- you would have to set the destination path for
each file individually.

Your 2nd solution of just manually copying the files to the folder location
on the built runtime image will definitely work.

"Joe T" <(E-Mail Removed)> wrote in message
news:Omm$(E-Mail Removed)...
> Hi all,
> I'm thinking this should be fairly simple but I can't find a quick easy
> way to do this.
>
> I've designed a component to install an application. No problem there.
> In the standard install of the app that's run off of CD the setup creates
> a few folders on c:\ for demo content.
> For example it'll create the following c:\demo_images and copy about 100
> bitmap files in to this folder. The files aren't an integral functioning
> part of the app, they are template images which the user can make use of.
>
> Is there any way to use Component Designer or Target Designer to say copy
> all the files in to location X?
> Or do I have to add the files to do component and then individually
> specificy the destination?
>
> If that is the case then I'm thinking it might just be easier to create
> the necessary folders containing all the files and copy them to the
> run-time image after TD has compiled it.
>
>
> thanks,
>
>
> Joe
>



 
Reply With Quote
 
Joe T
Guest
Posts: n/a
 
      6th Sep 2005
Thanks Lynda.
I ended up using the method suggested by KM
"On my dev machine I place all the files in the desired location (as it will
be on the target device). Then in my custom component I
use "Multiple Files" feature adding files from that location.
CD will set up the destination of all the files to the same location."


Worked like a charm!


Joe


"Lynda Allen (MS)" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Joe,
>
> There is no way to edit the destination of multiple file resources all at
> once in Component Designer- you would have to set the destination path for
> each file individually.
>
> Your 2nd solution of just manually copying the files to the folder
> location on the built runtime image will definitely work.
>
> "Joe T" <(E-Mail Removed)> wrote in message
> news:Omm$(E-Mail Removed)...
>> Hi all,
>> I'm thinking this should be fairly simple but I can't find a quick easy
>> way to do this.
>>
>> I've designed a component to install an application. No problem there.
>> In the standard install of the app that's run off of CD the setup creates
>> a few folders on c:\ for demo content.
>> For example it'll create the following c:\demo_images and copy about 100
>> bitmap files in to this folder. The files aren't an integral functioning
>> part of the app, they are template images which the user can make use of.
>>
>> Is there any way to use Component Designer or Target Designer to say copy
>> all the files in to location X?
>> Or do I have to add the files to do component and then individually
>> specificy the destination?
>>
>> If that is the case then I'm thinking it might just be easier to create
>> the necessary folders containing all the files and copy them to the
>> run-time image after TD has compiled it.
>>
>>
>> thanks,
>>
>>
>> Joe
>>

>
>



 
Reply With Quote
 
=?Utf-8?B?UHJlc3RvblZX?=
Guest
Posts: n/a
 
      7th Sep 2005
Create the directories structure and files on your development machine and
then use the "Add Files in Folder" feature in Component Designer to add the
files and set the destination directories correctly.

-Preston V

"Joe T" wrote:

> Hi all,
> I'm thinking this should be fairly simple but I can't find a quick easy way
> to do this.
>
> I've designed a component to install an application. No problem there.
> In the standard install of the app that's run off of CD the setup creates a
> few folders on c:\ for demo content.
> For example it'll create the following c:\demo_images and copy about 100
> bitmap files in to this folder. The files aren't an integral functioning
> part of the app, they are template images which the user can make use of.
>
> Is there any way to use Component Designer or Target Designer to say copy
> all the files in to location X?
> Or do I have to add the files to do component and then individually
> specificy the destination?
>
> If that is the case then I'm thinking it might just be easier to create the
> necessary folders containing all the files and copy them to the run-time
> image after TD has compiled it.
>
>
> thanks,
>
>
> Joe
>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
File Copying Large amounts of files stjulian Windows XP General 3 19th Feb 2007 10:45 PM
XP crashes when deleting large amounts of files Nate Grey Windows XP Help 1 10th Feb 2005 01:28 PM
Question on organizing large amounts of small Excel Files BigNate Microsoft Excel Misc 2 31st Dec 2003 07:34 PM
Slow folder access with large amounts of files -xp pro daryla Windows XP Networking 1 28th Sep 2003 02:35 AM
Slow folder access with large amounts of files -xp pro DarylA Windows XP Networking 0 26th Sep 2003 05:56 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:53 PM.