Jump to content

fly2279

Member
  • Posts

    47
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

About fly2279

fly2279's Achievements

0

Reputation

  1. Thanks for the info. I tried opening the batch file from the cmd window and using the 'edit' command. I pressed ctl+p, held down alt and typed in the three letter code and pressed enter, saved the file. When I ran the file the character didn't show up. What am I doing wrong? BTW I'm using windows xp.
  2. I've seen some batch files that echo certain ascii characters to create "boxes" around text. I can't seem to find anything useful searching google to get some help on this. Is there a list somewhere that has the characters I can put into a batch file to make it look "pretty"? Here is an example: ECHO ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ECHO ³ ³ ECHO ³ You are about to reformat your Hard Disk ! All Data ³ ECHO ³ will be PERMANENTLY LOST - If you have Data that you ³ ECHO ³ need ON THE C: drive, back it up BEFORE carrying out ³ ECHO ³ this procedure - YOU ARE WARNED that proceeding now ³ ECHO ³ destroys ALL Data on the C: Drive ³ ECHO ³ ³ ECHO ³ Press 'Y' to REFORMAT or 'N' to EXIT ³ ECHO ³ ³ ECHO ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
  3. Do you think I can do that in conjunction with symantec ghost (I'm definitely open to others, free or not, I'm not a big fan of symantec)? I've tried searching elsewhere for tutorials, I just don't know where to go once I have my master installation ready to be cloned. I think I could figure out how to deploy it over a network but I really don't want to have to deal with re-installing everything. Again the goal is to ask them via batch file with choices and then install image and restart after asking to remove the bootable cd.
  4. I am building a computer for someone and am going to install windows with drivers and apps pre-installed. I am planning on using sysprep to reseal the computer so the user goes through the oobe. What I would like is to be able to create a restore cd or dvd that will boot and ask if the user really wants to restore to the factory config and when done asks them to remove the cd and press a key to reboot. I know that I can use something like norton ghost to create the image but how can I make sure that the user has to choose whether or not to really restore it, etc.? Can anyone suggest a good tutorial or program to do this?
  5. I'll try to be more clear. I am building computers for other people. I would like to: 1. Install drivers via the $OEM$ folder (I think I can get that going with help from previous posts) 2. Use GUI Run Once to install misc. apps i.e. pdf reader, reg tweaks, etc. (Also something I think I can do on my own) 3. Install windows to the point of restarting for the last time and then let the user input how they connect to the internet, user names, and activation for xp home installs I guess I need to know what to put into the winnt.sif to let the oobe run with those or more elements and then after the user inputs them to run the gui runonce. It would also be nice to create my own 'oem' cd that is bootable and asks if the user wants to restore to the original configuration, similar to a ghost image or any of the major oem's that have a restore cd.
  6. I don't want to set up the users automatically, I want the oobe to run so they can do that themselves. Want I want is similar to Dell's setup where you basically go through the oobe but extra programs are already installed. I know I can use nLite and the gui run once to get that stuff set up, my problem is knowing how to keep the oobe, or just certian parts of it.
  7. Sorry if this is in the wrong forum. What I would like to do is be able to set it up so that I keep at least the way users connect to the internet and user names in the oobe so that when they first turn on their computer it asks for that info and then goes into the first run install routine. Can someone help me figure out how to do that?
  8. Here is the code from my theme, is that what you wanted? <html> <head> <link rel="stylesheet" type="text/css" href="./themes/Custom/wpi.css" /> </head> <body class="body" onLoad="SetScriptWaitTimeout(); startstop(); fillBoxes(); check(load_checks); startstop(); flevInitPersistentLayer('layercfgbtns',0,'','','15','','','15');window.focus();"> <DIV> <DIV id="TipLayer" style="visibility:hidden;position:absolute;z-index:1000; left:0; top:-100;"> </DIV> <script language="JavaScript1.2">sizer(); applyCssFilter();</script> <script> if (top.status != "") winheight = top.status; cols = Math.round((winheight/3*4)/320,0); if (!maxentries) { switch (winheight) { case '600': maxentries=19; break; case '768': maxentries=30; break; case '1024': maxentries=41; break; case '1200': maxentries=45; break; default: maxentries=31; } } </script> <div id='bgpiclayer' style="z-index:-1; position:absolute; top:0; left:0; width:100%; height:100%; display:block; overflow:hidden;"> <img id='bgpic' src='./themes/Custom/wallpaper.jpg' width="100%" height="100%"> </div> <script> if (bgpicture != '') { document.all.bgpic.src = "./Graphics/" + bgpicture; } </script> <table border="0" width="100%" height="100%" cellspacing="0" cellpadding="0" onClick="stopInterval()"> <tr> <td colspan="2" bgcolor="#003399" height="10%" valign="center"> <DIV id="DebugLayer" style="visibility:hidden; overflow:auto; position:absolute; z-index:1000; width:100%; height:100%"> <form class="txt" name="debug">DEBUG:<br></form> </DIV> <div align="center"> <script> if(debugOn) document.all.DebugLayer.style.visibility='visible'; </script> <script> if (top.status=="480") document.images("titleimg").style.display='none'; </script> <br> <img src="./themes/Custom/mslogo.jpg" name="titleimg" border=0 align="center" id="titleimg"> </div></td> </tr> <tr><td colspan="2" background="./themes/Custom/smallbart.gif" height="2px"></td></tr> <tr> <td colspan="2" width="100%" valign="center" align="center"> </td> </tr> <tr height="80%"> <td width="10%" valign="top" nowrap> <br> <br> <br> <br> <br> <br> <!-- The Defaults Box Title --> <div id="divMultiDefault"> <a href></img><font class="side" ><b> </b><a/></font><br> <span class="configcombo"> <script Language="VBScript"> If (showMultiDefault) Then Dim objNet Dim ComputerName On Error Resume Next 'In case we fail to create object then display our custom error Set objNet = CreateObject("WScript.NetWork") If Err.Number <> 0 Then 'If error occured then MsgBox "Don't be Shy." & vbCRLF & "Do not press ""No"" If your browser warns you." Document.Location = "UserInfo.html" 'Place the Name of the document. It will display again End if ComputerName=objNet.ComputerName Set objNet = Nothing 'Destroy the Object to free the Memory End If </Script> <script language="JavaScript1.2"> if(showMultiDefault) { document.write('<select id="configList" name="configList" onChange="stopInterval(); startstop(); check(configList.value);">'); //Add defaults, all, none if (load_checks=='default') document.write('<option value="default" selected>'+ getText(lblSelectDefaults) +'</option>'); else document.write('<option value="default">'+ getText(lblSelectDefaults) +'</option>'); if (load_checks=='all') document.write('<option value="all" selected>'+ getText(lblSelectAll) +'</option>'); else document.write('<option value="all">'+ getText(lblSelectAll) +'</option>'); if (load_checks=='none') document.write('<option value="none" selected>'+ getText(lblSelectNone) +'</option>'); else document.write('<option value="none">'+ getText(lblSelectNone) +'</option>'); <!--document.write('<option value="------">------</option>');--> for (var i=0;i<configlist.length;i++) { if (load_checks=='ComputerName' && configlist[i]==computername) document.write('<option value="' + configlist[i] + '" selected>' + configlist[i] + '</option>'); else document.write('<option value="' + configlist[i] + '">' + configlist[i] + '</option>'); } document.write('</select><br><br>'); } </script> </span> </div> <div id="divSelectButtons"> <!-- The Defaults button. --> <a href; onMouseDown="document.Defaultsbutton.src='./themes/Custom/checkdown.gif';" onMouseOver="document.Defaultsbutton.src='./themes/Custom/checkover.gif';" onMouseOut="document.Defaultsbutton.src='./themes/Custom/check.gif'; htm()" onClick="stopInterval(); startstop(); check('default'); startstop();" > <img src="./themes/Custom/check.gif" align="absbottom" class="mainbtn" border="0" name="Defaultsbutton"> </img><font class="side" ><b><script>document.write(getText(lblSelectDefaults));</script></b></font></a><br /> <!-- The All button. --> <a href; onMouseDown="document.allbutton.src='./themes/Custom/checkdown.gif';" onMouseOver="document.allbutton.src='./themes/Custom/checkover.gif'; stm(getText(ttSelectAll),Style[0]);" onMouseOut="document.allbutton.src='./themes/Custom/check.gif'; htm()" onClick="stopInterval(); startstop(); check('all'); startstop();" > <img src="./themes/Custom/check.gif" align="absbottom" class="mainbtn" border="0" name="allbutton"> </img><font class="side"><b><script>document.write(getText(lblSelectAll));</script></b></font></a><br /> <!-- The None button. --> <a href; onMouseDown="document.nonebutton.src='./themes/Custom/checkdown.gif';" onMouseOver="document.nonebutton.src='./themes/Custom/checkover.gif'; stm(getText(ttSelectNone),Style[0]);" onMouseOut="document.nonebutton.src='./themes/Custom/check.gif'; htm()" onClick="stopInterval(); startstop(); check('none'); startstop();" > <img src="./themes/Custom/check.gif" align="absbottom" class="mainbtn" border="0" name="nonebutton"> </img><font class="side"><b><script>document.write(getText(lblSelectNone));</script></b></font></a><br /> </p> </div> <!-- Select Buttons Div --> <script language="javascript"> if(showMultiDefault) { document.getElementById("divSelectButtons").style.display = "none"; } else { document.getElementById("divMultiDefault").style.display = "none"; } </script> <center> <br><!--<img id="imgsep1" src="./themes/Custom/seperator.gif">--></center> <!-- The Options button --> <div id="optButton"> <br> <a href; onMouseDown="document.optionsbutton.src='./themes/Custom/continuedown.gif';" onMouseOver="document.optionsbutton.src='./themes/Custom/continueover.gif';" onMouseOut="document.optionsbutton.src='./themes/Custom/continue.gif'; htm();" onClick="stopInterval(); startstop(); ToggleOptions(); startstop();"> <img src="./themes/Custom/continue.gif" align="absbottom" class="mainbtn" border="0" name="optionsbutton"> </img><font class="side"><b><script>document.write(getText(lblOptions));</script></b></font></a><br /> </div> <!-- The Config button --> <div id="optConfig"> <a href; onMouseDown="document.configbutton.src='./themes/Custom/continuedown.gif';" onMouseOver="document.configbutton.src='./themes/Custom/continueover.gif';" onMouseOut="document.configbutton.src='./themes/Custom/continue.gif'; htm();" onClick="stopInterval(); startstop(); ToggleConfig(); startstop();"> <img src="./themes/Custom/continue.gif" align="absbottom" class="mainbtn" border="0" name="configbutton"> <font class="side"><b><script>document.write(getText(lblConfig));</script></b></font></a><br /> </div> <!-- The Source button --> <div id="optSource"> <a href; onMouseDown="document.sourcebutton.src='./themes/Custom/continuedown.gif';" onMouseOver="document.sourcebutton.src='./themes/Custom/continueover.gif';" onMouseOut="document.sourcebutton.src='./themes/Custom/continue.gif'; htm();" onClick="stopInterval(); startstop(); ToggleSource(); startstop();"> <img src="./themes/Custom/continue.gif" align="absbottom" class="mainbtn" border="0" name="sourcebutton" onClick="stopInterval()"> <font class="side"><b><script>document.write(getText(lblSource));</script></b></font></a><br /> </div> <!-- The Music button --> <div id="optMusic"> <a href; onMouseDown="document.musicbutton.src='./themes/Custom/continuedown.gif';" onMouseOver="document.musicbutton.src='./themes/Custom/continueover.gif';" onMouseOut="document.musicbutton.src='./themes/Custom/continue.gif'; htm();" onClick="stopInterval(); startstop(); ToggleAudio(); startstop();"> <img src="./themes/Custom/continue.gif" align="absbottom" class="mainbtn" border="0" name="musicbutton"> <font class="side"><b><script>document.write(getText(lblMusic));</script></b></font></a><br /> </div> <!-- The user manual. --> <div id="ManButton"> <a href="./UserManual/manual.html" target="_blank" onMouseDown="document.ManualButton.src='./themes/Custom/questiondown.gif';" onMouseOver="document.ManualButton.src='./themes/Custom/questionover.gif';" onMouseOut="document.ManualButton.src='./themes/Custom/question.gif'; htm()"> </b></font> <img src="./themes/Custom/question.gif" align="absbottom" class="mainbtn" border="0" name="ManualButton"> <font class="side" ><b><script>document.write(getText(lblmanual));</script> </div> </td> <td rowspan="2" class="txt" valign="top" width="90%"> <div id="layergroup"> <div id="layerboxes" style="position:absolute; display:block; z-index:100; width:100%; height:100%; overflow: hidden; margin-left:15px"> <form name="WPI"></form> </div> <script> if (top.status=="480" || top.status=="600" || alwaysUseScrollbar) { document.all.layerboxes.style.overflow='auto'; } document.all.layerboxes.style.display = 'block'; </script> <div id="layeroptions" style="position:absolute; display:none; z-index:100; overflow: auto; width: 100%; height: 100%;"> </div> <div id="layersource" style="position:absolute; display:none; z-index:100; overflow: auto; width: 100%; height: 100%;"> </div> <div id="layerconfig" style="position:absolute; display:none; z-index:100; overflow:auto; width: 100%; height: 100%;"> <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="25%" class="txt"> <div id="quickref" style="width:100%; height: 100%; z-index:101; overflow:auto;"> </div> </td> <td> <div id="config" style="width:100%; height: 100%; z-index:101; overflow:auto;"></div> </td> </tr> </table> </div> <div id="layeraudio" style="position:absolute; display:none; z-index:100; overflow: auto; width: 100%; height: 100%;"> </div> <div id="layercfgbtns" style="position:absolute; display:none; left:10px; top:10px; width:150px; height:10px; z-index:20"> <input type="button" value="Save" onClick="SaveConfig();"> <input type="button" value="Read" onClick="ReadConfig();"> <input type="button" value="Add" onClick="AddConfigRow(); document.location.href=('#prog'+(pn-1));"> </div> </div> </td> </tr> <tr> <td> <div id="stopwatch" align="center" style="display:none;" class="txt"> <form name="stpw">Elapsed time: <input class="CfgTextBox" type="text" Name="time" size="6" style="border:none; text-align:right;"> ms</form> </div> <script> if(debugOn) {document.all.stopwatch.style.display='block';} </script> <!-- Timer starts here --> <div align="center"> <script> if(timer=='on') startInterval(); if(timer=='off') stopInterval(); if(timer!='off'&& timer!='on') window.alert('Timer Value can only be "on" or "off" Please Change it in config.js'); </script> <span style="vertical-align: bottom"><strong> <font size="2" color="#FFFFFF" face="Arial"> <script> if(timer=='on') document.write(getText(lblTimerTitle)); </script> </font></strong> <form name=display size="4" class="txtboxshow" style="align: center; font-size: 24pt; font-family: Arial; font-weight: bold; color: #FFFFFF; vertical-align: baseline; width:100; height:37"></form> <strong><font face="Arial" size="1" color="#FFFFFF"> <script> if(timer=='on') tProgressBar(); </script> <script> if(timer=='on') document.write(getText(lblTimerStop)); </script> </font></strong> </span><p> </div> <!-- Timer ends here --> </td> </tr> <tr><td colspan="2" background="./themes/Custom/smallbarb.gif" height="2px"></td></tr> <tr> <td colspan="2" bgcolor="#003399" height="10%"> <table width="100%"> <tr> <td width="33%" align="left"> <!-- The exit button. --> <a href; onMouseDown="document.exitbutton.src='./themes/Custom/exitdown.gif';" onMouseOver="document.exitbutton.src='./themes/Custom/exitover.gif';" onMouseOut="document.exitbutton.src='./themes/Custom/exit.gif'; htm()"> <img src="./themes/Custom/exit.gif" align="absbottom" class="mainbtn" border="0" name="exitbutton" onClick="onExit()"> </img> <font class="side" onClick="onExit()"><b> <script>document.write(getText(lblExit));</script></b></font></a></td> <td width="33%" align="right"> <!-- Audio Player --> <div id="mediaplayer"> <div align="center"></div></td> <td width="33%" align="right" valign="center"> <font color="#FFFFFF" size="2"> <b> <i> <script> document.all.MediaPlayer.src='./Audio/WPI.m3u' document.all.MediaPlayer.loop="true" if (showmpWPIBtn == 0) { document.all.MediaPlayer.src=''; } </script> <script> document.all.optMusic.style.display = showOptBtn?'block':'none'; document.all.ManButton.style.display = showmanualBtn?'block':'none'; document.all.optButton.style.display = showOptBtn?'block':'none'; document.all.optConfig.style.display = showOptBtn?'block':'none'; document.all.optSource.style.display = showOptBtn?'block':'none'; document.all.mediaplayer.style.display = showmpWPIBtn?'block':'none'; document.all.Selectionstitle.style.display = showMultiDefault?'block':'none'; </script> </i> </b> </font> <!-- The continue button. --> <div valign="center"><a href; onMouseDown="document.continuebutton.src='./themes/Custom/continuedown.gif';" onMouseOver="document.continuebutton.src='./themes/Custom/continueover.gif';" onMouseOut="document.continuebutton.src='./themes/Custom/continue.gif'; htm()"> <font class="side" onClick="StopAudio(); stopInterval(); CreateFile(false);"> <b>Install Now</b></font> <img src="./themes/Custom/continue.gif" align="absbottom" class="mainbtn" border="0" name="continuebutton" onClick="StopAudio(); stopInterval(); CreateFile(false);"> </img> </a><br/></div></table> </tr> </td> </tr> </table> </body> </html>
  9. Here's my runonce code for winamp, just change the path of the msi file and the ini file to suit your needs. REG ADD %KEY%\050 /VE /D "Winamp 5.111" /f REG ADD %KEY%\050 /V 1 /D "%systemdrive%\Install\Winamp\Winamp5111.msi INI=%systemdrive%\Install\Winamp\winamp.ini /qn" /f Note: the second and third line are really all on one line.
  10. I know this question has probably been asked, but I couldn't find anything helpful when searching. I'm currently using RunOnceEx.cmd to install my programs. At the end like most people I'm importing a .reg file for all my preferences and using another cleanup.cmd to delete some unwanted files/organize the start menu. Some programs like winamp install the folder into the %UserProfile% start menu and I'd like to be able to move some of those files around, however the user profile that I want to modify hasn't been created yet when runonce runs. Is there a way to add a startup item to run once AFTER the first logon when the default start menu and documents folders have been created? Right now I've resorted to placing a .cmd file in the Default User/Desktop folder so that it's on the desktop after logon and I can manually click it to clean things up. Sorry if this isn't clear...
  11. Sure, in fact that's exactly what I did, what I posted was a direct quote from another board.
×
×
  • Create New...