Jump to content

Have nLite copy files to disk


Recommended Posts

Posted (edited)

Hi all,

I could not find any other way to add files to disk other than copying it to the directory with the disk image.

I hope I just missed something, but in case it's not there, please consider this feature request.

I am looking for a way to add files to the disk without having to copy them to that directory.

This is a set of directories or files that I have on local disk:

e:\DRIVERS\Java Runtime

e:\DRIVERS\ATI

e:\DRIVERS\directx_nov2008_redist

e:\DRIVERS\DOTNET

e:\DRIVERS\NVIDIA

e:\DRIVERS\Realtek HDA Driver

e:\DRIVERS\vc2005redist_x86.exe

e:\DRIVERS\vc2005redist_x86.txt

e:\DRIVERS\vc2008redist_x64.exe

e:\DRIVERS\vc2008redist_x64.txt

e:\DRIVERS\vc2008redist_x86.exe

e:\DRIVERS\vc2008redist_x86.txt

e:\INSTALL\!CDBURN\ImgBurn_2.4.2.0.exe

e:\INSTALL\!DOS\DOSBOX

e:\INSTALL\!FIREWAL\Comodo Firewall

e:\INSTALL\!SPYWARE\SPYBOT

e:\INSTALL\Adobe Acrobat Reader

e:\INSTALL\AutoHotKey

e:\INSTALL\FIREFOX

e:\INSTALL\PaintNET

e:\INSTALL\Skype

e:\INSTALL\TOTALCMD

e:\INSTALL\ULTRAVNC

e:\INSTALL\WINRAR

It's a pretty slow process to find these files, copy them to another directory (XP image). It would make things a lot easier if nLite would do the work - by supporting referencing files and pulling them in directly from the source location.

Ideally, I could specify a source and a target in the INI file, like this:

<target>|<source> ; I chose the pipe as a separator because it can't be in file names.

, where <target> is always relative to the root of the disk

Example of variants:

[copytodisk]

$OEM$\$1\DRIVERS|e:\CD\DRIVERS\vc*redist.exe

$OEM$\$1\DRIVERS|e:\CD\DRIVERS\*.txt

$OEM$\$1\INSTALL|e:\CD\INSTALL\!DOS\DOSBOX

$OEM$\$1\INSTALL\ImageBurn_setup.exe|e:\CD\INSTALL\!CDBURN\ImgBurn_2.4.2.0.exe

I hope you understand what I mean, if not, please ask.

If this is already doable with nLite somehow, please let me know.

Thank you.

PS:

Yes, I know that I can always create a batch file that copies the files. But, I don't want them copied - I want skip the copy process entirely and have the files added to the disk image directly from their original location(s).

No, I don't want silent installers and stuff - I just want them added to the disk image.

Edited by Csimbi

Posted
PS:

Yes, I know that I can always create a batch file that copies the files. But, I don't want them copied - I want skip the copy process entirely and have the files added to the disk image directly from their original location(s).

No, I don't want silent installers and stuff - I just want them added to the disk image.

What about just copy them ? Once. Before launching the process or after. Not erasing them when you reload other fresh OS files. Now that's the fastest way.

Posted (edited)
What about just copy them ? Once. Before launching the process or after. Not erasing them when you reload other fresh OS files. Now that's the fastest way.

Right, thanks for the tip. But then I would have too many duplicates: one per XP disk, which is about 3G/disk at the moment - and I am managing 4 install disks, so that comes to about 12G wasted space. That's a lot.

Also, it is a lot easier to copy INI file sections to the other XP installs than to sync directories every time.

Edited by Csimbi

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...