karthikaravind Posted April 5, 2009 Posted April 5, 2009 Hi,I am using the cmdlines.txt and RunOnceEx.cmd method to install certain applications.unattended installation of XP gets over and in the first log on it executed the RunOnceEx.cmdand it says C:\install\FR30.msi is not foundI have placed the cmdlines.txt and RunOnceEx.cmd in $OEM$ folder---------------cmdlines.txt start-------------------------------[COMMANDS]"RunOnceEx.cmd"---------------cmdlines.txt end----------------------------------------------RunOnceEx.cmd start---------------------------@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\005 /VE /D "Foxit Reader" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\FR30.msi /qn" /fREG ADD %KEY%\050 /VE /D "Importing Registry Tweaks" /fREG ADD %KEY%\050 /V 1 /D "REGEDIT /S %systemdrive%\install\regtweaks.reg" /fEXIT---------------RunOnceEx.cmd end---------------------------These are the contents of the respective files.I have placed FR30.msi and regtweaks.reg under $OEM$\$1\install folderI could see the RunonceEx.cmd getting executedBut it says FR30.msi is missingThe registry tweaks are also not getting added.but no error message is displayedSome one please help me.I am using win xp pro sp3 (slipstreamed).I am testing this with VIrtual PC
Yzöwl Posted April 5, 2009 Posted April 5, 2009 In winnt.sif have you got the following line?[unattended]OemPreinstall=yes
karthikaravind Posted April 5, 2009 Author Posted April 5, 2009 yes I changed this and it got working
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