Help - Search - Members - Calendar
Full Version: Easy RunOnceEx.cmd
MSFN Forums > Unattended Windows Discussion & Support > Application Installs
Pages: 1, 2, 3, 4, 5, 6, 7, 8

   


Google Internet Forums Unattended CD/DVD Guide
bonedaddy
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.




QUOTE
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
war59312
QUOTE (eagle00789 @ Aug 23 2004, 06:35 AM)
QUOTE (war59312 @ Aug 22 2004, 06:21 PM)
Still opening maximized.

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

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.

CODE
[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
eagle00789
QUOTE (war59312 @ Aug 23 2004, 02:46 PM)
Sure here you go.

CODE
[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?
AznStyl
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
CODE
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
eagle00789
QUOTE (AznStyl @ Aug 23 2004, 05:09 PM)
Below is the runonceex.cmd that I've created with RunOnceEx Creator
CODE
<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:
CODE
%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
AznStyl
Thank You for clarification... I'm now testing the unattended cd. Sorry to make this thread messy.. will try to make a new thread of more questions are needed to be ask. Thank You once again.
eagle00789
QUOTE (AznStyl @ Aug 23 2004, 05:44 PM)
<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
eagle00789
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)
Gunr
Hey eagle00789, great program!! Used it for the first time today, worked great! Thanks! biggrin.gif
eagle00789
The new version is available. Because this update also includes a large update (security hole fixed) to the update system, you MUST download the setup, to reinstall it again.
bonedaddy
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
eagle00789
i could modify the installer in such a way, that if it detects an older version, that it will modify the existing database, and add the new programs into it
war59312
QUOTE (eagle00789 @ Aug 24 2004, 05:25 PM)
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. newwink.gif

PS2: newwink.gif

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. newwink.gif
eagle00789
NP. I'm happy to do it.

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

Will be done in the next version. (done)

Yes, it does autoinstall the update. woot.gif

PS: Will be solved (done)

PS2: The Programs will be added thumbup.gif

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 tongue.gif

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)
war59312
All right cool. smile.gif
eagle00789
QUOTE (war59312 @ Aug 25 2004, 04:22 PM)
All right cool. smile.gif

Nope. It's HOT woot.gif
war59312
QUOTE (eagle00789 @ Aug 25 2004, 06:00 PM)
QUOTE (war59312 @ Aug 25 2004, 04:22 PM)
All right cool. smile.gif

Nope. It's HOT woot.gif

Yes very hot. 96f right now. sad.gif At 7:21pm. Hit like 102 at around 2pm. And thats not even in the top five this year. On my counsins wetting day elgin had its new record. Was 105f in the shade and 108f in the sun. That was back in july.
eagle00789
QUOTE (war59312 @ Aug 25 2004, 05:22 PM)
QUOTE (eagle00789 @ Aug 25 2004, 06:00 PM)
QUOTE (war59312 @ Aug 25 2004, 04:22 PM)
All right cool. smile.gif

Nope. It's HOT woot.gif

Yes very hot. 96f right now. sad.gif At 7:21pm. Hit like 102 at around 2pm. And thats not even in the top five this year. On my counsins wetting day elgin had its new record. Was 105f in the shade and 108f in the sun. That was back in july.

That's indeed very hot.
war59312
Yea luckily it was for only like 2 hours. And no one died.

A few people got sick but glad no one died. Seeing as my grandfather died from a heart attack mowing the lawn right after I was born. sad.gif

But that was In MIMIA, FLORDIA. Was hot as hell that day. Think if I remember right it was close to 97f for just about the entire day.

Well better than

S.C. 111 June 28, 1954 Camden, SC

lol

Dopped to 88 now. smile.gif

Whoops mkae that 86f. Mom just told me its off by 2f. So then 100f today.
eagle00789
but, it's still hot.

QUOTE
Spybot Search And Destory Maybe Should Be:

/verysilent /noicons

