MSFN Forum: Too many entries in run once - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

Too many entries in run once Rate Topic: -----

#1 User is offline   boskap 

  • Newbie
  • Group: Members
  • Posts: 14
  • Joined: 06-March 04

Posted 14 April 2004 - 01:35 PM

Hello

My English is not so good

I have a question

I have a unattend DVD with 48 software Products
I can choose witch softwre i want to install.
When i choose the software the needed entries to install were written to the runoncex key
on next reboot the software will be installed

my problem is , that the runoncex list is so long that goes over my desktop and i could not se where the inst. process is.

have you got any ideas how i can scroll or make 2 rows by runoncex

or any other idea

thx peter


#2 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 14 April 2004 - 02:24 PM

you can neither scrool or make two boxes/columns.

you can set a variable for like 20 apps, it puts in the first 20 apps in registry, then restarts, final thing on that one imports the next 20, restarts, and so on till your down.

You could also optionally use XPlode, but it will break your program. As it used XML and not registry entries.

#3 User is offline   cyberdiamond 

  • Member
  • PipPip
  • Group: Members
  • Posts: 115
  • Joined: 28-July 03

Posted 14 April 2004 - 08:04 PM

You could call another runonceex.cmd at the end of your original one.

Have it add the extra entries, then run runonceex directly without a reboot or logoff.

#4 User is offline   boskap 

  • Newbie
  • Group: Members
  • Posts: 14
  • Joined: 06-March 04

Posted 14 April 2004 - 09:28 PM

And how can i made this to restart runpnceex without reboot

thx
Peter

#5 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 14 April 2004 - 09:30 PM

at the end of the batch file.....call.....

rundll32.exe iernonce.dll,RunOnceExProcess

#6 User is offline   spachtler 

  • Member
  • PipPip
  • Group: Members
  • Posts: 140
  • Joined: 07-February 04

Posted 15 April 2004 - 01:47 AM

boskap, on Apr 14 2004, 01:35 PM, said:

Hello

My English is not so good

I have a question

I have a unattend DVD with 48 software Products
I can choose witch softwre i want to install.
When i choose the software the needed entries to install were written to the runoncex key
on next reboot the software will be installed

my problem is , that the runoncex list is so long that goes over my desktop and i could not se where the inst. process is.

have you got any ideas how i can scroll or make 2 rows by runoncex

or any other idea

thx peter

der flagge nach kommste ausm ösi-land,
ich hab ne ähnlich aufgebaute dvd wo du auch wählen
kannst, welche programme installiert werden,
sind aber nur 18 und im maximal-fall reicht die
liste grad komplett übern monitor. mich würd interessieren,
wie dein "auswahlmenü" aussieht.......

gruß, spachtler

translation: i build a dvd too with some programs and would be
intrested how your choose-meu is look like....

#7 User is offline   ZoSTeR 

  • Member
  • PipPip
  • Group: Members
  • Posts: 227
  • Joined: 04-November 03

Posted 15 April 2004 - 02:20 AM

Um blöden Kommentaren aus dem Weg zu gehen (wie diesem :)), würde ich deutschen Antworten auch gleich eine Übersetzung anfügen.

Two avoid angry comments i would also add an english translation to non-english answers.

greetZ

#8 User is offline   boskap 

  • Newbie
  • Group: Members
  • Posts: 14
  • Joined: 06-March 04

Posted 15 April 2004 - 02:22 AM

Thx

Must i kill first the running runonex process and start with

rundll32.exe iernonce.dll,RunOnceExProcess

it new



Ja ich bin aus Österreich

hier meine Liste aus meiner DVD

Attached File(s)



#9 User is offline   spachtler 

  • Member
  • PipPip
  • Group: Members
  • Posts: 140
  • Joined: 07-February 04

Posted 15 April 2004 - 03:23 AM

