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 +
  • 1
  • 2
  • 3
  • 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

#1 User is offline   eagle00789 

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

Posted 08 August 2004 - 04:17 PM

I'm creating a program to make it much easyer to write "RunOnceEx.cmd".
Vote on the poll and give me your opinion

Upcoming Version: v2.6.1.0 RC4
Changes in this upcoming version:
* The database updates will be back in the next version.
* Set a preference on when to update the program (Choises will be: Manual, on program exit)
* More programs already added to the database
* Updated helpfile to include more difficult programs
* [possibly] Support for XMLInst by PryGuy ( Votes: Yes 0 | No 0 to vote, please send me a PM)

Current Version: v2.6.1.0 RC3
To download, right here
* To install it complety silent, run it with "/verysilent /accept". The accept portion indicates that you agree with both the licenses. If you want a copy of these licenses, please send me a PM.
* Update is now partially working again. Only the program is updatable for now.

Programs Currently in database
7Zip
ABC - Another Bit Torrent Client 2.6.5
Acdsee 6.03
Acrobat Reader 6.0
Ad Muncher
Ad-Aware Pro
Alcohol 120%
AM-DeadLink v2.00
AOL Instant Messenger
AVG Anti Virus Program
BitTornado 0.3.7
Boot XP
Cisco VPN Client
Command Prompt Explorer Bar 1.1
Connectix Virtual PC
Connectix Virtual PC IS Script
ConTEXT 0.97
Corel Photo Album
Crap Cleaner v110
Creative Audigy/Live Driver
Customizer XP 1.8.5
Daemon Tools
DeepBurner 1.1.1.128
DreamweaverMX
DUMeter 3
DVD Region Free 5.01
Easy CD Creater 5.0
Easy CD Creater 6.0
Emule 0.42
FastFolders v3.0.0
FileZilla v2.2.7b
Fireburner 2.2.1
FireFox 9.3 Browser
F-Prot AntiVirus
FreshUI 6.80
GetDiz 3.0
GetRight
Google Toolbar
Google Toolbar (without advanced features)
Gunbound 3.06
ieSpell - A Spell Checker for Internet Explorer
iISystem Wiper v2.3
Incredimail XE
Index.dat Suite v2.6.0
IsoBuster V1.6
Jasc Paint Shop Pro 8
Journal Viewer 1.5
Kazaa Codec Pack
Kazaa Lite K++ 2.43
Kazaa Lite Resurrection
Lavasoft Ad-Aware 6 Build 181
Logon Loader
MagicTweak
Media Encoder 9
Messenger Plus 2.54
Messenger Plus 2.54 (Without Sponsor)
Microsoft .Net 1.1
Microsoft Money 2004
Microsoft Office 2003 Professional
Microsoft Visual Basic 6 Runtimes
Mozilla 1.6
MRU-Blaster v1.5
MSFN Toolbar Icon
MusicMatch Jukebox
Nero Burning ROM 6.0.0.23+
Netscape 7.02
Norton Ghost
Norton Systemworks 2003
O&O Professional Defrag 6
Paint Shop Pro X
Partition Magic 8.0
PC Cillin
PC Wizard 2004 v1.632
Pdf Creator
Perfect Disk 6
Pop Up Cop
PowerDesk 5 Pro
PowerDesk 5.0
Preparing Installation...
QCD Player
Quick Par
QuickTime Alternative
Real Alternative
RealPlayer One v2
RealVNC 3.3.7
Registry Tweaks
Resplendent Registrar 3.21
SiSoft Sandra Pro MAX3
skype .95 beta
Slim Browser v4.00.2
SpyBot Search & Destroy
SpywareBlaster
Sun Java VM 1.4.2
Sun Java VM 1.4.2.05
Sygate Personal Firewall
Symantec Antivirus Corporate 8.1
Symantec Antivirus Corporate 9
Text Pad
TightVNC
TuneUp Utilities
TuneUp Utilities (Extracted)
Tweaknow PowerPack
TweakUI 2.10 Powertoy
TweakXP Pro 2.0
VideoLAN 0.7.2
Visual CD v 1.8
WinAmp 5.1
Windows MediaPlayer 9
Windows XP Support Tools
WinISO 5.3
WinRAR 3.20
Winscp 2.3
WinXP Image Resizer Power Toy
WMP 9 Bonus Pack
Works7
XoftSpy 3.4.4
Yahoo Messenger 5.6

This post has been edited by eagle00789: 08 October 2005 - 05:01 PM



#2 User is offline   mazin 

  • MSFN Addict
  • Group: Supreme Sponsor
  • Posts: 1,952
  • Joined: 12-January 04