should actualy only use /verysilent. if you use /noicons, then no icons in the sartmenu are being created
eagle00789
Version 2.2.1.0 is available. as usual, the program is available from the website below. It is still not possible to use the update feature, because of another security hole, in wich the database could be deleted.
bonedaddy
well that was interesting. Installed latest and checked my old mdb and there

are only 15 entries. the rest of them said "demo", to number 62.

bonedaddy
eagle00789
that's wierd
war59312
Well one more to add:

Spy Sweeper:

SpySweeper.exe /silent

Anyone know how to add the serial? Appears it not in the registry.
war59312
Yeah something werid is going on.

I got this error when I clicked install in setup:



Then it launched Update which does nothing and have to ctrl+alt+delete it. F4 does not work btw. newwink.gif

Once I closed it setup continued like normal.

Then it launched it. And it lost window size and location. Guess thats because of the change you made? newwink.gif

Dont have bonedaddy problem atm.

Mimized thing still not fixed.
war59312
QUOTE (eagle00789 @ Aug 25 2004, 08:03 PM)
but, it's still hot.

QUOTE
Spybot Search And Destory Maybe Should Be:

/verysilent /noicons

should actualy only use /verysilent. if you use /noicons, then no icons in the sartmenu are being created

Yeah ok.
war59312
BullletProof FTP Server:

ftpsetup.exe /Silent
war59312
Maybe you should add this as a program path as well.

