The_ZoRo Posted August 22, 2004 Share Posted August 22, 2004 HelloWhat 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 More sharing options...
CoffeeFiend Posted August 22, 2004 Share Posted August 22, 2004 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 More sharing options...
The_ZoRo Posted August 22, 2004 Author Share Posted August 22, 2004 (edited) 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 FilesIs it installed?If yes) coolIf 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 offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications, and preparing everything" /fREG ADD %KEY%\080 /VE /D "Importing Registry Tweaks" /fREG ADD %KEY%\080 /V 1 /D "REGEDIT /S %systemdrive%\apps\regtweaks.reg" /fREG ADD %KEY%\085 /VE /D "Installing programs" /fREG ADD %KEY%\085 /V 1 /D "%systemdrive%\apps\programs.cmd" /fREG ADD %KEY%\085 /VE /D "Cleaning Up and Rebooting" /fREG ADD %KEY%\085 /V 1 /D "%systemdrive%\apps\cleanup.cmd" /fEXITWould give me, what?A suggestion from myself (just to see if I have misunderstood everything)cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications, and preparing everything" /fREG ADD %KEY%\080 /VE /D "Importing Registry Tweaks" /fREG ADD %KEY%\080 /V 1 /D "REGEDIT /S %cdromdrive%\regtweaks.reg" /fREG ADD %KEY%\085 /VE /D "Installing programs" /fREG ADD %KEY%\085 /V 1 /D "%cdromdrive%\programs.cmd" /fREG ADD %KEY%\085 /VE /D "Cleaning Up and Rebooting" /fREG ADD %KEY%\085 /V 1 /D "%cdromdrive%\cleanup.cmd" /fEXIT[code]Should I then put regtweaks.reg, programs.cmd and cleanup.cmd in the root of the cd or in $OEM$ ?/ZoRo Edited August 22, 2004 by The_ZoRo Link to comment Share on other sites More sharing options...
mazin Posted August 22, 2004 Share Posted August 22, 2004 Here's a good start for you: http://unattended.msfn.org/xp/runonceex_cd.htmRunOnceEx.cmd Creator creates your strings. Link to comment Share on other sites More sharing options...
The_ZoRo Posted August 22, 2004 Author Share Posted August 22, 2004 I might have to rtfm, huh? /ZoRoAnd, sorry to all Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now