Jump to content

Too many installs to be seen on the Runonce list?


Mikep7779

Recommended Posts


The following is a working scenario.

REQUIRED FILES:

$OEM$\cmdlines.txt

$OEM$\ROEXLM.cmd

$OEM$\$1\Install\ROEXCU.cmd

$OEM$\$$\System32\CMDOW.exe

CONTENTS:

[COMMANDS]

"ROEXLM.cmd"

cmdow @ /HID

@echo off

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

REG ADD %KEY% /V TITLE /D "INSTALLING APPLICATIONS" /f

.

. your

. keys

. here

.

REG ADD %KEY%\999 /V 1 /D "%SystemDrive%\Install\ROEXCU.cmd" /f

cmdow @ /HID

@echo off

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

REG ADD %KEY% /V TITLE /D "INSTALLING APPLICATIONS" /f

.

. your

. keys

. here

.

Link to comment
Share on other sites

The following is a working scenario.

REQUIRED FILES:

$OEM$\cmdlines.txt

$OEM$\ROEXLM.cmd

$OEM$\$1\Install\ROEXCU.cmd

$OEM$\$$\System32\CMDOW.exe

CONTENTS:

[COMMANDS]

"ROEXLM.cmd"

cmdow @ /HID

@echo off

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

REG ADD %KEY% /V TITLE /D "INSTALLING APPLICATIONS" /f

.

. your

. keys

. here

.

REG ADD %KEY%\999 /V 1 /D "%SystemDrive%\Install\ROEXCU.cmd" /f

cmdow @ /HID

@echo off

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

REG ADD %KEY% /V TITLE /D "INSTALLING APPLICATIONS" /f

.

. your

. keys

. here

.

Perfect, thanks, will try tonight...

Link to comment
Share on other sites

The following is a working scenario.

REQUIRED FILES:

$OEM$\cmdlines.txt

$OEM$\ROEXLM.cmd

$OEM$\$1\Install\ROEXCU.cmd

$OEM$\$$\System32\CMDOW.exe

CONTENTS:

[COMMANDS]

"ROEXLM.cmd"

cmdow @ /HID

@echo off

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

REG ADD %KEY% /V TITLE /D "INSTALLING APPLICATIONS" /f

.

. your

. keys

. here

.

REG ADD %KEY%\999 /V 1 /D "%SystemDrive%\Install\ROEXCU.cmd" /f

cmdow @ /HID

@echo off

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

REG 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-5

EDIT: 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 by embe
Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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 by embe
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...