MSFN Forum: Runonce Ex In Stages - 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

Runonce Ex In Stages how will it execute Rate Topic: -----

#1 User is offline   MAVERICKS CHOICE 

  • The Guy from Aus
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,615
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 16 February 2005 - 11:43 PM

Ive just finished breaking my runonce ex batch into 15 prog segments,but have noticed in VPC it seems to execute the progs @T12 & not the not the next reboot??
Is this a prob in VPC or normal just the rest of the install appears to hang while these progs install??
My first part of runonecex is here:
cmdow @ /HID
@echo off

IF EXIST D:\CD.txt set CDROM=D:
IF EXIST E:\CD.txt set CDROM=E:
IF EXIST F:\CD.txt set CDROM=F:
IF EXIST G:\CD.txt set CDROM=G:
IF EXIST H:\CD.txt set CDROM=H:
IF EXIST I:\CD.txt set CDROM=I:
IF EXIST J:\CD.txt set CDROM=J:

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

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

REG ADD %KEY%\001 /VE /D "Lavasoft Ad-Aware SE Personal 1.0.5.0." /f
REG ADD %KEY%\001 /V 1 /D "%CDROM%\Software\Adware\adaware.exe aawse.exe" /f

REG ADD %KEY%\005 /VE /D "Adobe Reader 7" /f
REG ADD %KEY%\005 /V 1 /D "%CDROM%\Software\Adobe\acroread7.exe" /f
REG ADD %KEY%\005 /V 2 /D "%CDROM%\Software\Adobe\Adobe7.cmd" /f

REG ADD %KEY%\010 /VE /D "AdminTools pack 2003" /f
REG ADD %KEY%\010 /V 1 /D "%CDROM%\Software\Admintools\adminpak.msi /Qn" /f

REG ADD %KEY%\015 /VE /D "AVG Ver7.0 Free" /f
REG ADD %KEY%\015 /V 1 /D "%CDROM%\Software\AVG7\avg70free_300a419.exe /HIDE  /DONT_START_APPS /NO_WELCOME /NO_AVGW_STARTUP /QUIT_IF_INSTALLED" /f 

REG ADD %KEY%\020 /VE /D "Autoit Ver3.0" /f
REG ADD %KEY%\020 /V 1 /D "%CDROM%\Software\Autoit\autoit.exe" /f

REG ADD %KEY%\025 /VE /D "ATI Drivers" /f
REG ADD %KEY%\025 /V 1 /D "%CDROM%\Software\ATI\setup /K" /f

REG ADD %KEY%\030 /VE /D "Cool Codecs" /f
REG ADD %KEY%\030 /V 1 /D "%CDROM%\Software\codecs\Codecs.msi /qn" /f

REG ADD %KEY%\035 /VE /D "Clone CD CD4331" /f
REG ADD %KEY%\035 /V 1 /D "%CDROM%\Software\CloneCD\CloneCD.exe" /f
 
REG ADD %KEY%\040 /VE /D "Clone DVD" /f
REG ADD %KEY%\040 /V 1 /D "%CDROM%\Software\Clonedvd\CLONEDVD.EXE" /f
REG ADD %KEY%\040 /V 2 /D "REGEDIT /S %CDROM%\Software\Clonedvd\Clonedvd.reg" /f

REG ADD %KEY%\045 /VE /D "DVD Shrink 3.2" /f
REG ADD %KEY%\045 /V 1 /D "%CDROM%\Software\DVDShrink\dvdshrink32setup.exe /silent" /f

REG ADD %KEY%\050 /VE /D "Everest Home" /f
REG ADD %KEY%\050 /V 1 /D "%CDROM%\Software\Everest\everesthome151.exe /SILENT /SP-" /f

REG ADD %KEY%\055 /VE /D "Irfanview 392" /f
REG ADD %KEY%\055 /V 1 /D "%CDROM%\Software\Iview\IVIEW.exe" /f

REG ADD %KEY%\060 /VE /D "Journal Viewer" /f
REG ADD %KEY%\060 /V 1 /D "%CDROM%\Software\Journal\Journal.msi /qn" /f

REG ADD %KEY%\065 /VE /D "7 Zip" /f
REG ADD %KEY%\065 /V 1 /D "%CDROM%\Software\7Zip\7z414b.exe /S" /f

REG ADD %KEY%\070 /VE /D "Metapad 3.5LE Notepad replacement" /f
REG ADD %KEY%\070 /V 1 /D "%CDROM%\Software\metapad\metapad3.5.exe" /f

REG ADD %KEY%\075 /VE /D "Moviemaker" /f
REG ADD %KEY%\075 /V 1 /D "%CDROM%\Software\MovieMaker\mm20.msi /qn" /f

REG ADD %KEY%\080 /VE /D "MYOB Accounting package V14" /f
REG ADD %KEY%\080 /V 1 /D "%CDROM%\Software\MYOB\setup.exe /s/v/qn" /f

REG ADD %KEY%\085 /VE /D "Nero 6606 OEM" /f
REG ADD %KEY%\085 /V 1 /D "%CDROM%\Software\Nero\nero6606.exe" /f

REG ADD %KEY%\089 /VE /D "Microsoft Net framework SP1" /f
REG ADD %KEY%\089 /V 1 /D "%CDROM%\Software\Net\netfxsp1.exe" /f

REG ADD %KEY%\090 /VE /D "Nuhi's NLite 99.7Bi" /f
REG ADD %KEY%\090 /V 1 /D "%CDROM%\Software\NLite\nlite0997bi.exe /SILENT" /f

rundll32.exe iernonce.dll,RunOnceExProcess


Anyone experienced this?


#2 User is offline   Astalavista 

  • MSFN loyalist
  • PipPipPipPipPipPipPipPipPip
  • Group: Banned
  • Posts: 3,338
  • Joined: 02-December 03

Posted 17 February 2005 - 12:14 AM

y dont u just use wpi?

download the attachment for u.

Attached File(s)

  • Attached File  wpi.rar (79.45K)
    Number of downloads: 38


#3 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 17 February 2005 - 12:22 AM

rundll32.exe iernonce.dll,RunOnceExProcess

Kick starts the process.

You could
A. Have a master RunOnceEX that then calls each segment of RunOnceEX in turn
B. Put them all in GUIRunOnce and have the same effect as just One after the other but no master file.

@Astalavista
WPI is not the end all answer...

#4 User is offline   Astalavista 

  • MSFN loyalist
  • PipPipPipPipPipPipPipPipPip
  • Group: Banned
  • Posts: 3,338
  • Joined: 02-December 03

Posted 17 February 2005 - 12:39 AM

I am only asking a question.

#5 User is offline   MAVERICKS CHOICE 

  • The Guy from Aus
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,615
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 17 February 2005 - 12:48 AM

Astalavista, on Feb 17 2005, 05:14 PM, said:

y dont u just use wpi?

download the attachment for u.
<{POST_SNAPBACK}>


Thanks Guys for quick answers
Alanoll with B is it just a matter of calling RunoncEX1, then RunoncEX2 , etc from guirunonce??

#6 User is offline   BritishBulldog 

  • Member
  • PipPip
  • Group: Members
  • Posts: 271
  • Joined: 11-October 04

Posted 17 February 2005 - 06:41 AM

your best bet would be to have multiple files RunOnceEx.cmd, RunOnceEx2.cmd, RunOnceEx3.cmd

the fist would be as above but the last line out
RunOnceEx.cmd
cmdow @ /HID
@echo off

IF EXIST D:\CD.txt set CDROM=D:
IF EXIST E:\CD.txt set CDROM=E:
IF EXIST F:\CD.txt set CDROM=F:
IF EXIST G:\CD.txt set CDROM=G:
IF EXIST H:\CD.txt set CDROM=H:
IF EXIST I:\CD.txt set CDROM=I:
IF EXIST J:\CD.txt set CDROM=J:

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

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

REG ADD %KEY%\001 /VE /D "Lavasoft Ad-Aware SE Personal 1.0.5.0." /f
REG ADD %KEY%\001 /V 1 /D "%CDROM%\Software\Adware\adaware.exe aawse.exe" /f

REG ADD %KEY%\005 /VE /D "Adobe Reader 7" /f
REG ADD %KEY%\005 /V 1 /D "%CDROM%\Software\Adobe\acroread7.exe" /f
REG ADD %KEY%\005 /V 2 /D "%CDROM%\Software\Adobe\Adobe7.cmd" /f

.......

REG ADD %KEY%\090 /VE /D "Nuhi's NLite 99.7Bi" /f
REG ADD %KEY%\090 /V 1 /D "%CDROM%\Software\NLite\nlite0997bi.exe /SILENT" /f

REG ADD %KEY%\099 /VE /D "RunOnceEx two" /f
REG ADD %KEY%\099 /V 1 /D "%CDROM%\Software\RunOnceEx\RunOnceEx2.cmd" /f

but with the last lines in


all other RunOnceEx files will look like this
RunOnceEx2.cmd,RunOnceEx3.cmd etc...
cmdow @ /HID
@echo off

IF EXIST D:\CD.txt set CDROM=D:
IF EXIST E:\CD.txt set CDROM=E:
IF EXIST F:\CD.txt set CDROM=F:
IF EXIST G:\CD.txt set CDROM=G:
IF EXIST H:\CD.txt set CDROM=H:
IF EXIST I:\CD.txt set CDROM=I:
IF EXIST J:\CD.txt set CDROM=J:

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

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

REG ADD %KEY%\001 /VE /D "Lavasoft Ad-Aware SE Personal 1.0.5.0." /f
REG ADD %KEY%\001 /V 1 /D "%CDROM%\Software\Adware\adaware.exe aawse.exe" /f

........

REG ADD %KEY%\090 /VE /D "Nuhi's NLite 99.7Bi" /f
REG ADD %KEY%\090 /V 1 /D "%CDROM%\Software\NLite\nlite0997bi.exe /SILENT" /f

REG ADD %KEY%\099 /VE /D "RunOnceEx three" /f
REG ADD %KEY%\099 /V 1 /D "%CDROM%\Software\RunOnceEx\RunOnceEx3.cmd" /f

rundll32.exe iernonce.dll,RunOnceExProcess


only changing the call up for the next RunOnceEx. The rundll line will then automatically start the process.

So you only need to start the first RunOnceEx from guirunonce!!!
this will call up RunOnceEx2.cmd.
RunOnceEx2.cmd will call up RunOnceEx3.cmd and so on

#7 User is offline   durex 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 953
  • Joined: 21-October 04

Posted 17 February 2005 - 08:46 AM

@Bulldog
Right, but wouldnt this method leave you with 3 seperate RunOnce boxes on the screen at the same time?

#8 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 17 February 2005 - 08:51 AM

MAVERICKS CHOICE, on Feb 17 2005, 12:48 AM, said:

Astalavista, on Feb 17 2005, 05:14 PM, said:

y dont u just use wpi?

download the attachment for u.
<{POST_SNAPBACK}>


Thanks Guys for quick answers
Alanoll with B is it just a matter of calling RunoncEX1, then RunoncEX2 , etc from guirunonce??
<{POST_SNAPBACK}>

If you have RunOnceEX copied to the hdd, and you have that rundll32 command at the bottom of each one, yes B)

#9 User is offline   MAVERICKS CHOICE 

  • The Guy from Aus
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,615
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 17 February 2005 - 12:38 PM

Thanks Guys I will get moving on it.

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