Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

Easy RunOnceEx.cmd

- - - - -

  • Please log in to reply
383 replies to this topic

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

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

  1. Voted Yes (1676 votes [91.58%])

    Percentage of vote: 91.58%

  2. No (33 votes [1.80%])

    Percentage of vote: 1.80%

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

    Percentage of vote: 3.28%

  4. Maybe (61 votes [3.33%])

    Percentage of vote: 3.33%

Vote Guests cannot vote

#1
eagle00789

eagle00789

    MSFN NutCase

  • Member
  • PipPip
  • 281 posts
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, 08 October 2005 - 05:01 PM.



How to remove advertisement from MSFN

#2
mazin

mazin

    MSFN Addict

  • MSFN Sponsor
  • 1,952 posts
I'm the second voice (1st after yours). Come on!
Posted Image

#3
MCT

MCT

    MSFN Junkie

  • Member
  • PipPipPipPipPipPipPipPipPip
  • 3,291 posts
  • OS:none specified
  • Country: Country Flag
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:
Posted Image Posted Image
Windows 7 32Bit 2GB Ram 120GB HDD (Laptop), Windows 8 4GB Ram 1TB HDD (Desktop) Windows XP SP3 VM with enhancements!

#4
eagle00789

eagle00789

    MSFN NutCase

  • Member
  • PipPip
  • 281 posts
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
mazin

mazin

    MSFN Addict

  • MSFN Sponsor
  • 1,952 posts

i voted yes too!

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

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

#6
MCT

MCT

    MSFN Junkie

  • Member
  • PipPipPipPipPipPipPipPipPip
  • 3,291 posts
  • OS:none specified
  • Country: Country Flag
lol .. indeed :) xplode has a nicer/more customizable GUI :rolleyes: lol
Posted Image Posted Image
Windows 7 32Bit 2GB Ram 120GB HDD (Laptop), Windows 8 4GB Ram 1TB HDD (Desktop) Windows XP SP3 VM with enhancements!

#7
sleepnmojo

sleepnmojo

    Advanced Member

  • Member
  • PipPipPip
  • 472 posts
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
eagle00789

eagle00789

    MSFN NutCase

  • Member
  • PipPip
  • 281 posts
here it is, the first official screenshot (more info to come)

Attached Files



#9
visaversa

visaversa

    Face it...

  • Member
  • PipPipPip
  • 428 posts
Looks nice indeed

#10
gresh

gresh

    Newbie

  • Member
  • 28 posts
sleppnmojo: care to share that cmd file of yours?

#11
mazin

mazin

    MSFN Addict

  • MSFN Sponsor
  • 1,952 posts
Looks simple. Go ahead. I'm lazy enough, so I need a proggy to create it for me. :)
Posted Image

#12
sleepnmojo

sleepnmojo

    Advanced Member

  • Member
  • PipPipPip
  • 472 posts

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
kobayashi

kobayashi
  • Member
  • 9 posts
Hi all,

Where can i find this pretty tool ??

#14
mazin

mazin

    MSFN Addict

  • MSFN Sponsor
  • 1,952 posts

Hi all,

Where can i find this pretty tool ??

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

#15
eagle00789

eagle00789

    MSFN NutCase

  • Member
  • PipPip
  • 281 posts
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
mazin

mazin

    MSFN Addict

  • MSFN Sponsor
  • 1,952 posts

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?
Posted Image

#17
eagle00789

eagle00789

    MSFN NutCase

  • Member
  • PipPip
  • 281 posts

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
kobayashi

kobayashi
  • Member
  • 9 posts
good news !
take us inform so we test this app' and thanx for u reply :)

#19
sleepnmojo

sleepnmojo

    Advanced Member

  • Member
  • PipPipPip
  • 472 posts
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
eagle00789

eagle00789

    MSFN NutCase

  • Member
  • PipPip
  • 281 posts
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

#21
bonedaddy

bonedaddy

    Bonafide Member

  • Member
  • PipPipPip
  • 454 posts
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
Using WPI the best Post installer
Using W.A.I.T v23 the 2nd Best Post Installer

#22
eagle00789

eagle00789

    MSFN NutCase

  • Member
  • PipPip
  • 281 posts
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.

#23
mazin

mazin

    MSFN Addict

  • MSFN Sponsor
  • 1,952 posts
Just two notes:

- the main window isn't resizable.
- "Add Command" dialog box doesn't have a "Cancel" button.

Nice utility. :yes:
Posted Image

#24
eagle00789

eagle00789

    MSFN NutCase

  • Member
  • PipPip
  • 281 posts
i'm going to change that. thx for those tips
just still no luck on the reinstall of my pc yet

#25
mazin

mazin

    MSFN Addict

  • MSFN Sponsor
  • 1,952 posts

just still no luck on the reinstall of my pc yet

Take your time. :thumbup
Posted Image




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN