yourtech Posted April 20, 2004 Share Posted April 20, 2004 /delpost Link to comment Share on other sites More sharing options...
Aaron Posted April 21, 2004 Share Posted April 21, 2004 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 More sharing options...
Alanoll Posted April 21, 2004 Share Posted April 21, 2004 Where is this file yoour talking about and how does it get called into the Unattended Install? PleaseThe cab is located on your CD, inside of the Support\Tools folders.[setupParams]Answer File = Unattend.txtThis 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. SampleThis sample demonstrates one use of the [setupParams] section of Unattend.txt.[setupParams]UserExecute="C:\folder1\folder2\example.exe /s1 /s2"UserExecuteSpecifies 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 fileUse 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 More sharing options...
glent Posted September 8, 2004 Share Posted September 8, 2004 @boskap: ich lad die menu.msi mal auf geocities,zu bekommen unter:http://www.geocities.com/spacht_2000/msi.zipes ist nicht verschlüsselt oder gesperrt, miteinem editor-programm für .msi dateienquasi open source...der reg-key für den shutdown würde ja nur dannin die registry geschrieben, wenn die bedingungerfüllt ist, das mehr als 20 programme gewählt wurden...nice weekend, spachtlerp.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 More sharing options...
Astalavista Posted September 8, 2004 Share Posted September 8, 2004 (edited) My god this is incredible HELP how do you this Edited September 8, 2004 by Astalavista Link to comment Share on other sites More sharing options...
Nologic Posted September 8, 2004 Share Posted September 8, 2004 az Link to comment Share on other sites More sharing options...
Coolsights2000 Posted September 8, 2004 Share Posted September 8, 2004 I started another thread over here and play with the runonce codeHave a look at what I did hereI took the ideas of others and put this togetherhttp://www.msfn.org/board/index.php?showtopic=26982Mac! Link to comment Share on other sites More sharing options...
Nologic Posted September 8, 2004 Share Posted September 8, 2004 az Link to comment Share on other sites More sharing options...
Nologic Posted September 8, 2004 Share Posted September 8, 2004 az Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now