Help - Search - Members - Calendar
Full Version: RunonceexMaker
MSFN Forums > Unattended Windows Discussion & Support > Application Installs
Pages: 1, 2

   


Google Internet Forums Unattended CD/DVD Guide
echap2000
Voici la nouvelle version de RunonceexMaker: 0.8

Les changements:
-> Enregistrement sous .XML pour Xplode dernière version
-> Correction de bug

Here is the new version of RunonceexMaker : 0.8

Changelog:

-> Xplode output last version
-> Bug correction




You have just to introduce application name in the first column, its parameter in this second column and finally a brief description (like its name for ex)

Example:




Here is the code generated when you save to .BAT output.
CODE
cmdow @ /HID
@echo off
FOR %%i IN (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 %%i:\cd.txt SET CDROM=%%i:
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
REG ADD %KEY% /V TITLE /D "Application Installation" /f
REG ADD %KEY%\000 /VE /D "Messenger 7" /f
REG ADD %KEY%\000 /V 1 /D "%systemdrive%\install\MSN.exe /qn" /f
 
REG ADD %KEY%\003 /VE /D "MSN++" /f
REG ADD %KEY%\003 /V 1 /D "%systemdrive%\install\msnplus.exe /silent" /f
REG ADD %KEY%\003 /V 2 /D "regedit /s %systemdrive%\install\msnreg.reg " /f
 
REG ADD %KEY%\006 /VE /D "Winrar" /f
REG ADD %KEY%\006 /V 1 /D "%systemdrive%\install\winrar.exe /S" /f
 
REG ADD %KEY%\009 /VE /D "Winamp" /f
REG ADD %KEY%\009 /V 1 /D "%systemdrive%\install\winamp.exe /S" /f




Only one file , you don't have to install, just execute it :
Download here


Ce logiciel est contribué à Windows Website
Kalachnipov
Super en francais bravo mec newwink.gif
echap2000
au fait si tu ne t'en sors pas trop, tu peux consulter le site unattended pour les francophones à l'adresse http://www.win-web.be newwink.gif
FeTT!
Merci!
jacksont123
can u please make this in english
Mekrel
I would like to see how your program deals with enclosed quotation marks ie

having to use the escape char ( \" ) when nested quotations occur.
echap2000
version 0.2 will be avalaible this week.

Changelog :
-> Load & save project (runonceex.cmd)
-> Precising the gap
-> Two languages : french & english


Other suggests ??
jacksont123
k
thank u
`Felix`
QUOTE (echap2000 @ Feb 22 2005, 04:57 PM)
version 0.2 will be avalaible this week.

Changelog :
-> Load & save project (runonceex.cmd)
-> Precising the gap
-> Two languages : french & english


Other suggests ??
*


Hi there echap,

I will give you some feedback and suggestions once i am able to get a look at the english version. The screen shots look good! I have been giving eagle (RunOnceEx Creator) feedback, and he has been including them, however he had not been very active lately with updates and bug fixes. Pitty really as he has the making of a good product. I hope any information i can give you will be helpful and let see if we can make this the defacto tool for use. thumbup.gif
Alanoll
maybe consider adding %CDROM% support. All that you'd need in the GUI is a checkbox, and then when writing the script just write the FOR loop just after the TITLE line.

CODE
FOR %%i IN (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 %%i:\CD.txt SET CDROM=%%i:


Besides that i just have one correction for you..
CODE
regedit /s %systemdrive%\install\msnreg.reg

REGEDIT would be the program to execute, with /s %systemdrive%
install
msnreg.reg in the Paremeters field.
ArmyDoc
A question:

How is the program able to distinguish between a new and follow-up entry? What I mean is, how does the program know when to create a key with the same keynumber (ie %KEY%/xxx) but higher values after the /V, and when to create a key with a higher keynumber.
From your screenshots I'm guessing a new keynumber is triggered when data is entered in the description field, correct?
echap2000
New version 0.2 is avalaible/. Look at the first post updated. (don't forget to refresh to get new images)

`Felix`
---------
Here is the english version ... Look at the first post updated. (don't forget to refresh to get new images). Thank you for your future suggestion


Alanoll
--------
When I updated the program at home, I didn't read your suggest.. But it will be added in the next version.
Thank you for correction about Regedit biggrin.gif . It will also be corrected in the next screenshot (v0.3)

ArmyDoc
--------
Yes! Correct ..
It's logical that you don't have to enter the same description , so when you don't enter anything in the description field, the application creates automatically the same number but a higher number for /v switch
`Felix`
QUOTE (echap2000 @ Feb 23 2005, 04:32 PM)
New version 0.2 is avalaible/. Look at the first post updated. (don't forget to refresh to get new images)

`Felix`
---------
Here is the english version ... Look at the first post updated. (don't forget to refresh to get new images). Thank you for your future suggestion


Thanks for the speedy response!

Suggestions:

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. thumbup.gif
echap2000
you can move a row .. but , you can't yet "insert" a row.. nice suggestion
Mekrel
When i try to open RunonceEx.cmd I get an error?
echap2000
it's normal.. because, when you create your runonceex.cmd , you must USE this application. It's also generate a second file called : runonceex.ini . When You open runonceex.cmd , it looks for runonceex.ini. If this file exists, the application read it. And open the project. So, you can open runonceex.cmd if it's created by this application and if .ini file is with it's .cmd
`Felix`
Ok have been doing some testing (v0.2), first thing is that if you currently have a RunOnceEx.cmd file - you get an error if you try to open it (This is with the english lang turned on).
Second, there is no.ini being written, and so the language setting etc is not kept.

It would be worth you having a look at RunOnceEx Creator as most of us have given feedback on that and there is a lot of good stuff in there that you could and should include on runonceex maker.

Hope this feedback helps
echap2000
Application updated ! smile.gif

v0.3 with some adds. See first post.
iwod
super good. May i ask what is it programed in?

Delphi?
echap2000
c++ builder 6
`Felix`
echap,

v0.3 is looking good. Ok here is some feedback.

1. the .ini file should save to the same directory as runonceexmaker.exe
2. the .ini should be a single file, eg. runonceexmaker.ini - then with in the file all of the information should be written.
3. personally i think if you allow runonceexmaker.exe to read the information from the .cmd file when opening you would not need to write all this information to .ini - this too would allow for you to open already created runonceex.cmd files - this would be a big plus!!! and most mosted wanted thumbup.gif
4. All variables should be together such as add cmdow and add %cdrom% and i would just suggest a drop down/fold out panel...
5. below are some launch location variables, (need to add a %PP% [program path] var so it would look something like this:
CODE
SET PP=%cdrom%\Apps\

here is some other to add to the list:
%systemdrive%
%windir%

then in addition we have the following install directories:
\install\
\apps\

6. an undo option like "ctrl z" so if you do a move or change you can reverse it quick and easy.
7. a help option and maybe some help tips when you put your mouse over an option. I will start writing some help information in english and send them to you. thumbup.gif
8. automatically populate "filename to search for" with win51 and have this set from the .ini file - then in future the user could change this to suit themselves.

Thats it for now... hope this information helps yes.gif
echap2000
waouv smile.gif
thanks for your suggests newwink.gif
echap2000
QUOTE
1. the .ini file should save to the same directory as runonceexmaker.exe
2. the .ini should be a single file, eg. runonceexmaker.ini - then with in the file all of the information should be written.
I won't use ini file.. Juste write all informations into registry. it's better.

QUOTE
3. personally i think if you allow runonceexmaker.exe to read the information from the .cmd file when opening you would not need to write all this information to .ini - this too would allow for you to open already created runonceex.cmd files - this would be a big plus!!! and most mosted wanted 

Sure but much difficult to realize I'll try smile.gif


QUOTE
4. All variables should be together such as add cmdow and add %cdrom% and i would just suggest a drop down/fold out panel...
What do you mean : a drop down/fold out panel ???

QUOTE
5. below are some launch location variables, (need to add a %PP% [program path] var so it would look something like this:
CODESET PP=%cdrom%\Apps\


OK smile.gif

QUOTE
6. an undo option like "ctrl z" so if you do a move or change you can reverse it quick and easy.
OK smile.gif

QUOTE
7. a help option and maybe some help tips when you put your mouse over an option. I will start writing some help information in english and send them to you.

Thanks smile.gif

QUOTE
8. automatically populate "filename to search for" with win51 and have this set from the .ini file - then in future the user could change this to suit themselves.

Do you mean win51 by default ?
`Felix`
QUOTE (echap2000 @ Feb 27 2005, 07:28 PM)
QUOTE
1. the .ini file should save to the same directory as runonceexmaker.exe
2. the .ini should be a single file, eg. runonceexmaker.ini - then with in the file all of the information should be written.

I won't use ini file.. Juste write all informations into registry. it's better.

Excellent!
QUOTE (echap2000 @ Feb 27 2005, 07:28 PM)
QUOTE
3. personally i think if you allow runonceexmaker.exe to read the information from the .cmd file when opening you would not need to write all this information to .ini - this too would allow for you to open already created runonceex.cmd files - this would be a big plus!!! and most mosted wanted 

Sure but much difficult to realize I'll try smile.gif

ok - that i can understand.

QUOTE (echap2000 @ Feb 27 2005, 07:28 PM)
Do you mean win51 by default ?
*

Yes.
echap2000
you forgot question 4. smile.gif
`Felix`
QUOTE (echap2000 @ Feb 27 2005, 08:08 PM)
you forgot question 4. smile.gif
*


oh sorry bout that smile.gif

yes a drop down panel would be fine thumbup.gif
echap2000
I don't understand what do you mean by "drop down panel" ? a combobox ??

can you illustrate it?
`Felix`
QUOTE (echap2000 @ Feb 27 2005, 10:09 PM)
I don't understand what do you mean by "drop down panel" ? a combobox ??

can you illustrate it?
*

Yes no problems smile.gif Attached screenshot

Also attachment 2 may give an idea of an easy way to order the list quickly smile.gifClick to view attachmentClick to view attachment
iwod
After using it abit i found a few problem / issues.

1. Is 300 entry a bit too much. I would suggest 50 entry to start with and a function to add more entry as needed. This way when you click on the scroll bar accidentaly it wouldn't scroll to the middle of no where.

2. Another problem is that my saved file when loaded again results in a completely different look / order. I am still trying to reproduce my problem.......

Edit: I think i found the problem. It is because of incomplete / unfinish setting. I left in a few Program with only Names and no file name. Some with file name but no Description. That was because i am unsure of things. I suppose this is not a bug, but a reminder to tell user that they much complete their setting / config in one go otherwise they would lose their previous work.
evilvoice
deleted
`Felix`
QUOTE (evilvoice @ Mar 4 2005, 09:59 AM)
I have a suggestion....I dunno if the file has been updated beyond the 0.3 version I have, but it would be nice to set a starting number...while 000 is nice, when creating multiple runonceex.cmd's for systems that install on 2 computers it would be nice to set the starting number for it to start with in the new cmd file...like for my setup, I have a common.cmd which installs common programs for every system, then I have comp1.cmd which installs programs for my pc, and comp2.cmd which installs programs for a different pc...if I use this program to create all 3, comp1 or comp2 will overwrite common.cmd's programs in registry...just a suggestion.
*


Good idea! i second the suggestion smile.gif
echap2000
nice suggestions thank you
echap2000


what does it mean ???? What do you want to mean by this picture?
iwod
QUOTE (echap2000 @ Mar 4 2005, 04:52 PM)


what does it mean ???? What do you want to mean by this picture?
*


I think what he meant is that you could move the row of Command ( Ie the software program name, description, switches... etc ) up a row , dow a row, or completely remove. This way would be easiler to move things around. As somesoftware must be installed in orders this will make life much easier.
`Felix`
QUOTE (iwod @ Mar 5 2005, 07:16 AM)
I think what he meant is that you could move the row of Command ( Ie the software program name, description, switches... etc ) up a row , dow a row, or completely remove. This way would be easiler to move things around. As somesoftware must be installed in orders this will make life much easier.
*


iwod is right furthermore, if you say change the number "7" to "2" and then click on update, 7 would become 2 and to would be 3, etc...

I understand this may be very hard to impliment, but it is just a suggestion that i think would be very good to have.
iwod
Has anybody actually use this software for a period of time. Becuase how i discover is that it is unable to save proberly. This is the 3rd time i have seen item missing from my original.
`Felix`
QUOTE (iwod @ Mar 5 2005, 10:44 AM)
Has anybody actually use this software for a period of time. Becuase how i discover is that it is unable to save proberly. This is the 3rd time i have seen item missing from my original.
*


iwod,

i have been testing with it, but i always check manually after creating and make any additional modifications or fixes manually. Don't forget this is still a beta product and undergoing lots of changes and fixes.

What are the specific issues you are having - i have been saving files without any problems.
Alanoll
finally got around to changing topic title
echap2000
`Felix`, why don't you move by clicking on the first column ? You click on the first field , and you move where you want


Alanoll:
what don't you activate "Allow users to change their own titles" ? Then,
When I update this topic, It 'll be easier to change the title .
Alanoll
QUOTE (echap2000 @ Mar 5 2005, 03:44 AM)
Alanoll:
what don't you activate "Allow users to change their own titles" ? Then,
When I update this topic, It 'll be easier to change the title .
*

Not my decision? no.gif
neo_3333
echap2000,

Great App. It would be good if it could save to inf format.
echap2000
what do you mean by INF format?
iwod
I think there is either a bug in loading part. I check the .cmd file and everything was ok. But when i load it up in Runoncecmd - either some filed are deleted ( not loading up ) or some extra field is added.

With my current Set i can reproduce the problem every time. How can i send the sample to you?

Edit: OK.. it is the .ini file that is causing problem. Which is different to .cmd file.
echap2000
in the next version, we could load a CMD file (without ini file), with undo / redo system, with auto-add row ,with autosave parameters into registry and get them everytime we execute the program, and with other new changes..
echap2000
yes! , first topic updated

Voici la nouvelle version de RunonceexMaker: 0.4

Les changements:
-> Insertion automatique de ligne en appuyant sur la touche Enter
-> Possibilités de faire jusqu'à 1000 undo & redo
-> Système d'édition intelligent pour réduire les erreurs:
Par exemple:
Quand on sauvegarde ou qu'on change de ligne,
==> L'application vérifie automatiquement le nom du fichier.
S'il trouve un espace dans le nom sans le \" , il les ajoute. Donc c:\program files\file.Exe sera converti en \"c:\program files\file.Exe\"
==> L'application convertie automatiquement tous les " en \"

-> On peut charger un fichier runonceex sans son fichier ini/inf! donc, il vous est possible de charger/sauver sans fichier complémentaire. Vous allez travailler seulement avec un fichier .CMD
-> Sauvegarde des paramètres automatiques dans le registre (le pas, le numéro de commencement, la valeur du CDROM etc)
-> Ajout des nouvelles options : numéro de commencement, le chemin commun des applications.


Here is the new version of RunonceexMaker : 0.4

Changelog:
-> Auto inserting row by pressing Enter Key
-> up to 1000 undo & Redo possibilities
-> Intelligent editing system to reduce errors:
For example :
when saving or changing row,
==>the application checks automatically file name.
if a space founded without \" , it adds them. So c:\program files\file.exe will be converted into \"c:\program files\file.exe\"
==>the application converts automatically all " into \"

-> We can load a runonceex file without its ini/inf file! , so it's possible to load / save without complementary file . you will work only with .cmd file
-> Automatically saving parameter (gap, beginning number, CDROM value etc) into the registry
-> Add some options : Beginning number, application common path,
echap2000
can moderator change the title to RunonceexMaker ?
thanks
jelli
WOW!!! What an amazing app this has helped me so much i have now gone into this method due to the complexity of Xplode and the lack of time available to myslef.

Thank you so much thanks to this app i have configured my XP cd to install a mass of porgrams. Keep updating and supporting it please, i would hate to see this program left out on the side streets.

Thumbs up for this program! thumbup.gif
`Felix`
hi Echap,

Just doing some testing with v0.4. Here is some feedback for you.

1. Can we add a variable under the
CODE
FOR %%i IN (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 %%i:\win51ip.sp2 SET CDROM=%%i:
line that is PP=Application Common Path and then instead of adding the application common path to each filename entry you just insert %PP% - this way for manual editing of the common path you simply change it as the start of the file... makes life easier. [PP = Program Path]

2. If you maximize the Runonceexmaker the input area doesn't scale with the screen size... stays at 800x600. Would be good if it automatically sizes based on the window size.

3. some of the entries in my current RunOnceEx.cmd file are being loaded to the parameter input field instead of the filename input field.. Have move things around and can not determine why this is happening... example is below.
CODE
REG ADD %KEY%\000 /VE /D "Preparing Installation..." /f
REG ADD %KEY%\000 /V 1 /D "%PP%prepare.cmd" /f
If i edit this line in Runonceexmaker v0.4 and then save and view the file the code is as follows:
CODE
REG ADD %KEY%\000 /VE /D "Preparing Installation..." /f
REG ADD %KEY%\000 /V 1 /D "%PP%prepare.cmd " /f
As you can see no real change to the format etc... the only thing i can guess is that the %PP% is confusing the application.

4. Some of the Descriptions get lost when i load my current (manually created) runonceex.cmd file - for example the title for Free Download Manager.

5. Some entries are lost all together. ???

I have attached my runonceex.cmd file for you to test against so you can see the errors yourself. Also attached is runonceex1.cmd - this file was created by loading my original runonceex.cmd file and then simply saving as runonceex1.cmd - you will be able to see the differences....

All other changes and additions are GREAT!!! thankyou for your hard work!!!!

Wish List:
Add database function to the runonceexmaker so that we can add all common applications into it to make life easier... then we can insert from the database to make populating the runonceex.cmd file faster... I would be more than happy to help populate the database and i would even be happy to maintain it (i can do english only)

Well i hope all this information is helpful.
echap2000
QUOTE
1. Can we add a variable under the "for" line that is PP=Application Common Path and then instead of adding the application common path to each filename entry you just insert %PP% - this way for manual editing of the common path you simply change it as the start of the file... makes life easier. [PP = Program Path]

Sure! smile.gif

QUOTE
2. If you maximize the Runonceexmaker the input area doesn't scale with the screen size... stays at 800x600. Would be good if it automatically sizes based on the window size.
Oups!. I forgot to attribute to "Align" => alClient value !.. sorry

QUOTE
3. some of the entries in my current RunOnceEx.cmd file are being loaded to the parameter input field instead of the filename input field.. Have move things around and can not determine why this is happening

I know why!
Because, the program suppose that you have always got File name AND parameter ... Hummmm..

So, it divides the line into 2 parts :
Filename and Parameter. Only "blank" character separate the line..

Filename parameter

So , as you have no space, the program puts "blank" character in filename field, and the reste in parameter field..

in your code
CODE
REG ADD %KEY%\000 /VE /D "Preparing Installation..." /f
REG ADD %KEY%\000 /V 1 /D "%PP%prepare.cmd " /f

REG ADD %KEY%\001 /VE /D "Installing Hotfixes..." /f
REG ADD %KEY%\001 /V 1 /D "%PP%hotfix.cmd " /f

if you put a blank character after your filename that has no parameter, just put a blank character at the end..

But, it will be corrected.. nice correction newwink.gif

QUOTE
rem REG ADD %KEY%\002 /VE /D "Ad-Aware SE 6 Pro" /f
rem REG ADD %KEY%\002 /V 1 /D "%PP%adaware\aase6pro.exe /silent" /f
rem REG ADD %KEY%\002 /V 2 /D "process -k hh.exe" /f
rem REG ADD %KEY%\002 /V 3 /D "process -k ad-aware.exe" /f
I founded another "bug"... when you put "rem" commands in the beginning, the application must ignore it..



For the rest , thank you for your files.. I always test the program with 5-6 programs, so, the bugs don't appear.. It's better to get a real cmd file to test it for better smile.gif

Thank you again !

QUOTE
Add database function to the runonceexmaker so that we can add all common applications into it to make life easier... then we can insert from the database to make populating the runonceex.cmd file faster... I would be more than happy to help populate the database and i would even be happy to maintain it (i can do english only)

Well i hope all this information is helpful.

I think, I'll make a INF file that will have all parameter and files..
The program will read it if it can. Then, when user will click on a button, the programm will show a second window. So the user has just make a drag and drop from second window to the main window.
It'll also be possible to add common applications from second window , or by editing the file manually.

But, you must write yourself what do you want to include.. Here is the format of INF file.

CODE
[Application1]
Description=Nero Burning Rom
File1=app\nero\nero.exe
Parameter1=/parameter
File2=app\nero\neroreg.exe
File3=regedit
Parameter3=/S register.reg

[Application2]
Description=Winamp
File1=app\winamp\winamp.exe
Parameter1=/S

[Application3]
Description=Other
File1=app\google.exe


And so on.
`Felix`
QUOTE (echap2000 @ Mar 14 2005, 06:24 PM)
CODE
[Application1]
Description=Nero Burning Rom
File1=app\nero\nero.exe
Parameter1=/parameter
File2=app\nero\neroreg.exe
File3=regedit
Parameter3=/S register.reg

[Application2]
Description=Winamp
File1=app\winamp\winamp.exe
Parameter1=/S

[Application3]
Description=Other
File1=app\google.exe


And so on.
*



Please i could help... as for the inf files - good idea... as a secondry project later a simply little application that will allow the generation of these inf files would be handy... in the meantime over the next couple of weeks i will begin building some english inf files that can be made available here for users.

Look forward to the next build thumbup.gif




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.