MSFN Forum: RunOnceEx configured but its not running on logon. - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

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

RunOnceEx configured but its not running on logon. Rate Topic: -----

#1 User is offline   marcus_cps 

  • Group: Members
  • Posts: 4
  • Joined: 11-March 07

Posted 07 April 2007 - 12:21 PM

Hi. I'm trying to run DriverPacks finisher and start WPI (Windows Post Install) using RunOnceEx.
But I cant make RunOnceEx to work fine.
I read almoust everything about it and still cant make it work.

I did it this way:

1 - Did everything needed to modify my Windows source using NLITE.
2 - Integrate DriverPacks using DriverPack's BASE (Method 2, Custom, with KTD, withou QuickStream Cache).
3 - Created "$ OEM $" folder (without spaces).
4 - Created "$ OEM $\$$\System32" folder and put QCHAIN.EXE and CMDOW.EXE inside it.
5 - Created the file "$ OEM $\cmdlines.txt":

[COMMANDS]
"RunOnceEx.cmd"


6 - Created the file "$ OEM $\RunOnceEx.cmd":

cmdow @ /HID 
@echo off

for /f "delims=: tokens=1" %%i in ("%~dp0") do set drive=%%i:
set wpipath=%drive%\WPI

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

REG ADD %KEY% /V TITLE /D "Post Install Process" /f

REG ADD %KEY%01 /VE  /D "DriverPacks Finishing Procedure" /f
REG ADD %KEY%01 /V 1 /D "%SystemDrive%\DPsFnshr.exe" /f

REG ADD %KEY%05 /VE  /D "Running Windows Post Install" /f
REG ADD %KEY%05 /V 1 /D "%wpipath%\WPI.hta" /f

REG ADD %KEY%10 /VE  /D "Finishing Install" /f
REG ADD %KEY%10 /V 1 /D "%wpipath%\Install\FINISH.CMD" /f

EXIT


7 - Launched NLITE again just to create the ISO file.
8 - Test it using VmWare

Everything seems to work fine, but when I logon for the first time, RunOnceEx is not running...
I checked the register and the entries is there (folders 001, 005 and 010, with everything inside).

Can anyone tell me if I'm doing something wrong or whats the problem?

Thank you very much.

This post has been edited by marcus_cps: 07 April 2007 - 01:23 PM



#2 User is offline   Steam Trout 

  • Junior
  • Pip
  • Group: Members
  • Posts: 52
  • Joined: 11-January 06

Posted 07 April 2007 - 12:48 PM

IE7 is rumored to break RunOnceEx

#3 User is offline   marcus_cps 

  • Group: Members
  • Posts: 4
  • Joined: 11-March 07

Posted 07 April 2007 - 01:17 PM

I forgot to tell:

After that everything, I launched NLITE again just to create the ISO file.
I'm using VmWare to test it.

[]s

#4 User is offline   marcus_cps 

  • Group: Members
  • Posts: 4
  • Joined: 11-March 07

Posted 07 April 2007 - 01:37 PM

Hmmmmm....
So, how can I solve this problem?
Do you have something in mind?
thanx

#5 User is offline   Steam Trout 

  • Junior
  • Pip
  • Group: Members
  • Posts: 52
  • Joined: 11-January 06

Posted 08 April 2007 - 06:29 AM

I just run WPI from cmdlines.txt and everything else is being run from WPI.

#6 User is offline   marcus_cps 

  • Group: Members
  • Posts: 4
  • Joined: 11-March 07

Posted 08 April 2007 - 08:29 PM

View PostSteam Trout, on Apr 8 2007, 06:29 AM, said:

I just run WPI from cmdlines.txt and everything else is being run from WPI.


You are running WPI from CMDLINES.TXT?
But WPI is supposed to run at first logon, this way it will run at T-12, will it work fine?

--

I found a way to make it work at the first logon:
I've added RunOnceEx command at the RUN registry key (same way as RunOnceEx), but I do not use the IE7 iernonceex.dll, i've used the IE6 version.
It works fine, but still there is a problem... it runs after it should run. I tryin to find a way to run it before system goes operational.
Does anyone knows how to do it?

Thanx

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