condor Posted April 6, 2009 Share Posted April 6, 2009 (edited) Helo allI try to make my own unattended XP with some software and every time the programs won`t install and show some error :Windows cannot find apps\programs\programs.exeI have the $OEM$ with $1 , $$, runonceex.cmd and cmdlines.txtIn $1 I have folder appsThe runonceex.cmd are this lines:cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Software install" /fREG ADD %KEY%\001 /VE /D "Firefox" /fREG ADD %KEY%\001 /V 1 /D "%systemdrive%\apps\Firefox\Firefox3.exe -ms" /fREG ADD %KEY%\002 /VE /D "Adobe Reader 9.1" /fREG ADD %KEY%\002 /V 1 /D "%systemdrive%\apps\Adobe\AdobeReader91.exe /sAll /rs" /fREG ADD %KEY%\003 /VE /D "PowerISO 4.3" /fREG ADD %KEY%\003 /V 1 /D "%systemdrive%\apps\poweriso\poweriso.exe /S" /fREG ADD %KEY%\003 /V 2 /D "REGEDIT /S %systemdrive%\apps\poweriso\poweriso.reg" /fREG ADD %KEY%\085 /VE /D "Cleaning Up and Rebooting" /fREG ADD %KEY%\085 /V 1 /D "%systemdrive%\apps\cleanup.cmd" /fEXITThe winnt.sif are this lines:[Data]AutoPartition=0MsDosInitiated="0"UnattendedInstall="Yes"[Unattended]OemPreinstall=YesDriverSigningPolicy=IgnoreNonDriverSigningPolicy=IgnoreFileSystem=*What is the problem? Tks Edited April 6, 2009 by condor Link to comment Share on other sites More sharing options...
g-force Posted April 6, 2009 Share Posted April 6, 2009 Sound like the "runonceex.cmd" is written to registry - it starts, but fails to find the files.Are the files copied to "%systemdrive%\apps" ? Link to comment Share on other sites More sharing options...
iamtheky Posted April 7, 2009 Share Posted April 7, 2009 (edited) i believe you need 8.3 format names, but i suppose only if firefox3 is working (or throwing some other error) and it bombs on adobereader91 with 'cant find file....'. Edited April 7, 2009 by iamtheky Link to comment Share on other sites More sharing options...
condor Posted April 7, 2009 Author Share Posted April 7, 2009 g-force No the files not copied to %systemdrive%\appsBut I solved with:%CD%\$1\apps replacind the %systemdrive% 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