Jump to content

Too many entries in run once


boskap

Recommended Posts


There's lots of ways to execute RunOnceEx commands: cmdlines.txt, svcpack.inf, [setupparams], [GuiRunOnce].

It doesn't affect the performance of RunOnceEx in any way, so take your pick! :)

Link to comment
Share on other sites

Where is this file yoour talking about and how does it get called into the Unattended Install? Please

The cab is located on your CD, inside of the Support\Tools folders.

[setupParams]

Answer File = Unattend.txt

This section is used to run an additional post-Setup command. It contains a single entry, UserExecute. The command specified with UserExecute runs immediately after Setup completes.

Entry Description

UserExecute Specifies the command or application to run after Setup completes.

Sample

This sample demonstrates one use of the [setupParams] section of Unattend.txt.

[setupParams]

UserExecute="C:\folder1\folder2\example.exe /s1 /s2"

UserExecute

Specifies the command or application to run after Setup completes.

Syntax UserExecute = path_and_file_name

Value path_and_file_name

Default Value none

Example [setupParams]

UserExecute="C:\folder1\folder2\example.exe /s1 /s2"

Comments Enclose path_and_file_name in quotation marks if it is a long file name. You can omit the path only if the application is in the %SYSTEMROOT% or %SYSTEMROOT%\system32 folder or search path.

straight from the file. This would go inside of your WINNT.SIF file

Use it how you wish, but like AaronXP said, there are lots of ways. But we're getting off from my original post earlier, that there is no need to have RunOnceEX call a batch file to start another one and so on. You could easily do it in one file.

Link to comment
Share on other sites

  • 4 months later...
@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....

Hi anyone have a wirkign link for this?im really impresses with this and would like to cusotmise it for myslef.thanks in advnace

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