embe Posted September 28, 2006 Posted September 28, 2006 try and learn...Yeah, but tired with several testings in Vmware...
mazin Posted September 28, 2006 Posted September 28, 2006 The following is a working scenario.REQUIRED FILES:$OEM$\cmdlines.txt$OEM$\ROEXLM.cmd$OEM$\$1\Install\ROEXCU.cmd$OEM$\$$\System32\CMDOW.exeCONTENTS:[COMMANDS]"ROEXLM.cmd"cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "INSTALLING APPLICATIONS" /f.. your. keys. here.REG ADD %KEY%\999 /V 1 /D "%SystemDrive%\Install\ROEXCU.cmd" /fcmdow @ /HID@echo offSET KEY=HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "INSTALLING APPLICATIONS" /f.. your. keys. here.
embe Posted September 29, 2006 Posted September 29, 2006 The following is a working scenario.REQUIRED FILES:$OEM$\cmdlines.txt$OEM$\ROEXLM.cmd$OEM$\$1\Install\ROEXCU.cmd$OEM$\$$\System32\CMDOW.exeCONTENTS:[COMMANDS]"ROEXLM.cmd"cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "INSTALLING APPLICATIONS" /f.. your. keys. here.REG ADD %KEY%\999 /V 1 /D "%SystemDrive%\Install\ROEXCU.cmd" /fcmdow @ /HID@echo offSET KEY=HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "INSTALLING APPLICATIONS" /f.. your. keys. here.Perfect, thanks, will try tonight...
embe Posted September 29, 2006 Posted September 29, 2006 (edited) The following is a working scenario.REQUIRED FILES:$OEM$\cmdlines.txt$OEM$\ROEXLM.cmd$OEM$\$1\Install\ROEXCU.cmd$OEM$\$$\System32\CMDOW.exeCONTENTS:[COMMANDS]"ROEXLM.cmd"cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "INSTALLING APPLICATIONS" /f.. your. keys. here.REG ADD %KEY%\999 /V 1 /D "%SystemDrive%\Install\ROEXCU.cmd" /fcmdow @ /HID@echo offSET KEY=HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "INSTALLING APPLICATIONS" /f.. your. keys. here.Yeah, works, but only partially coz I have more than 2 ROEs. Your scenario loads 1st ROE (HKLM) and then 2nd ROE (HKCU). I created another 4 ROES (HKCU type) where 2nd calls 3rd etc...but it doesn`t work...Any suggestions? I`ll try to add rundll32.exe iernonce.dll,RunOnceExProcess into second ROE and merge ROEs 2-5EDIT: That`s it! Just one thing I have to fix - hidding of 1st ROE (HKLM). Even if I put "EXIT" as a last line it remains there while other ROEs runs... Edited September 29, 2006 by embe
pdmcmahon Posted September 29, 2006 Posted September 29, 2006 Run your CMD file from CMDLines.txtI have attached my runonce file as an exampleJust rename it to .cmdWhat is the "Windows Whistler" screen saver? I know what Whistler is, just don't remember the screen saver.
mazin Posted September 29, 2006 Posted September 29, 2006 Hi, below are my RunOnceEx and 2ndRunOnceex called from RunOnceEx. What I want is that RunOnceEx starts after 1st logon and 2ndRunOnceEx after RunOnceEx finish...I planned my scenario on your request. It's good for two ROEX installation.I'm glad you solved the problem.However, I don't put EXIT in my CMDs. Either I put CLS or nothing. Both work!
embe Posted September 30, 2006 Posted September 30, 2006 (edited) Hi, below are my RunOnceEx and 2ndRunOnceex called from RunOnceEx. What I want is that RunOnceEx starts after 1st logon and 2ndRunOnceEx after RunOnceEx finish...I planned my scenario on your request. It's good for two ROEX installation.I'm glad you solved the problem.However, I don't put EXIT in my CMDs. Either I put CLS or nothing. Both work!Thanks mazin, it`s perfect and I think I`ll hide 1st ROE somehow...no problem.EDIT1: OfficeXP problem solved. When reinstalling system after NetFramework 2.0 caused error I took XPCD from HDD to CD in other PC and when copied from that CD to newly reinstalled system 1 file hasn`t been copied...I did it again now and Office installs without problems.EDIT2:First ROE will only contains Office XP so other ROEs will top 1st ROE coz these will have more apps in it.EDIT3:I have found what causes OfficeXP missing file. It`s CDImage Pro... Edited October 1, 2006 by embe
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