MSFN Forum: Need help with RunOnceEx.cmd - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Need help with RunOnceEx.cmd Rate Topic: -----

#1 User is offline   PhpRu 

  • Group: Members
  • Posts: 4
  • Joined: 27-July 05

Posted 29 July 2005 - 10:48 AM

Hi everyone. I'm a novice yet in unattended system creation. I decided to use RunOnceEx way and install files from dvd
I 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 bad

cmdlines.txt

Quote

[COMMANDS]"RunOnceEx.cmd"
"useraccounts.cmd"


RunOnceEx.cmd

Quote

cmdow @ /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  "¦юфюыцфшЄх..." /f
REG ADD %KEY%\001 /V 1 /D "%CDROM%\software\OfficeXP\PRO.msi /QB" /f

REG ADD %KEY%\015 /VE /D "LёЄрэютър MUI" /f

REG ADD %KEY%\015 /V 1 /D "%CDROM%\software\MUI\muisetup.exe /i 0419 /d 0419 /l /f /r /s" /f


REG ADD %KEY%\025 /VE /D "LёЄрэютър Nero" /f

REG ADD %KEY%\025 /V 1 /D "%CDROM%\software\Nero\nero6603.exe /silent /noreboot /no_ui /sn=1A23-0009-4130-2208-2490-5712 /write_sn" /f


REG ADD %KEY%\035 /VE /D "LёЄрэютър Acrobat" /f

REG ADD %KEY%\035 /V 1 /D "%CDROM%\software\Adobe\setup.exe /s /v"/qn REBOOT=ReallySuppress" " /f

REG ADD %KEY%\035 /V 2 /D "REGEDIT /S %CDROM%\software\Adobe\acrobat.reg" /f



REG ADD %KEY%\035 /VE /D "LёЄрэютър PCCILLIN" /f

REG ADD %KEY%\035 /V 1 /D "%CDROM%\software\Adobe\setup.exe /s /v"/qn REBOOT=ReallySuppress" " /f


REG ADD %KEY%\045 /VE /D "LёЄрэютър WinRAR" /f

REG ADD %KEY%\045 /V 1 /D "%CDROM%\software\wrar35b7ru.exe /s " /f


REG ADD %KEY%\055 /V 1 /D "REGEDIT /S %CDROM%\software\ps.reg" /f



REG ADD %KEY%\065 /VE /D "LёЄрэютър .Net Framework" /f

REG ADD %KEY%\065 /V 1 /D "%CDROM%\software\dotnetfx\netfx.msi "/qn REBOOT=ReallySuppress" " /f



#2 User is offline   berrick 

  • Junior
  • Pip
  • Group: Members
  • Posts: 75
  • Joined: 21-November 03

Posted 29 July 2005 - 12:08 PM

i'm new to this bit on uacd but looks like the following is missing

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

without it %key% means nothing therefore it wont run

#3 User is offline   JuMz 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 466
  • Joined: 09-August 04

Posted 29 July 2005 - 03:56 PM

berrick, on Jul 29 2005, 12:08 PM, said:

i'm new to this bit on uacd but looks like the following is missing

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

without it %key% means nothing therefore it wont run
<{POST_SNAPBACK}>


Good catch.

#4 User is offline   PhpRu 

  • Group: Members
  • Posts: 4
  • Joined: 27-July 05

Posted 29 July 2005 - 11:30 PM

berrick, oh, thanks. :)
And where sholud i write this - after @echo off ?

#5 User is offline   Loras 

  • Newbie
  • Group: Members
  • Posts: 43
  • Joined: 21-February 04

Posted 30 July 2005 - 12:56 AM

cmdow @ /HID
@echo off
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
REG ADD %KEY% /V TITLE /D "Installing Applications" /f

#6 User is offline   Yzöwl 

  • Wise Owl
  • Group: Super Moderator
  • Posts: 4,195
  • Joined: 13-October 04
  • OS:Windows 7 x64

Posted 30 July 2005 - 05:52 AM

Correction to the above, only in reletion to your original post.
@echo off
cmdow @ /HID

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
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


#7 User is offline   PhpRu 

  • Group: Members
  • Posts: 4
  • Joined: 27-July 05

Posted 30 July 2005 - 06:41 AM

thx everyone. all ok now

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy