PhpRu Posted July 29, 2005 Posted July 29, 2005 Hi everyone. I'm a novice yet in unattended system creation. I decided to use RunOnceEx way and install files from dvdI have 2 questions: what shall i set in winnt.sif in OemPreinstall & OemSkipWelcome parameters. And also - can you tell me where i have a mistake in files - when 12 minute begins, commands from useraccounts.cmd run well, but from RunOnceEx - not.P.S. Sorry for awful english - i'm russian and my english is badcmdlines.txt[COMMANDS]"RunOnceEx.cmd""useraccounts.cmd"RunOnceEx.cmdcmdow @ /HID @echo off FOR %%d IN (c d e f g h i j k l m n o p q r s t u v w x y z) DO IF EXIST %%d:\WIN51 SET CDROM=%%d:REG ADD %KEY% /V TITLE /D "Installing Applications" /f REG ADD %KEY%\001 /VE /D "¦юфюыцфшЄх..." /fREG ADD %KEY%\001 /V 1 /D "%CDROM%\software\OfficeXP\PRO.msi /QB" /fREG ADD %KEY%\015 /VE /D "LёЄрэютър MUI" /fREG ADD %KEY%\015 /V 1 /D "%CDROM%\software\MUI\muisetup.exe /i 0419 /d 0419 /l /f /r /s" /fREG ADD %KEY%\025 /VE /D "LёЄрэютър Nero" /fREG ADD %KEY%\025 /V 1 /D "%CDROM%\software\Nero\nero6603.exe /silent /noreboot /no_ui /sn=1A23-0009-4130-2208-2490-5712 /write_sn" /fREG ADD %KEY%\035 /VE /D "LёЄрэютър Acrobat" /fREG ADD %KEY%\035 /V 1 /D "%CDROM%\software\Adobe\setup.exe /s /v"/qn REBOOT=ReallySuppress" " /fREG ADD %KEY%\035 /V 2 /D "REGEDIT /S %CDROM%\software\Adobe\acrobat.reg" /f REG ADD %KEY%\035 /VE /D "LёЄрэютър PCCILLIN" /fREG ADD %KEY%\035 /V 1 /D "%CDROM%\software\Adobe\setup.exe /s /v"/qn REBOOT=ReallySuppress" " /fREG ADD %KEY%\045 /VE /D "LёЄрэютър WinRAR" /fREG ADD %KEY%\045 /V 1 /D "%CDROM%\software\wrar35b7ru.exe /s " /fREG ADD %KEY%\055 /V 1 /D "REGEDIT /S %CDROM%\software\ps.reg" /f REG ADD %KEY%\065 /VE /D "LёЄрэютър .Net Framework" /fREG ADD %KEY%\065 /V 1 /D "%CDROM%\software\dotnetfx\netfx.msi "/qn REBOOT=ReallySuppress" " /f
berrick Posted July 29, 2005 Posted July 29, 2005 i'm new to this bit on uacd but looks like the following is missingSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExwithout it %key% means nothing therefore it wont run
JuMz Posted July 29, 2005 Posted July 29, 2005 i'm new to this bit on uacd but looks like the following is missingSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExwithout it %key% means nothing therefore it wont run<{POST_SNAPBACK}>Good catch.
PhpRu Posted July 30, 2005 Author Posted July 30, 2005 berrick, oh, thanks. And where sholud i write this - after @echo off ?
Loras Posted July 30, 2005 Posted July 30, 2005 cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /f
Yzöwl Posted July 30, 2005 Posted July 30, 2005 Correction to the above, only in reletion to your original post.@echo offcmdow @ /HIDSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExFOR %%d IN (c d e f g h i j k l m n o p q r s t u v w x y z) DO IF EXIST %%d:\WIN51 SET CDROM=%%d:REG ADD %KEY% /V TITLE /D "Installing Applications" /f
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