Posted 08 August 2004 - 04:24 PM

I'm the second voice (1st after yours). Come on!

#3 User is offline   MCT 

  • MSFN Junkie
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,288
  • Joined: 19-May 04

Posted 08 August 2004 - 04:35 PM

i voted yes too!

i dont use runoce.. but it would be good for other ppl :)
i use xplode.. which is kinda similar but not really :rolleyes:

#4 User is offline   eagle00789 

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

Posted 08 August 2004 - 04:39 PM

Well, i don't understand anything of XPLode, so that's why i had the idea to create this small (about 200kb in size as for now, but loading still not functional) program

#5 User is offline   mazin 

  • MSFN Addict
  • Group: Supreme Sponsor
  • Posts: 1,952
  • Joined: 12-January 04

Posted 08 August 2004 - 04:53 PM

MCT, on Aug 9 2004, 01:35 AM, said:

i voted yes too!

i dont use runoce..~~~ :)
i use xplode.. ~~~ :rolleyes:

hmm...so you left RunOnceEX...you're moving fast :D

#6 User is offline   MCT 

  • MSFN Junkie
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,288
  • Joined: 19-May 04

Posted 08 August 2004 - 04:58 PM

lol .. indeed :) xplode has a nicer/more customizable GUI :rolleyes: lol

#7 User is offline   sleepnmojo 

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

Posted 08 August 2004 - 05:42 PM

You don't really need a gui to do it at all. I have a cmd script that just parses the directories looking for a file, which has the title, and commands. Which ends up building my script. This keeps all my commands localized to a folder, so if I want to remove the program, I just move the folder, or the cmd file I parse. it's pretty simple.

#8 User is offline   eagle00789 

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

Posted 09 August 2004 - 07:50 AM

here it is, the first official screenshot (more info to come)

Attached File(s)



#9 User is offline   visaversa 

  • Face it...
  • PipPipPip
  • Group: Members
  • Posts: 428
  • Joined: 14-October 03

Posted 09 August 2004 - 07:55 AM

Looks nice indeed

#10 User is offline   gresh 

  • Newbie
  • Group: Members
  • Posts: 28
  • Joined: 08-March 04

Posted 09 August 2004 - 08:01 AM

sleppnmojo: care to share that cmd file of yours?

#11 User is offline   mazin 

  • MSFN Addict
  • Group: Supreme Sponsor
  • Posts: 1,952
  • Joined: 12-January 04

Posted 09 August 2004 - 08:13 AM

Looks simple. Go ahead. I'm lazy enough, so I need a proggy to create it for me. :)

#12 User is offline   sleepnmojo 

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

Posted 09 August 2004 - 11:17 AM

gresh, on Aug 9 2004, 08:01 AM, said:

sleppnmojo: care to share that cmd file of yours?

i'll post it when I get back from work. Should I just create a new topic, or reply to this?

#13 User is offline   kobayashi 

  • Group: Members
  • Posts: 9
  • Joined: 11-August 04

Posted 11 August 2004 - 01:51 AM

Hi all,

Where can i find this pretty tool ??

#14 User is offline   mazin 

  • MSFN Addict
  • Group: Supreme Sponsor
  • Posts: 1,952
  • Joined: 12-January 04

Posted 11 August 2004 - 01:54 AM

kobayashi, on Aug 11 2004, 10:51 AM, said:

Hi all,

Where can i find this pretty tool ??

Under construction. I hope it's coming soon. Keep visiting, like me. :)

#15 User is offline   eagle00789 

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

Posted 11 August 2004 - 01:54 AM

you can't at the moment, i'm stil developing it, but i'm wrapping it up right now. i'm working on the loading of existing RunOnceEx.cmd files. it's almost finished

#16 User is offline   mazin 

  • MSFN Addict
  • Group: Supreme Sponsor
  • Posts: 1,952
  • Joined: 12-January 04

Posted 11 August 2004 - 01:56 AM

eagle00789, on Aug 11 2004, 10:54 AM, said:

you can't at the moment, i'm stil developing it, but i'm wrapping it up right now. i'm working on the loading of existing RunOnceEx.cmd files. it's almost finished

Good news. Is it a matter of few days?

#17 User is offline   eagle00789 

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

Posted 11 August 2004 - 02:17 AM

mazin, on Aug 11 2004, 01:56 AM, said:

Good news. Is it a matter of few days?

yes, it is. i'm having some small troubles with the recognition of a few special lines.
Also, i'm already planning a new version. The new version wil contain a database of known programs, and is self-extendable (you can add your own programs), it also is updateable via the net.

#18 User is offline   kobayashi 

  • Group: Members
  • Posts: 9
  • Joined: 11-August 04

Posted 11 August 2004 - 02:37 AM

good news !
take us inform so we test this app' and thanx for u reply :)

#19 User is offline   sleepnmojo 

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

Posted 11 August 2004 - 04:18 PM

In response to gresh
@ECHO OFF
    (
        ECHO @ECHO OFF
        ECHO CMDOW @ /HID
        ECHO.
        ECHO SET INSTALLDIR=%%SYSTEMDRIVE%%\install
        ECHO SET RUNONCE=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
        ECHO SET /A COUNTER=1
        ECHO.
        ECHO REG ADD %%RUNONCE%% /V TITLE /D "Installing Applications" /f
        ECHO REG ADD %%RUNONCE%% /V FLAGS /T REG_DWORD /D 0x00000030 /f
    ) > $OEM$\RunOnceEx.cmd

    CALL :RUNONCE_PARSE >> $OEM$\RunOnceEx.cmd

    (
        ECHO GOTO :EOF
        ECHO.
        ECHO :SET_INSTALL
        ECHO     SET COUNTER2=%%COUNTER%%
        ECHO     IF %%COUNTER%% LSS 10 SET COUNTER2=0%%COUNTER%%
        ECHO     IF NOT "%%~1"=="" REG ADD %%RUNONCE%%\%%COUNTER2%% /VE /D %%1 /f
        ECHO.
        ECHO     SET /A J=1
        ECHO     :LOOP
        ECHO         SHIFT /1
        ECHO         IF "%%~1"=="" GOTO :END_INSTALL
        ECHO         SET A=%%1
        ECHO         SET A=%%A:'="%%
        ECHO.
        ECHO         REG ADD %%RUNONCE%%\%%COUNTER2%% /V %%J%% /D %%A%% /f
        ECHO         SET /A J+=1
        ECHO     GOTO :LOOP
        ECHO     :END_INSTALL
        ECHO     SET /A COUNTER+=1
        ECHO GOTO :EOF
    ) >> $OEM$\RunOnceEx.cmd
GOTO :EOF

:RUNONCE_PARSE
SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION & PUSHD $OEM$\$1\INSTALL
    FOR /D %%D IN (*) DO (
        SET LINE=CALL :SET_INSTALL

        PUSHD %%D
        IF EXIST CMD.INSTALL (
            FOR /F "EOL=; DELIMS=" %%I IN (CMD.INSTALL) DO (
                SET TEMP_I=%%I
                SET TEMP_I=!TEMP_I:\=\\!
                IF "!TEMP_I!"==" " (
                    SET LINE=!LINE! ""
                ) ELSE (
                    SET LINE=!LINE! "!TEMP_I:"=\'!"
                )
            )
            ECHO !LINE!
        )
        POPD
    )
POPD & ENDLOCAL
GOTO :EOF

I pulled this from my script that makes my cd image. I didn't test it. It should be run on the same level as $OEM$. It will parse through $OEM$\$1\INSTALL, going 1 directory deep, looking for cmd.install.

A sample cmd.install in $OEM$\$1\INSTALL\winamp\cmd.install
Winamp 5.04
%INSTALLDIR%\Winamp\winamp504_full.exe /S /install=SFQR
TASKKILL /F /IM WINAMP.EXE
CMD.EXE /Q /C XCOPY %INSTALLDIR%\Winamp\Skins\*.* "%PROGRAMFILES%\winamp\skins"
;copy over config stuff
CMD.EXE /Q /C COPY %INSTALLDIR%\Winamp\winamp.ini "%PROGRAMFILES%\winamp"
CMD.EXE /Q /C COPY %SYSTEMDRIVE%\install\Winamp\winamp2.ini %SYSTEMROOT%\winamp.ini

First line is title, a space represents an empty line, which won't show anything in the menu on runonceex, all following lines are commands, except those starting with ;

And before anyone asks why do I have a SET_INSTALL procedure in my runonceex.cmd; Its because thats how I originally had it, till I decided to parse the directories. If I had to rewrite this, I would probably integrate it all together.

::added ECHO OFF for people who can't get it to work properly

#20 User is offline   eagle00789 

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

Posted 13 August 2004 - 07:54 AM

I'm releasing a first beta version of this program.

To download. follow this link: Click this link

To add multiple commands under 1 program name, just leave the field Program Name blank.
Deleteing or editing of commands is not jet supported
Loading is only supported by 2 lines (no commands yet)
Saving is fully supported
A website is being created for this

Share this topic:


  • 20 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy