Jump to content

Difference between places


Recommended Posts

Hello

What is the difference between %systemdrive%\install\ and %systemdrive%\apps\ ?

And (more importnatly) where should I put the different files?

And in $Progs , what command should I put in my .cmd to do anything there?

/ZoRo

Link to comment
Share on other sites


One will be c:\install and the other c:\app. Where to put files? It's your call. I don't put any files there at all, I execute it all from the install DVD as I see no point of making it recopy it needlessly to the HD first.

As for the $Prog reference, I'm not sure if I get your question right, but there's no need of placing a .cmd there ... It's only a way to get file automatically copied to C:\Program Files

(the post assumes you decided to install windows on C: and with default isntallation location)

Link to comment
Share on other sites

One will be c:\install and the other c:\app. Where to put files? It's your call. I don't put any files there at all, I execute it all from the install DVD as I see no point of making it recopy it needlessly to the HD first.

So I sould use the %cdrom% tingy instead of %systemdrive% ?

As for the $Prog reference, I'm not sure if I get your question right, but there's no need of placing a .cmd there ... It's only a way to get file automatically copied to C:\Program Files

Is it installed?

If yes) cool

If no) should I make shortcuts to the files (it's only Media Player Cassic and Firefox deployment (taken from this site :)))?

Edit:

What is the command (in example: programs.cmd) to execute something in the $OEM$ folder?

cmdow @ /HID
@echo off

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Applications, and preparing everything" /f

REG ADD %KEY%\080 /VE /D "Importing Registry Tweaks" /f
REG ADD %KEY%\080 /V 1 /D "REGEDIT /S %systemdrive%\apps\regtweaks.reg" /f

REG ADD %KEY%\085 /VE /D "Installing programs" /f
REG ADD %KEY%\085 /V 1 /D "%systemdrive%\apps\programs.cmd" /f


REG ADD %KEY%\085 /VE /D "Cleaning Up and Rebooting" /f
REG ADD %KEY%\085 /V 1 /D "%systemdrive%\apps\cleanup.cmd" /f

EXIT

Would give me, what?

A suggestion from myself (just to see if I have misunderstood everything)

cmdow @ /HID

@echo off

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Applications, and preparing everything" /f

REG ADD %KEY%\080 /VE /D "Importing Registry Tweaks" /f

REG ADD %KEY%\080 /V 1 /D "REGEDIT /S %cdromdrive%\regtweaks.reg" /f

REG ADD %KEY%\085 /VE /D "Installing programs" /f

REG ADD %KEY%\085 /V 1 /D "%cdromdrive%\programs.cmd" /f

REG ADD %KEY%\085 /VE /D "Cleaning Up and Rebooting" /f

REG ADD %KEY%\085 /V 1 /D "%cdromdrive%\cleanup.cmd" /f

EXIT[code]

Should I then put regtweaks.reg, programs.cmd and cleanup.cmd in the root of the cd or in $OEM$ ?

/ZoRo

Edited by The_ZoRo
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...