@boskap: dein menü arbeitet wahrscheinlich nach dem selben prinzip wie meins,
es schreibt je nach auswahl werte in die registry und erzeugt somit
eine runonceex die dann nach neustart abgearbeitet wird.
das deaktivierte programm läßt drauf schließen, das du auch
ne prüfung eingebaut hast, ob ein programm schon installiert ist.
so hab ichs erstellt. bevor du eine neue runonceex erzwingst,
muß eine angefangene erst komplett abgearbeitet sein. eine
laufende kannst du zwar mit taskkill cmd.exe unterbrechen,
stehen aber noch reste in der registry, werden die nach neustart
weiter abgearbeitet. bzw. könntest du ja deinem auswahlmenü sagen,
wenn z.b. 20 programme oder mehr ausgewählt werden,
das es einen taskkillbefehl mit neustart erzeugt und dann ein 2. teil deiner auswahl abgearbeitet wird.....

translation: i think the shown menu works like my one, for choosing a program,
a registry-value is wirtten to the runonceex-key and would be
see by windows after reboot. looks like it checks if a program is
already installed, so that you couldnt install it twice. maybe its
possible to build in an automatic break (taskkill + reboot)
for installing first 20 progs. for example and after another reboot
the rest of it....

Attached File(s)

  • Attached File  menu.jpg (62.79K)
    Number of downloads: 454


#10 User is offline   boskap 

  • Newbie
  • Group: Members
  • Posts: 14
  • Joined: 06-March 04

Posted 15 April 2004 - 04:30 AM

@ Spachtler

Danke für die Antwort

wie sollte ich deiner meinung nach den counter "alle 20 Programme" reboot machen
oder hast du eine andere idee ??


Der grund warum ich keine übersetzung schreibe ist weil mein Englisch nicht so toll ist

thx
Peter

#11 User is offline   spachtler 

  • Member
  • PipPip
  • Group: Members
  • Posts: 140
  • Joined: 07-February 04

Posted 15 April 2004 - 05:18 AM

so ein counter dürfte kein thema sein, 100%ig kenne ich
den aufbau deines menüs nicht, bei mir ist es z.b. so,
das jede wahlmöglichkeit (jede checkbox) gleichzeitig
eine variable ist, die bei auswahl den status "1" bekommt.
bei nichtauswahl ist der status "0"

nun könnte man ja eine weitere variable nutzen,
die ALLE wahlkästchen zusammenzählt. und da könnte
man sagen: wenn das ergebnis größer oder gleich 20 ist,
wird ein bestimmter wert in die registry geschrieben,
der eben einen "zwischen-neustart" erzeugt.

z.b.:
if ("var01" + "var02" + usw....) >= 20
   reg add key...... usw
end


allerdings könnte man sich das alles auch sparen, wenn
es irgendwie möglich ist, die zu lange liste in mehrere
spalten zu teilen......


trans:

maybe a variable and a "if statement" could be used to generate
a break after 20 programms....

#12 User is offline   mlu 

  • Newbie
  • Group: Members
  • Posts: 44
  • Joined: 09-March 04

Posted 15 April 2004 - 02:28 PM

@spachtler

What did you do to make that cool gui for installing programs?
Can you describe all steps for me?

#13 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 15 April 2004 - 02:43 PM

@mlu

see his other thread. He's already said how to get/make/alter it.

#14 User is offline   mlu 

  • Newbie
  • Group: Members
  • Posts: 44
  • Joined: 09-March 04

Posted 15 April 2004 - 04:03 PM

@Alanoll

Where can I find his thread?

#15 User is offline   spachtler 

  • Member
  • PipPip
  • Group: Members
  • Posts: 140
  • Joined: 07-February 04

Posted 16 April 2004 - 12:01 AM

its a simple .msi file, build with "wise for windows installer 5.2 enterprise"....

#16 User is offline   mlu 

  • Newbie
  • Group: Members
  • Posts: 44
  • Joined: 09-March 04

Posted 16 April 2004 - 08:11 AM

alanoll said something about a thread where you explained in detail how to do that. where can I find it?

#17 User is offline   boskap 

  • Newbie
  • Group: Members
  • Posts: 14
  • Joined: 06-March 04

Posted 17 April 2004 - 08:11 AM

@ spachtler

ja ich denke schon das dies mit den variablen funkt.
Ich habe aber meine auswahl nicht selbst geschrieben sondern verwende das tool installs.exe

ausserdem wie würdest du dann den reg key definieren
der reg key für den shutdown müsste ja dann auch variabel sein

gibt es dein msi package noch wo

thx Peter

#18 User is offline   spachtler 

  • Member
  • PipPip
  • Group: Members
  • Posts: 140
  • Joined: 07-February 04

Posted 17 April 2004 - 10:03 AM

@boskap: ich lad die menu.msi mal auf geocities,

zu bekommen unter:

http://www.geocities.com/spacht_2000/msi.zip


es ist nicht verschlüsselt oder gesperrt, mit
einem editor-programm für .msi dateien
quasi open source...

der reg-key für den shutdown würde ja nur dann
in die registry geschrieben, wenn die bedingung
erfüllt ist, das mehr als 20 programme gewählt wurden...

nice weekend, spachtler

p.s.: mir is grad nochwas eingefallen, falls dieser ganze
variablen-kram zu kompliziert ist:
auch dein menü wird ja irgend ne nummerierung in
der runonceex-registry erzeugen. mal angenommen
dein menü stellt 40 programme zur wahl und du baust
einen festgelegten reboot ein, der genau zwischen
20 und 21 sitzt. der würde aber auch ausgeführt, wenn
du von den ersten 20 programmen nur 2 oder 3 gewählt
hast......

translation: if this thing with the variables dont work, its possible
to set a reboot-command after the 20st program
from the menu. but it will also be do the reboot
if you choose only 2 or 3 of the first 20 progs....

#19 User is offline   boskap 

  • Newbie
  • Group: Members
  • Posts: 14
  • Joined: 06-March 04

Posted 17 April 2004 - 12:53 PM

@ spachtler

danke für dein Tool

naja das mit den runonce keys ist nicht so einfach im installs.exe
es sollte zwar funktionieren doch tut es das nicht
darum rufe ich cmd files für das jeweilige programm auf
diese tragen regonce keys ein und beim nächsten
reboot wird dann für die jeweilige inst wieder eine cmd gestartet welche dann alles macht ( inst, reg keys, icons usw.)

ich rufe das tool in der cmdline.txt auf
in der ini datei kann ich gewisse tools schon vorbelegen
die auf jeden fall inst werden.
leider hat das tool noch keinen timer
darum habe ich ein vb script geschrieben welches nach 3 min auf "start install" klickt
in den 3 min habe ich zeit die sw produkte zu ergänzen
und so ist es eigentlich komplett unattended da es weiter läuft und ich ja wenn ich was vergessen habe einfach nachher in das verzeichniss des jeweiligen prog. wechseln kann und dort die cmd aufruf und das produkt installiert sich auch so



ich hoffe du kennst dich aus *ggg*

könnte man bei deinem tool fix einen timer einbauen und das mit dem shutdown ???


lg
Peter

#20 User is offline   spachtler 

  • Member
  • PipPip
  • Group: Members
  • Posts: 140
  • Joined: 07-February 04

Posted 17 April 2004 - 01:12 PM

meine "erste version" hatte so ein timer, das hat sich aber
mit der jetzigen menüstruktur erledigt.

der code dafür ist recht simpel und ersetzt dir denke ich
mal das script das den start-button betätigt....

shutdown.exe -r -f -t 60 -c "Windows XP wird in 60 Sekunden neu gestartet"


diese zeile in einer .cmd datei erzwingt einen dialog,
mit dem hinweis "Windows XP wird in...." und einem
countdown. kannst es ja am laufenden system testen
oder direkt in die kommandozeile (START - AUSFÜHREN)
eingeben, passiert weiter nichts außer halt dem neustart.

Share this topic:


  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy