Jump to content

Easy RunOnceEx.cmd


eagle00789

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

2,055 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


Recommended Posts

Well it doesn't matter, I need to use his newer code, much more simple. Although the js

file is complicated, but the code is what we use.

REG ADD %KEY%\055 /VE /D "Installing Nero Burning ROM 6.316" /f

REG ADD %KEY%\055 /V 1 /D "%CDROM%\software\nero\nero6316.exe /SILENT /NOREBOOT /SN=xxxx-ssss-aaaa-tttt-wwww-dddd /WRITE_SN" /f

REG ADD %KEY%\055 /V 2 /D "REGEDIT /S %CDROM%\software\nero\register.reg" /f

Well at any rate after loading and editing then saving, the v2 line is not being

saved. Just thought I would let you know.

THE bonedaddy

Link to comment
Share on other sites


Still opening maximized.

Well s*** windows still not opening centered. I understand since these are not top prority. ;)

Would you be so kind to post your RunOnceEx.ini file, wich can be found in the directory you installed RunOnceEx.cmd Creator to?

Sure here you go.

[Version]
Database=2002
Program=2121
[FormMain]
Width=773
Height=468
PosX=132
PosY=187
ProgPath=
CMDOW=0
Title=Installing Programs
[FormFromDatabase]
PosX=312
PosY=355

Link to comment
Share on other sites

Sure here you go.

[Version]
Database=2002
Program=2121
[FormMain]
Width=773
Height=468
PosX=132
PosY=187
ProgPath=
CMDOW=0
Title=Installing Programs
[FormFromDatabase]
PosX=312
PosY=355

as a workaround, remove everything below Program=2121.

I will look deeper into it, that if you maximized my app, and then closed it, that it will re-open maximized, and just just at that size. As a amtter of fact, i'm working on a new version (will probably be version 2.2.0.0) with this bug out of the way. if this bug is still there, i will mention it. the new version will have multiple comands in the database for 1 program.

Bonedaddy, would you be so kind to post your entire RunOnceEx.cmd file (preferrably as an attachment to a post), so that i can look into it?

Link to comment
Share on other sites

I'm using the RunOnceEx Creator and I added some softwarez to it but I'm still confuse about the path. E:\XPCD\$OEM$\$1\Install\Applications <-- this is where all the software that I've added in. So in the run once do I have to add %systemdrive%\install\Applications\programnamefolder\programe.exe ?? or wut? please help with clarification. Thank you.

Below is the runonceex.cmd that I've created with RunOnceEx Creator

cmdow @ /HID
@Echo Off

rem PP=

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

REG ADD %KEY% /V TITLE /D "Installing Programs" /f

REG ADD %KEY%\000 /VE /D "Applying Registry Tweaks" /f
REG ADD %KEY%\000 /V 1 /D "REGEDIT /S regtweaks.reg" /f

REG ADD %KEY%\001 /VE /D "Ad-Adware SE Pro v1.03" /f
REG ADD %KEY%\001 /V 1 /D "aawsepro.exe /s" /f

REG ADD %KEY%\002 /VE /D "Alcohol 120%" /f
REG ADD %KEY%\002 /V 1 /D "setup.exe /qn" /f

REG ADD %KEY%\003 /VE /D "Registering Alcohol 120%" /f
REG ADD %KEY%\003 /V 1 /D "REGEDIT /S register.reg" /f

REG ADD %KEY%\004 /VE /D "AVG Antivirus v7.0" /f
REG ADD %KEY%\004 /V 1 /D "avgsetup.exe %SETUP% /SCRIPT_FILE "%systemdrive%\Install\Applications\AVG7\avgsetup.ini" %1 %2 %3 %4 %5 %6 %7 %8 %9" /f

REG ADD %KEY%\005 /VE /D "Flashget v1.6" /f
REG ADD %KEY%\005 /V 1 /D "fgf160.exe /s" /f

REG ADD %KEY%\006 /VE /D "Registering Flashget v1.6" /f
REG ADD %KEY%\006 /V 1 /D "REGEDIT /s register.reg" /f

REG ADD %KEY%\007 /VE /D "K-Lite Mega Codec v1.01" /f
REG ADD %KEY%\007 /V 1 /D "klmcodec101.exe /silent" /f

REG ADD %KEY%\008 /VE /D "Nero Burning ROM 6.3.1.6" /f
REG ADD %KEY%\008 /V 1 /D "Nero6316.exe /SILENT /NOREBOOT /SN=xxxx-xxxx-xxxx-xxxx-xxxx-xxxx /WRITE_SN" /f

REG ADD %KEY%\009 /VE /D "SpyBot Search & Destroy" /f
REG ADD %KEY%\009 /V 1 /D "spybotsd12.exe /silent" /f

REG ADD %KEY%\010 /VE /D "SpywareBlaster" /f
REG ADD %KEY%\010 /V 1 /D "spywareblastersetup.exe /verysilent" /f

REG ADD %KEY%\011 /VE /D "Sygate Personal Firewall Pro v5.5 Build 2637" /f
REG ADD %KEY%\011 /V 1 /D "pspf.msi /QN Reboot=Supress" /f

REG ADD %KEY%\012 /VE /D "Winamp v5.04 Pro" /f
REG ADD %KEY%\012 /V 1 /D "winAmp.msi /qn" /f

REG ADD %KEY%\013 /VE /D "Registering Winamp" /f
REG ADD %KEY%\013 /V 1 /D "REGEDIT /s register.reg" /f

REG ADD %KEY%\014 /VE /D "Window Washer 5" /f
REG ADD %KEY%\014 /V 1 /D "windowwasher5setup.exe /s" /f

REG ADD %KEY%\015 /VE /D "WinDVD 6" /f
REG ADD %KEY%\015 /V 1 /D "winDVD6.exe /verysilent /sp-" /f

REG ADD %KEY%\016 /VE /D "WinRAR v3.30" /f
REG ADD %KEY%\016 /V 1 /D "wrar330.exe /s" /f

REG ADD %KEY%\017 /VE /D "Cleaning Up and Rebooting" /f
REG ADD %KEY%\017 /V 1 /D "cleanup.cmd" /f
EXIT

p.s

eagle00789 nice work... glad that I've found this progz

Link to comment
Share on other sites

Below is the runonceex.cmd that I've created with RunOnceEx Creator

<sniped out>

p.s

eagle00789 nice work... glad that I've found this progz

before you realy add a command to the list, you have to make sure that the programfile field the directory contains in wich it is located. Meaning: Set in the mainscreen the ProgramPath to:

%SystemDrive%\Install\Applications\

In the Add Command window, make sure that the ProgramFile field contains the name of the folder in wich the setup of that program is located (See Screenshot), So no it is not intended that you place every executable in the folder you mention, but in seperate subfolders.

But when you start using my program. The first thing to do is to set the ProgramPath field on the main screen. it is not limited to those path that are on the list. you can type in it.

If you encounter more problems. please open a new topic, to keep this thread as clean as possible. (this goes for everyone, or else this topic will be a big mess and very dificult to read. no offense though).

P.S. The below screenshot is from the latest version. Do not pay attention to the colors, they are from my theme. The new version is NOT available yet. the latetst version is still 2.1.2.1

post-80-1093303890_thumb.jpg

Link to comment
Share on other sites

<snip>Sorry to make this thread messy.. will try to make a new thread of more questions are needed to be ask.<snip>

It's not your fault, but everybody's fault. even mine. but i hope that you have some luck with it. and it is no problem for me. i just like to help people

Link to comment
Share on other sites

The new version is on it's way, with the bug war59312 mentioned, all worked out. i'm in the process of updateing the helpfile as we speak, The program has been changed a bit, so that the database now containes program that require multiple commands to install silently. The update will be available in about 14 hours from now. (hopefully, it will be sooner, but 14 hours at most)

Link to comment
Share on other sites

Hi eagle00789

I guess I can't merge the last mdb and the new one, since I had

a number of entries in the old one. It says error because of no

command 1, if I overwrite the new one. Well how about in the

future will we be able to load a RunOnce.cmd and delete the dups

or unwanted then save the remaining code to the database??

thanks bonedaddy

Link to comment
Share on other sites

The new version is on it's way, with the bug war59312 mentioned, all worked out. i'm in the process of updateing the helpfile as we speak, The program has been changed a bit, so that the database now containes program that require multiple commands to install silently. The update will be available in about 14 hours from now. (hopefully, it will be sooner, but 14 hours at most)

Thanks a lot man.

But now it forgets your window postion and size after you unmaximized after you restart the app after which you had previously left maximized.

Also, I noticed the app closes when you do an update. Even if no update available. Maybe it should launch the app after it is done.

BTW does it auto install the update? Have not been able to test it yet since no updates available.

Take Care,

Will

PS: Add from / to database window still not opening center. Just a friendly reminder. ;)

PS2: ;)

Microsoft .Net 1.:1

netfx.msi /qb

F-Prot AntiVirus:

Setup.exe /HIDDEN /INSTALLDIR=%ProgramFiles%\F-Prot /INSTALL=TYPICAL /NORUN

taskkill /IM F-Sched.exe /F

taskkill /IM fpavupdm.exe /F

taskkill /IM FP-Win.exe /F

Norton Ghost:

Norton Ghost.msi" /q

Quick Par:

QuickPar.exe /S

Pop Up Cop:

PopUpCop.exe /S

taskkill /IM IEXPLORE.EXE /F

taskkill /IM PCCloser /F

GetRight:

GetRight.exe /S

taskkill /IM getright.EXE /F

Ad-Aware Pro:

aawsepro.exe /S

taskkill /IM Adaware.exe /F

taskkill /IM hh.exe /F

taskkill /IM Ad-Aware.exe /F

Spybot Search And Destory Maybe Should Be:

/verysilent /noicons

Ad Muncher (kinda different):

start /wait %systemdrive%\install\Applications\AdMuncher\AdMuncher.exe /S /I:"%systemdrive%\install\Applications\Ad Muncher\AdMuncher.amc" /P:"%ProgramFiles%\Ad Muncher"

WinXP Image Resizer Power Toy:

ImageResizerPowertoySetup.exe /s /v/qn

Text Pad:

txpeng473.exe /s /v/qn

BTW sorry if file names are wrong. ;)

Link to comment
Share on other sites

NP. I'm happy to do it.

I'm trying to fix the window max-problem :blushing: (done)

Will be done in the next version. (done)

Yes, it does autoinstall the update. :w00t:

PS: Will be solved (done)

PS2: The Programs will be added :thumbup

BTW, Don't worry if the file-names are not correct, the user will have to change it to the correct name, because filenames are subject to change :P

I was already changing the installer according to bonedaddy's suggestion

(As usual, the done's don't mean, that these will be available in the version that you can download now)

Edited by eagle00789
Link to comment
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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...