Paradox Me Posted April 24, 2006 Share Posted April 24, 2006 How do I copy in runonceex?? For instance, I have file xyz.exe in my $oem$ folder that is copied over to c:\installs during setup. If I want it to be copied to c:\program files\abc (either instead of c:\installs or from c:\installs) , what would the runonceex code(s) look like??? Link to comment Share on other sites More sharing options...
jbm Posted April 25, 2006 Share Posted April 25, 2006 If you want it copied to your programs file just place it in $PROGSlike this $OEM$\$PROGS\abcYou may find this helpfulhttp://unattended.msfn.org/unattended.xp/view/web/18/ Link to comment Share on other sites More sharing options...
urie Posted April 25, 2006 Share Posted April 25, 2006 Example for examdiff_proREG ADD %KEY%\1001 /VE /D "ExamDiff Pro" /fREG ADD %KEY%\1001 /V 101 /D "CMD /C Start /min /Wait E:\APPS\ExamDiff_Pro\setup.exe /SILENT /SP- /NORESTART" /fREG ADD %KEY%\1001 /V 102 /D "CMD /C COPY \"E:\APPS\ExamDiff_Pro\password.bin\" \"%ProgramFiles%\ExamDiff Pro\" /Y" /fREG ADD %KEY%\1001 /V 103 /D "REGEDIT /S E:\APPS\ExamDiff_Pro\ExamDiff_Pro1.reg" /fYour file would beREG ADD %KEY%\1001 /V 102 /D "CMD /C COPY \"C:\Install\xyz.exe\" \"%ProgramFiles%\abc\" /Y" /f 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