• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
Sign in to follow this  
Followers 0
eagle00789

Easy RunOnceEx.cmd

Do you want it to be easy to create RunOnceEx.cmd   2,053 members have voted

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

    • Yes
      1676
    • No
      33
    • What whould be the function?
      60
    • Maybe
      61

Please sign in or register to vote in this poll.

384 posts in this topic

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

Edited by eagle00789
0

Share this post


Link to post
Share on other sites

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

0

Share this post


Link to post
Share on other sites

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:

0

Share this post


Link to post
Share on other sites

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

0

Share this post


Link to post
Share on other sites
i voted yes too!

i dont use runoce..~~~ :)

i use xplode.. ~~~ :rolleyes:

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

0

Share this post


Link to post
Share on other sites

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

0

Share this post


Link to post
Share on other sites

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.

0

Share this post


Link to post
Share on other sites

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

post-80-1092059424_thumb.png

0

Share this post


Link to post
Share on other sites

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

0

Share this post


Link to post
Share on other sites
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?

0

Share this post


Link to post
Share on other sites
Hi all,

Where can i find this pretty tool ??

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

0

Share this post


Link to post
Share on other sites

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

0

Share this post


Link to post
Share on other sites
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?

0

Share this post


Link to post
Share on other sites
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.

0

Share this post


Link to post
Share on other sites

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

0

Share this post


Link to post
Share on other sites

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

0

Share this post


Link to post
Share on other sites

very nice and when it gets the edit function it will be dynamite, thanks

for the nice tool. I am looking forward to its dev.

bonedaddy

0

Share this post


Link to post
Share on other sites

in about an hour, i'm going to unattend install my pc, then i have to reinstall my development-apps and then i can continue with the work i'm doing on Easy RunOnceEx.cmd v1.0b. In that hour, i'm also continuing that work.

0

Share this post


Link to post
Share on other sites

Just two notes:

- the main window isn't resizable.

- "Add Command" dialog box doesn't have a "Cancel" button.

Nice utility. :yes:

0

Share this post


Link to post
Share on other sites

i'm going to change that. thx for those tips

just still no luck on the reinstall of my pc yet

0

Share this post


Link to post
Share on other sites
just still no luck on the reinstall of my pc yet

Take your time. :thumbup

0

Share this post


Link to post
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
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.