MSFN Forum: Easy RunOnceEx.cmd - 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
  • 20 Pages +
  • « First
  • 9
  • 10
  • 11
  • 12
  • 13
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Easy RunOnceEx.cmd Rate Topic: -----

Poll: Do you want it to be easy to create RunOnceEx.cmd (2044 member(s) have cast votes)

Do you want it to be easy to create RunOnceEx.cmd

  1. Yes (1668 votes [91.60%])

    Percentage of vote: 91.60%

  2. No (33 votes [1.81%])

    Percentage of vote: 1.81%

  3. What whould be the function? (60 votes [3.29%])

    Percentage of vote: 3.29%

  4. Maybe (60 votes [3.29%])

    Percentage of vote: 3.29%

Vote Guests cannot vote

#201 User is offline   eagle00789 

  • MSFN NutCase
  • PipPip
  • Group: Members
  • Posts: 281
  • Joined: 06-August 04

Posted 07 September 2004 - 03:46 PM

`Felix`, on Sep 5 2004, 03:55 AM, said:

@eagle00789

Something else springs to mind that i beleive would be very valiable - some arrow buttons so that you can highlight a task and move it to where ever you like in the list - to change the order.  The other option would be to be given an option for task number then it would put it in the correct place.  And finally if you select (highlight) a task when you add a new task it should add the new task after the selected task.

Hope this helps - i beleive it would be good to have and i certainly have a need for it.  Normally i have to go and change the order of some tasks manually defeating the purpose of using a tool.

`Felix`: Another great set of suggestions. i will look into it, and let everyone know if i'm going to integrate it. (i'm sure that i will do it)

Furthermore, i've picked up the work on RunOnceEx.cmd Creator and am going to do the following for the next version:
  • Add Felix's suggestions from both posts
  • Add the programs suggested by some users to the database
  • Finish the plugin-support for loading
  • Create a SDK so that you can add any extension for saving and loading
  • Temporarily delete the Update Function until i found a better solution for that
  • Change the installer, so that it will ask you if you want to overwrite it.
  • When %CDROM% is selected as location for the install-files, automaticly include some code in the .cmd file to search for the cd-rom



#202 User is offline   bonedaddy 

  • Bonafide Member
  • PipPipPip
  • Group: Members
  • Posts: 454
  • Joined: 20-October 03

Posted 08 September 2004 - 01:15 PM

@eagle00789

the move up and down buttons\arrows, I will be very happy

to see. It never fails that I leave out prepare cmd and have to

start over, or copy and paste after. Great job......


bonedaddy

#203 User is offline   Celestial Fury 

  • Newbie
  • Group: Members
  • Posts: 23
  • Joined: 16-September 04

Posted 16 September 2004 - 07:01 AM

Hi.

New to the boards and found this very interesting.

Just have a small suggestion.

After using several different unattended install CDs, I find the same problem keeps cropping up.

My system has a 40GB IDE drive that I use as the main System drive, and a RAID 0 SATA array as my 'working drive'

Unfortunately, when using this type of installation routine, it breaks down after a time because windows detects and installs the RAID0 array as the D drive, thus bumping the CD-ROM out to the D Drive in the middle of the install routine, resulting in files not being found. Would it be possible to add the ability to force the CD-ROM to be, say the Z drive so as to prevent this from happening?

Fury

#204 User is offline   Thauzar 

  • 4th Star Learner
  • PipPipPip
  • Group: Members
  • Posts: 415
  • Joined: 10-August 04

Posted 16 September 2004 - 08:02 AM

This post may be in the wrong thread, but I can't find lots of information about runonceex (not only copy pasting but information to LEARN) and I was wondering if there was a way to to more then 1 row... I explain

Installation of progs
-7zip
-adobe
-nero
-bla
-bla
-bla
-and
-so
-on

I got 20+ progs to install and the list is getting very long, would there be a way to radjust the visual a bit?

Installation of progs
-7zip -bla
-adobe -and
-nero -so
-bla -on
-bla

EDIT: imagine 2nd row is parallel to the 1st one, cause the post doesn't like having lots of spaces one after another

And if there is a way, well you got yourself a new suggestion for your next version ;)

#205 User is offline   eagle00789 

  • MSFN NutCase
  • PipPip
  • Group: Members
  • Posts: 281
  • Joined: 06-August 04

Posted 16 September 2004 - 03:09 PM

Thauzar, on Sep 16 2004, 08:02 AM, said:

This post may be in the wrong thread, but I can't find lots of information about runonceex (not only copy pasting but information to LEARN) and I was wondering if there was a way to to more then 1 row... I explain

<snip>

Installation of progs
-7zip          -bla
-adobe      -and
-nero        -so
-bla          -on
-bla

EDIT: imagine 2nd row is parallel to the 1st one, cause the post doesn't like having lots of spaces one after another

And if there is a way, well you got yourself a new suggestion for your next version ;)

Well. this is already possible, but i forgot how. this is indeed a great suggestion for the next version. but i have to search this forum on how to do it. (it was a thread in this forum-part, i believe)

#206 User is offline   eagle00789 

  • MSFN NutCase
  • PipPip
  • Group: Members
  • Posts: 281
  • Joined: 06-August 04

Posted 16 September 2004 - 03:23 PM

Found the thread it was on: Check this thread for more info on splitting the runonce into multiple pieces

#207 User is offline   eagle00789 

  • MSFN NutCase
  • PipPip
  • Group: Members
  • Posts: 281
  • Joined: 06-August 04

Posted 17 September 2004 - 12:15 AM

Celestial Fury, on Sep 16 2004, 07:01 AM, said:

Hi.

New to the boards and found this very interesting.

Just have a small suggestion.

After using several different unattended install CDs, I find the same problem keeps cropping up.

My system has a 40GB IDE drive that I use as the main System drive, and a RAID 0 SATA array as my 'working drive'

Unfortunately, when using this type of installation routine, it breaks down after a time because windows detects and installs the RAID0 array as the D drive, thus bumping the CD-ROM out to the D Drive in the middle of the install routine, resulting in files not being found. Would it be possible to add the ability to force the CD-ROM to be, say the Z drive so as to prevent this from happening?

Fury

Unfortunately this is not possible with my small tool. you have to ask this in a new thread. I also don't know if it evenly is possible

#208 User is offline   Thauzar 

  • 4th Star Learner
  • PipPipPip
  • Group: Members
  • Posts: 415
  • Joined: 10-August 04

Posted 17 September 2004 - 07:25 AM

I looked at the other thread, **** I'll wait for this weekend to try this cause 1- it looks so much more complicated 2-not even sure if it finally works fine

I wished there was a more easy way to do things not with 3-5 RunOnceEx#, which is the methods listed, but with only one RunOnceEx with some row tags, like HTML (imagine /VE and /WE would be from left to right the progs title in the left row, and W in the right row, X would be the most to the right, and Y and then Z if you need 5 rows)

That would be simple and easy. I'll continue searching for something like this before doing the other method, anyway it's more professionnal in my opinion to have only one windows, that when it's over, you know it's over, thant having 5 installation windows that reboots, then starts back, reboots, starts back, and you never know when it's done

#209 User is offline   eagle00789 

  • MSFN NutCase
  • PipPip
  • Group: Members
  • Posts: 281
  • Joined: 06-August 04

Posted 17 September 2004 - 07:42 AM

For that window you mention, the width is fixed, except the height. also, you can't use any columns in that window. the only thing i would be able to suggest is XPlode. this can't do multiple columns, but scrolls all the programs in a seperate window

#210 User is offline   Celestial Fury 

  • Newbie
  • Group: Members
  • Posts: 23
  • Joined: 16-September 04

Posted 19 September 2004 - 10:34 AM

eagle00789, on Sep 17 2004, 12:15 AM, said:

Celestial Fury, on Sep 16 2004, 07:01 AM, said:

Hi.

New to the boards and found this very interesting.

Just have a small suggestion.

After using several different unattended install CDs, I find the same problem keeps cropping up.

My system has a 40GB IDE drive that I use as the main System drive, and a RAID 0 SATA array as my 'working drive'

Unfortunately, when using this type of installation routine, it breaks down after a time because windows detects and installs the RAID0 array as the D drive, thus bumping the CD-ROM out to the D Drive in the middle of the install routine, resulting in files not being found. Would it be possible to add the ability to force the CD-ROM to be, say the Z drive so as to prevent this from happening?

Fury

Unfortunately this is not possible with my small tool. you have to ask this in a new thread. I also don't know if it evenly is possible

Got it sorted anyway by getting my SATA drivers installed in textmode. No more delay whilst windows finds the sata drivers


Fury

#211 User is offline   eagle00789 

  • MSFN NutCase
  • PipPip
  • Group: Members
  • Posts: 281
  • Joined: 06-August 04

Posted 19 September 2004 - 01:47 PM

Celestial Fury, on Sep 19 2004, 10:34 AM, said:

<snip>
Got it sorted anyway by getting my SATA drivers installed in textmode. No more delay whilst windows finds the sata drivers


Fury

Great to hear that

#212 User is offline   `Felix` 

  • MSFN Contributor
  • PipPipPip
  • Group: Members
  • Posts: 481
  • Joined: 28-July 04

Posted 19 September 2004 - 10:25 PM

Hi eagle00789,

How is the latest version of the tool going? I am really looking forward to testing it with the updates you are including in the next build :thumbup

#213 User is offline   eagle00789 

  • MSFN NutCase
  • PipPip
  • Group: Members
  • Posts: 281
  • Joined: 06-August 04

Posted 20 September 2004 - 12:22 AM

it could take another week or 2 because of school.

#214 User is offline   Thauzar 

  • 4th Star Learner
  • PipPipPip
  • Group: Members
  • Posts: 415
  • Joined: 10-August 04

Posted 24 September 2004 - 06:15 PM

I noticed that I get an error between my 2nd and my 3rd runonceex. The 2nd windows does not disapear and seems stuck on the office installation, but the rest continues correctly, now how does this happen? I don't know, this may have something to do with the disck changer program I used so it asks the user to prompt the office cd in, it's a ok or cancel box, and when I press cancel, the runonceex window does not go


end of my runonceex2
REG ADD %KEY%\045 /VE /D "Windows Media Player 10" /f
REG ADD %KEY%\045 /V 1 /D "%systemdrive%\install\Applications\WMP10\MP10Setup.exe /q:A /c:\"setup_wm.exe /Q /R:N DisallowSystemRestore\"" /f

REG ADD %KEY%\050 /VE /D "OfficeXP Professionnel SP3" /f
REG ADD %KEY%\050 /V 1 /D "%systemdrive%\install\DskChg.cmd" /f

REG ADD %KEY%\998 /V 01 /D "%SystemDrive%\Install\RunOnceExs\RunOnceEx3.cmd" /f
REG ADD %KEY%\998 /V 02 /D "rundll32.exe iernonce.dll,RunOnceExProcess" /f

EXIT


now dskchg.cmd
cmdow @ /HID
@echo off

start /wait %systemdrive%\Install\DskChg.exe

EXIT


this is the only way I have to run autoit programs during runonceex, in both cases (ok or cancel), when dskchg.exe exits, its supposed to end the runonceex line.

dskchg.exe (autoit script)
;
; AutoIt Version: 3.0
; Language:       Français
; Platform:       Win9x/NT
; Author:         Thauzar
;
; Script Function:
;   Ouvre une fenêtre pour demander a l'utilisateur de changer de cd
;   
;
$var=MsgBox(33, "Changer le disque", "Veuillez inserer le disque 2 Microsoft OfficeXP Professionnel SP3 et attendre que la diode cesse de clignoter...")
Select
	Case $var=1
RunWait("Office.cmd")
EXIT
	Case $var=2
EXIT
EndSelect

EXIT


The 3rd EXIT I added now to test... but the rest was there at the time of this post. supposed to get a msg box to appear, when i click ok it starts the office.cmd routine from the root (the cmd refers to the cd drive), if cancel is pressed it just exits. When pressiing ok everything is fine but not when pressing cancel


EDIT: and what if it didn't go away when I press ok... I tested so long ago that I don't remember...

Thanks for any help

#215 User is offline   eagle00789 

  • MSFN NutCase
  • PipPip
  • Group: Members
  • Posts: 281
  • Joined: 06-August 04

Posted 25 September 2004 - 12:23 PM

I don't see any errors in you .cmd file, the rest also looks fine to me

#216 User is offline   Thauzar 

  • 4th Star Learner
  • PipPipPip
  • Group: Members
  • Posts: 415
  • Joined: 10-August 04

Posted 25 September 2004 - 05:16 PM

eagle00789, on Sep 25 2004, 12:23 PM, said:

I don't see any errors in you .cmd file, the rest also looks fine to me

Glad to hear that, but the problem is still there... and I really can't figure out how come it does that. Could it only be caused by VM Ware not being a real life pc?


EDIT: AHhA! I think I found a trail to follow, I noticed that it does that also between 1st and 2nd runonceex but it does not show cause the window is the same size how do we make the window close then? It should close before runing the next one no? Well the 3rd one does when it finishes his last command. So except from doing another autoit script, how can we make those windows close?

#217 User is offline   sleepnmojo 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 472
  • Joined: 02-March 04

Posted 25 September 2004 - 07:20 PM

Thauzar, on Sep 25 2004, 05:16 PM, said:

eagle00789, on Sep 25 2004, 12:23 PM, said:

I don't see any errors in you .cmd file, the rest also looks fine to me

Glad to hear that, but the problem is still there... and I really can't figure out how come it does that. Could it only be caused by VM Ware not being a real life pc?


EDIT: AHhA! I think I found a trail to follow, I noticed that it does that also between 1st and 2nd runonceex but it does not show cause the window is the same size how do we make the window close then? It should close before runing the next one no? Well the 3rd one does when it finishes his last command. So except from doing another autoit script, how can we make those windows close?

Check this thread
http://www.msfn.org/...showtopic=26917

If that doesn't fix it, post your runonceex1.cmd also

#218 User is offline   Thauzar 

  • 4th Star Learner
  • PipPipPip
  • Group: Members
  • Posts: 415
  • Joined: 10-August 04

Posted 26 September 2004 - 09:33 AM

I started from that post...

And if I look at Parahtmlwhatever who said to remove the 99 key... well I still wonder how is windows gonna know where to look for the next runoncex. I'll wait for his reply on that mater before trying anything and getting everything messed up

during that time, here is my runonceexs

RunOnceEx.cmd (in $OEM$ with cmdlines.txt)
cmdow @ /HID
@Echo Off

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

REG ADD %KEY% /V TITLE /D "Installation des programmes" /f

REG ADD %KEY%\005 /VE /D "Mises a jour des programmes" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\Install\Applications\SAVSource\remote.cmd" /f
REG ADD %KEY%\005 /V 2 /D "%systemdrive%\Install\theme.cmd" /f

REG ADD %KEY%\010 /VE /D "7zip v3.13" /f
REG ADD %KEY%\010 /V 1 /D "%SystemDrive%\Install\Applications\7zip\7z313.exe -y /q /r:n" /f

REG ADD %KEY%\015 /VE /D "Adobe Reader 6" /f
REG ADD %KEY%\015 /V 1 /D "%SystemDrive%\Install\Applications\AdobeReader6\adobe6.exe -p\"-s /v\"/qn\"\"" /f

REG ADD %KEY%\020 /VE /D "Daemon Tools v3.46" /f
REG ADD %KEY%\020 /V 1 /D "%SystemDrive%\Install\Daemon.cmd" /f

REG ADD %KEY%\025 /VE /D "Macromedia Flash et Shockwave" /f
REG ADD %KEY%\025 /V 1 /D "%SystemDrive%\Install\Applications\FlashSW\Flash7.msi /qb" /f
REG ADD %KEY%\025 /V 2 /D "%SystemDrive%\Install\Applications\FlashSW\sw_pub.msi /qb" /f

REG ADD %KEY%\030 /VE /D "Sun Java VM v1.4.2" /f
REG ADD %KEY%\030 /V 1 /D "%SystemDrive%\Install\Applications\SunJava\Java2re14205.exe /s /v/qn /L1036" /f

REG ADD %KEY%\035 /VE /D ".NET Framework v1.1 SP1" /f
REG ADD %KEY%\035 /V 1 /D "%SystemDrive%\Install\Applications\NetFrameworkSP1\netfx.msi /qb" /f

REG ADD %KEY%\040 /VE /D "Barre de recherche Google" /f
REG ADD %KEY%\040 /V 1 /D "%SystemDrive%\Install\Applications\GoogleToolbar\GoogleToolbar.exe /q /d" /f

REG ADD %KEY%\045 /VE /D "Nero Burning ROM v6.3.1.20" /f
REG ADD %KEY%\045 /V 1 /D "REGEDIT /S %systemdrive%\install\Applications\Nero\register.reg" /f
REG ADD %KEY%\045 /V 2 /D "%SystemDrive%\Install\Applications\Nero\Nero63120.exe /SILENT /NOREBOOT" /f

REG ADD %KEY%\050 /VE /D "mIRC v6.16" /f
REG ADD %KEY%\050 /V 1 /D "REGEDIT /s %systemdrive%\install\Applications\mIRC\register.reg" /f

REG ADD %KEY%\999 /V 01 /D "%SystemDrive%\Install\RunOnceExs\RunOnceEx2.cmd" /f
REG ADD %KEY%\999 /V 02 /D "rundll32.exe iernonce.dll,RunOnceExProcess" /f

EXIT


Then RunOnceEx2.cmd (from $OEM$\$1\Install\RunOnceExs
cmdow @ /HID
@Echo Off

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

REG ADD %KEY% /V TITLE /D "Suite de l'installation des programmes" /f

REG ADD %KEY%\005 /VE /D "MSN 6.2" /f
REG ADD %KEY%\005 /V 1 /D "%SystemDrive%\Install\Applications\MSN\MsnMsgs.msi /qn" /f

REG ADD %KEY%\010 /VE /D "MsgPlus! v3.20.100" /f
REG ADD %KEY%\010 /V 1 /D "%SystemDrive%\Install\Applications\MsgPlus3\MsgPlus-320.exe /SilentInstallNoSponsor" /f
REG ADD %KEY%\010 /V 2 /D "pskill.exe MsgPlus.exe" /f
REG ADD %KEY%\010 /V 3 /D "pskill.exe msnmsgr.exe" /f

REG ADD %KEY%\015 /VE /D "Opera v7.54" /f
REG ADD %KEY%\015 /V 1 /D "%SystemDrive%\Install\Applications\Opera7\Opera754.exe /s /v/qb" /f

REG ADD %KEY%\020 /VE /D "Paint Shop Pro 7" /f
REG ADD %KEY%\020 /V 1 /D "%SystemDrive%\Install\Applications\PaintShopPro7\PSP7.msi /qb" /f

REG ADD %KEY%\025 /VE /D "Winamp v5.1.0.5" /f
REG ADD %KEY%\025 /V 1 /D "%SystemDrive%\Install\Applications\Winamp5\Winamp.msi INI=\"%systemdrive%\install\Applications\Winamp5\winamp.ini\" /qb" /f
REG ADD %KEY%\025 /V 2 /D "%SystemDrive%\Install\Applications\Winamp5\winamp.cmd" /f

REG ADD %KEY%\030 /VE /D "VCMU v1.10b" /f
REG ADD %KEY%\030 /V 1 /D "%SystemDrive%\Install\Applications\VCMU\vcmu110b_fr.msi /qb" /f

REG ADD %KEY%\035 /VE /D "WinISO v5.3" /f
REG ADD %KEY%\035 /V 1 /D "REGEDIT /S %systemdrive%\install\Applications\WinISO\register.reg" /f
REG ADD %KEY%\035 /V 2 /D "%SystemDrive%\Install\Applications\WinISO\winiso53.exe /VERYSILENT /SP-" /f

REG ADD %KEY%\040 /VE /D "WinRAR v3.30" /f
REG ADD %KEY%\040 /V 1 /D "%SystemDrive%\Install\Applications\WinRAR\wrar330corp.exe /s" /f

REG ADD %KEY%\045 /VE /D "Windows Media Player 10" /f
REG ADD %KEY%\045 /V 1 /D "%systemdrive%\install\Applications\WMP10\MP10Setup.exe /q:A /c:\"setup_wm.exe /Q /R:N DisallowSystemRestore\"" /f

REG ADD %KEY%\050 /VE /D "OfficeXP Professionnel SP3" /f
REG ADD %KEY%\050 /V 1 /D "%systemdrive%\install\DskChg.cmd" /f

REG ADD %KEY%\998 /V 01 /D "%SystemDrive%\Install\RunOnceExs\RunOnceEx3.cmd" /f
REG ADD %KEY%\998 /V 02 /D "rundll32.exe iernonce.dll,RunOnceExProcess" /f

EXIT



And finaly RunOnceEx3.cmd (from the same folder as the 2nd one)
cmdow @ /HID
@Echo Off

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

REG ADD %KEY% /V TITLE /D "Fin de l'installation des programmes" /f

REG ADD %KEY%\905 /VE /D "PowerToys pour Windows XP" /f
REG ADD %KEY%\905 /V 1 /D "%SystemDrive%\Install\Applications\PowerToys\TweakUI.msi /qb" /f
REG ADD %KEY%\905 /V 2 /D "%SystemDrive%\Install\Applications\PowerToys\TaskswitchPowertoySetup.exe /s /v/qn" /f
REG ADD %KEY%\905 /V 3 /D "%SystemDrive%\Install\Applications\PowerToys\CmdHerePowertoySetup.exe /s /v/qn" /f
REG ADD %KEY%\905 /V 4 /D "%SystemDrive%\Install\Applications\PowerToys\PowerCalcPowertoySetup.exe /s /v/qn" /f

REG ADD %KEY%\910 /VE /D "Symantec AntiVirus Corporate Edition v9.0.0.1400" /f
REG ADD %KEY%\910 /V 1 /D "%systemdrive%\Install\SAV9.cmd" /f
REG ADD %KEY%\910 /V 2 /D "REGEDIT /S %systemdrive%\Install\Applications\SAV91400\SAV9.reg" /f


REG ADD %KEY%\915 /VE /D "Nettoyage et redemarrage" /f
REG ADD %KEY%\915 /V 1 /D "%SystemDrive%\Install\cleanup.cmd" /f

EXIT


#219 User is offline   arry 

  • Newbie
  • Group: Members
  • Posts: 35
  • Joined: 06-May 04

Posted 28 September 2004 - 07:46 PM

Hi eagle00789,

Quick request,

In the numbering scheme you increment in lots of 1. Could you space it out a bit and do it in lots of say 5. That way if you miss something out it is relatively easy to go back and include it without re-numbering everything.

Many thanks

#220 User is offline   eagle00789 

  • MSFN NutCase
  • PipPip
  • Group: Members
  • Posts: 281
  • Joined: 06-August 04

Posted 02 October 2004 - 02:56 PM

arry, on Sep 28 2004, 07:46 PM, said:

Hi eagle00789,

Quick request,

In the numbering scheme you increment in lots of 1. Could you space it out a bit and do it in lots of say 5. That way if you miss something out it is relatively easy to go back  and include it without re-numbering everything.

Many thanks

Please excuse me for not posting a while, but my school is much demanding, so that has top-priority.

In the next version i will implement that, but so thatyou can select the space between two items. i like it with nom space, so i increment with 1. you like to have increment with 5 numbers in between, so you can choose 5

Share this topic:


  • 20 Pages +
  • « First
  • 9
  • 10
  • 11
  • 12
  • 13
  • Last »
  • 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