%SystemDrive%\Install\Applications\
eagle00789
Will all be done in the next version (The Version that has support for saving it as an xplode xml-file
killerbee
hi,

this is nice to hear it will have a XPlode-xml output in the next version.
This is a really cool feature thumbup.gif thumbup.gif thumbup.gif

cya

Killer Bee
urie
QUOTE
Well one more to add:

Spy Sweeper:

SpySweeper.exe /silent

Anyone know how to add the serial? Appears it not in the registry.
This Works for me installs and registers the program tongue.gif
QUOTE
REM    Webroot
REG ADD %KEY%\5090 /VE /D "Spy Sweeper 3.0" /f
REG ADD %KEY%\5090 /V 1 /D "%systemdrive%\install\Webroot\SpySweeper.exe /VERYSILENT /SP-" /f
REG ADD %KEY%\5090 /V 3 /D "CMD /C COPY \"%systemdrive%\Install\Webroot\install.dat\" \"%programfiles%\Webroot\Spy Sweeper\" /Y" /f


i only have one problem i need to make the install.dat hidden and read only and i don't know how to do that.
visaversa
QUOTE (urie @ Aug 28 2004, 11:53 AM)
i only have one problem i need to make the install.dat hidden and read only and i don't know how to do that.

oh that one is easy...
just add a batch with the attrib command at the end.

attrib +r +h [[Drive:][Path] FileName]

look here for more info about attrib
urie
visaversa,

Thank you for your quick replie
war59312
QUOTE (urie @ Aug 28 2004, 05:53 AM)
QUOTE
Well one more to add:

Spy Sweeper:

SpySweeper.exe /silent

Anyone know how to add the serial? Appears it not in the registry.


This Works for me installs and registers the program tongue.gif
QUOTE
REM       Webroot
REG ADD %KEY%\5090 /VE /D "Spy Sweeper 3.0" /f
REG ADD %KEY%\5090 /V 1 /D "%systemdrive%\install\Webroot\SpySweeper.exe /VERYSILENT /SP-" /f
REG ADD %KEY%\5090 /V 3 /D "CMD /C COPY \"%systemdrive%\Install\Webroot\install.dat\" \"%programfiles%\Webroot\Spy Sweeper\" /Y" /f
i only have one problem i need to make the install.dat hidden and read only and i don't know how to do that.

Thanks a lot,
Will
war59312
Some more. newwink.gif

Microsoft .NET FrameWork 1.1 SP1:

NetFrameWorkSP1.exe /qb

Driver Cleaner 3.0:

DriverCleaner.exe /S

Spamihilator:

Spamihilator.exe /S

Genie Backup Manager Pro 5.0:

GenieBackUp.exe /verysilent
eagle00789
will be added in the next version. (will not include the update feature anymore, because it was to buggy)
war59312
Oh ok thanks.

So do plan on trying again some time later?
eagle00789
in a later version, yes. but not now anymore. i have to find a descent way for this.
Currently i'm working on the support for XPlode, but this requires a big change to the program, so that's why there are no new version yet.
Also, for this next version, everyone with enough programming skills is able to create it's own save and lode plugins, to support more file-types (if needed)
eagle00789
Update: The new version is out. it currently supports saving as an xplode file (and af course a cmd file). loading will be done in the next version (loading of cmd file is available though). Aslo, setting the options in the xplode file is not yet supported directly from the program. you have to do this manually. The prommised programs are not in this version yet.
war59312
QUOTE (eagle00789 @ Sep 1 2004, 06:53 AM)
Update: The new version is out. it currently supports saving as an xplode file (and af course a cmd file). loading will be done in the next version (loading of cmd file is available though). Aslo, setting the options in the xplode file is not yet supported directly from the program. you have to do this manually. The prommised programs are not in this version yet.

Still get this errror when updating:



And it appears update is still there. newwink.gif
eagle00789
QUOTE (war59312 @ Sep 1 2004, 08:11 PM)
Still get this errror when updating:



And it appears update is still there. newwink.gif

Sorry. i forgot to take the update out
war59312
No problem just a friendly reminder. And what about the error message?
eagle00789
did you got that error when installing??
war59312
QUOTE (eagle00789 @ Sep 2 2004, 01:40 PM)
did you got that error when installing??

Sure did.
`Felix`
@eagle00789

Can i suggest that you change

CODE
rem PP=%SystemDrive%\Install\


To
CODE
SET PP=%SystemDrive%\Install\


And then append

CODE
%PP%


To the path's of the applications - then all that would be required would be the actual directory/folder of the application in each of the program file fields

oh and one other thing that is probably worth adding by default is

CODE
:getcd
FOR %%d IN  (c: d: e: f: g: h: i: j: k: l: m: n: o: p: q: r: s: t: u: v: w: x: y: z:) DO IF EXIST %%d\WIN51 SET CDROM=%%d


Just my 2 cents worth yes.gif
eagle00789
`Felix`: Great suggestions. it will be done in the next version. This will be the version wich also supports loading of XPLode files, and also a plugin-structure to support more formats in the future, for both saving and loading
`Felix`
QUOTE (eagle00789 @ Sep 3 2004, 04:15 PM)
`Felix`: Great suggestions. it will be done in the next version. This will be the version wich also supports loading of XPLode files, and also a plugin-structure to support more formats in the future, for both saving and loading

Excellent! Just some helpful feedback the licence txt and and help file state incorrect version numbers. U may like to update that or create a global variable that updates the version number in all the right places.

Great tool!
eagle00789
QUOTE (`Felix` @ Sep 3 2004, 02:22 AM)
Just some helpful feedback the licence txt and and help file state incorrect version numbers.  U may like to update that or create a global variable that updates the version number in all the right places.

Great tool!

The global var for versionnumber is already done in the next version
war59312
Java Development Kit 1.5.0 RC1:

jdk-1_5_0-rc-windows-i586.exe /S /v/qn

smile.gif
`Felix`
@eagle00789

Something else springs to mind that i beleive would be very valiable - some arrow buttons so that you can highlight a task and move it to where ever you like in the list - to change the order. The other option would be to be given an option for task number then it would put it in the correct place. And finally if you select (highlight) a task when you add a new task it should add the new task after the selected task.

Hope this helps - i beleive it would be good to have and i certainly have a need for it. Normally i have to go and change the order of some tasks manually defeating the purpose of using a tool.




Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.