mazin Posted August 11, 2004 Share Posted August 11, 2004 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 finishedGood news. Is it a matter of few days? Link to comment Share on other sites More sharing options...
eagle00789 Posted August 11, 2004 Author Share Posted August 11, 2004 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. Link to comment Share on other sites More sharing options...
kobayashi Posted August 11, 2004 Share Posted August 11, 2004 good news ! take us inform so we test this app' and thanx for u reply Link to comment Share on other sites More sharing options...
sleepnmojo Posted August 11, 2004 Share Posted August 11, 2004 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.cmdGOTO :EOF:RUNONCE_PARSESETLOCAL 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 & ENDLOCALGOTO :EOFI 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.installWinamp 5.04%INSTALLDIR%\Winamp\winamp504_full.exe /S /install=SFQRTASKKILL /F /IM WINAMP.EXECMD.EXE /Q /C XCOPY %INSTALLDIR%\Winamp\Skins\*.* "%PROGRAMFILES%\winamp\skins";copy over config stuffCMD.EXE /Q /C COPY %INSTALLDIR%\Winamp\winamp.ini "%PROGRAMFILES%\winamp"CMD.EXE /Q /C COPY %SYSTEMDRIVE%\install\Winamp\winamp2.ini %SYSTEMROOT%\winamp.iniFirst 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 Link to comment Share on other sites More sharing options...
eagle00789 Posted August 13, 2004 Author Share Posted August 13, 2004 I'm releasing a first beta version of this program.To download. follow this link: Click this linkTo add multiple commands under 1 program name, just leave the field Program Name blank.Deleteing or editing of commands is not jet supportedLoading is only supported by 2 lines (no commands yet)Saving is fully supportedA website is being created for this Link to comment Share on other sites More sharing options...
bonedaddy Posted August 13, 2004 Share Posted August 13, 2004 very nice and when it gets the edit function it will be dynamite, thanksfor the nice tool. I am looking forward to its dev.bonedaddy Link to comment Share on other sites More sharing options...
eagle00789 Posted August 13, 2004 Author Share Posted August 13, 2004 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. Link to comment Share on other sites More sharing options...
mazin Posted August 13, 2004 Share Posted August 13, 2004 Just two notes:- the main window isn't resizable.- "Add Command" dialog box doesn't have a "Cancel" button.Nice utility. Link to comment Share on other sites More sharing options...
eagle00789 Posted August 13, 2004 Author Share Posted August 13, 2004 i'm going to change that. thx for those tipsjust still no luck on the reinstall of my pc yet Link to comment Share on other sites More sharing options...
mazin Posted August 13, 2004 Share Posted August 13, 2004 just still no luck on the reinstall of my pc yetTake your time. Link to comment Share on other sites More sharing options...
eagle00789 Posted August 15, 2004 Author Share Posted August 15, 2004 i'm now in the process of reinstalling my development tools. (i haven't found any silent switches for it yet) Link to comment Share on other sites More sharing options...
mazin Posted August 15, 2004 Share Posted August 15, 2004 Oh! I forgot to say: the main window isn't centered on screen by default.Thanks. Link to comment Share on other sites More sharing options...
eagle00789 Posted August 15, 2004 Author Share Posted August 15, 2004 I just resumed the work on it, and am taking the following points:Todo:the main window isn't resizable (done)"Add Command" dialog box doesn't have a "Cancel" button (done)the main window isn't centered on screen by default (done)Finish the saving (done)Add the ability to edit a command (done)Ask to overwrite an existing RunOnceEx.cmd file (done)Create an installer (done)Thanks for some of those tips mazinI will be editing this post to see the progress. Link to comment Share on other sites More sharing options...
Bâshrat the Sneaky Posted August 15, 2004 Share Posted August 15, 2004 I just resumed the work on it, and am taking the following points:Todo:the main window isn't resizable (done)"Add Command" dialog box doesn't have a "Cancel" button (done)the main window isn't centered on screen by default (done)Finish the saving (done)Add the ability to edit a commandAsk to overwrite an existing RunOnceEx.cmd file (done)Thanks for some of those tips mazinI will be editing this post to see the progress.Good work!This would save some time (again!)!!!I would really really really like it! Link to comment Share on other sites More sharing options...
Pauly Posted August 15, 2004 Share Posted August 15, 2004 wow gj for the tool im looking forward to the final release because i'm pretty sure it will greatly help a newb like me Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now