frederikshavn Posted January 22, 2007 Share Posted January 22, 2007 HeyI got a big problem,i want to mske a xp disk with all the programs i use to use,so the programs is installed with xp,i use RunOnceEx.cmd Creator,but i cant get it to work,it get a error message,some thing like this:windows can not find c:program name,i have a$OEM$ folder,and inside i have a folder called$$ and inside that there is a folder called $install,can any one help me so i can get it to work PLEASE,sorry for my english.i'm from Denmark Link to comment Share on other sites More sharing options...
Bolus123 Posted January 24, 2007 Share Posted January 24, 2007 (edited) Hi,Use this in your runonceex.cmd:@Echo OffIF EXIST D:\CD.txt set CDROM=D:IF EXIST E:\CD.txt set CDROM=E:IF EXIST F:\CD.txt set CDROM=F:IF EXIST G:\CD.txt set CDROM=G:IF EXIST H:\CD.txt set CDROM=H:IF EXIST I:\CD.txt set CDROM=I:IF EXIST J:\CD.txt set CDROM=J:SET PP=%cdrom%\Apps\SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Programs" /fREG ADD %KEY%/005 /VE /D "Winrar 3.30" /fREG ADD %KEY%/005 /V 1 /D "%PP%winrar\Winrar330.exe /s" /fREG ADD %KEY%/010 /VE /D "NOD32" /fREG ADD %KEY%/010 /V 1 /D "%PP%NOD32\setup.exe /silentmode /fI included 2 examples of programs, just look up the silent switches in the guide. Make sure you have a CD.txt file on your cd (just an empty file). And make a directory on the root of your disk called "Apps" and put there all the applications, or change the code above.Good Luck! Edited January 24, 2007 by Bolus123 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