December 17, 200817 yr Hello,I want to create a boot menu that when WinPE loads it displays 3 options:1. Win XP2. Win XP SP23. Win XP SP3Case the user selects option 2, a batch file called LoadManager.bat will run with parameter 2For example: "LoadManager.bat 2"The batch file contains command to run imageX and apply the Win XP SP2 image.How can I perform that?Thanks!
December 17, 200817 yr I use BS Explorer which can be located here:http://www.kursknet.ru/~boa/en/index.html
December 17, 200817 yr Author Hi!It looks like I need to gues how to work with those applications.Where to install it? how? How to edit the menu?Where should I place the exe file in order to have it as the first screen???\Please help!
December 17, 200817 yr To edit the menu is pretty straight forward. There are some .ini files that correspond to what they are doing. To get this to run at boot up call the file from the winpeshl.ini .... if you place the whole directory in the Program files dir simply call it from the winpeshl.ini using the full path.
December 17, 200817 yr Author When I load the application in winpe startup I get the "Specify OS to repair installation wizard".Can someone give me link to more info how to work with those applications?Do I suppose to guess the information you gave me or there is a manual to work with the applications?How do I edit the menu?Thanks and sorry if I am impatience...
January 26, 200917 yr With a combination of 'errorlevel' and 'choice' I'm sure you can append the captured keypress to your batch file.That way you stick with the command prompt and not 3rd party software.
January 26, 200917 yr With a combination of 'errorlevel' and 'choice' I'm sure you can append the captured keypress to your batch file.That way you stick with the command prompt and not 3rd party software.I had guessed that "choice" was removed since 2K thanks to "SET /P" Or are we talking about DOS? jaclaz Edited January 26, 200917 yr by jaclaz
January 26, 200917 yr Choice is available from my Vista command prompt. I've just tried it from the WinPE command and no joy - oops! sorry Lekfir, please ignore my previous post. I just assumed that it would work under WinPE without checking.As for 3rd party software, Kix32 could be another alternative.Ray
January 26, 200917 yr Let's see, make a CMD scripted style menu that lovely dos look, use VBS/HTA, or an Autoit script would also work nicely for this, how pretty do you want it to look?
February 27, 200917 yr This would be really good for me too.I'm looking for a basic imagex menu that will either Create or Apply and image depending on a user defined .wim file.1st ever go at writing a batch file so probably a bit messy. Not sure if the user variable works either, but would be quite nice and useful.The prepdrive.txt file will just format the entire disk for image to be applied.@ECHO OFFECHO 1 - Create ImageECHO 2 - Apply ImageREM Need to enter something here to make option 1 or 2 available:CREnet use j: "ServerShare"timeout 3SET USRINPUT=ECHO Enter Image name and press enter . . .COPY CON %TEMP%.~USRINP.TMPECHO.>> %TEMP%.~USRINP.TMPTYPE %TEMP%.~USRINP.TMP | DATE | FIND "):" > %TEMP%.~USRINP.BATCALL %TEMP%.~USRINP.BATimagex /compress fast /check /scroll /capture c: c:%USRINPUT%.wimtimeout 3copy c:%USRINPUT%.wim j:timeout 3GOTO FINAL:APPSET USRINPUT=ECHO Enter Image name then press enter . . .COPY CON %TEMP%.~USRINP.TMPTYPE %TEMP%.~USRINP.TMP | DATE | FIND "):" > %TEMP%.~USRINP.BATdiskpart /s %SYSTEMROOT%prepdrive.txttimeout 3net use j: "ServerShare"timeout 3CALL %TEMP%.~USRINP.BATimagex /apply j:%USRINPUT%.wim 1 c:timeout 3GOTO FINAL:FINALEXITSeen people mention these hta files to, any advice would be appreciated. Would love just a basic menu system that auto loads up with those options eventually.http://www.msfn.org/board/index.php?showto...amp;hl=bat+menuFound this extremely useful, will post finished bat file soon, hopefully Edited February 27, 200917 yr by Tripredacus Merged posts
February 27, 200917 yr Geezery's HTA (which I use) is not locked down so that you cannot edit it. Therefore you can remove (remark) options out of the code to limit what your users can do. For example, in my version of his HTA (see it in my signature for a link) I remarked out the buttons for Capture, Append, Mount network drive. I did this because, in my production model, the standard users of this program should not need to ever use these options. In my case, mounting network drives is done via startnet.cmd and image maintenance is only the task of the evaluation guy, and myself, the image control guy. All the users get to do is deploy images and install software after the image is deployed. Of course your scope may be different and you can change things as you need to.Some knowledge of HTML and scripting languages is needed to edit them, but everything is open source so you can research it easily. I still do not understand everything in the HTA either. Edited March 2, 200917 yr by Tripredacus Moved reply to http://www.msfn.org/board/index.php?showtopic=97512
Create an account or sign in to comment