Jump to content

Installing your tools unatt. from multiple os on a


Recommended Posts

Hi there.

Since I want my favorite tools not only to be installed after my Windows XP install but also after my WIN2K3 install I will have to do the $OEM$ folder-method for every single os installed to my multi boot dvd, meaning, that I will have several copies of my favorite tools on my dvd, taking place for other things.

That is, because on every computer the CD-Drive has a different drive-letter, so I can't simply install them from my DVD.

I have solved that problem by creating a program that will find out that driveletter and modify your installation.cmd according to the new information.

With only a few minor and easy to apply changes to your current installation you will be able to save a lot of space.

Instructions:

- Extract the sourcedir.exe from the attached archive.

- Place that file in the $OEM$\$1\Install folder of the os that you want to apply your installations to.

- Move all the programs that you want to have installed to a folder of your choice, but outside the $OEM$ folder structure. (I placed my tools in d:\Applications\)

- Add your *.cmd file that you were using to install programs silently in the same folder and rename it to "install.cmd".

- Modify your install.cmd so that now the path to the applications points to the cd drive by using the %sourcedrive% variable for the dvd-driveletter.

For example one of my line looks like this:

start /wait %sourcedrive%\Applications\Daemon\daemon.msi /QN

--In your winnt.sif file modify the execution of your cmd file to the following:

[GuiRunOnce]
   %systemdrive%\install\sourcedir.exe

That's it!

Now the only thing you will have to do to add the same tools to win2k3 for example, is to copy the "sourcedir.exe" and the install.cmd to the

$OEM$\$1\Install directory and adjust the install.cmd to whatever differences in configuration you want for the other os.

If this does not work for you, because I made a mistake, or if this method is more than complicated, or if someone else had the same or a better idea before please tell me.

Regards

-LANJAN-

sourcedir.rar

Link to comment
Share on other sites


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...