Jump to content

twrizzo

Member
  • Posts

    15
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

About twrizzo

twrizzo's Achievements

0

Reputation

  1. I figured it out. If I have it timeout in my original batch file and install the default apps, I have to insert a new batch file in the RunOnceEx at a lower number than at the point at which it was executed in the original RunOnceEx. For example if I Install apps in the RunOnceEx at keys 10, 20 and 30 and I want to prompt the user with with another batch file at the next logon, I have to put it in a key less than 10 or else it will be executed after the command in RunOnceEx key 30 is. Each of the addition batch files, AllRunonceEx, MISRunonceEX, and PCRunonceEx all have their own individual RunOnceEx settings. cmdlines.txt [COMMANDS] "useraccounts.cmd" "Run-Once.cmd" Run-Once.cmd @echo off color 1f title New Computer Setup echo. echo. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» echo º º echo º New Computer º echo º º echo º October 27, 2006 º echo º º echo º º echo ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͹ echo º º echo º Choose an option to automatically install º echo º all of your applications on next reboot. º echo º º echo º L - Laptop º echo º M - MIS Laptop º echo º P - Standard PC º echo º T - Timeout - Will prompt again º echo º X - Do not install any software º echo º º echo º º echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ echo. choice /C:LMPTX /T:T,300 IF ERRORLEVEL == 5 GOTO EXIT IF ERRORLEVEL == 4 GOTO TIMEOUT IF ERRORLEVEL == 3 GOTO PC IF ERRORLEVEL == 2 GOTO MIS IF ERRORLEVEL == 1 GOTO LAPTOP :LAPTOP Echo Running LAPTOP RunOnceEx Title Laptop Setup cmdow /run /hid C:\install\AllRunOnceEx.cmd cmdow /run /hid C:\install\LaptopRunOnceEx.cmd color 5f cls echo. echo. echo. echo. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» echo º º echo º LAPTOP SETUP º echo º º echo ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͹ echo º º echo º Your apps will be installed the next time you log on. º echo º º echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ Sleep 3 rem cmdow /run /hid C:\install\Prompt_for_CD.vbs Goto Exit :MIS Echo Running MIS LAPTOP RunOnceEx Title MIS Laptop Setup color D1 cls echo. echo. echo. echo. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» echo º º echo º MIS LAPTOP SETUP º echo º º echo ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͹ echo º º echo º Your apps will be installed the next time you log on. º echo º º echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ Sleep 3 rem cmdow /run /hid C:\install\Prompt_for_CD.vbs cmdow /run /hid C:\install\AllRunOnceEx.cmd cmdow /run /hid C:\install\MISRunOnceEx.cmd Goto Exit :PC Echo Running PC RunOnceEx Title PC Setup color 2f cls echo. echo. echo. echo. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» echo º º echo º PC SETUP º echo º º echo ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͹ echo º º echo º Your apps will be installed the next time you log on. º echo º º echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ Sleep 3 rem cmdow /run /hid C:\install\Prompt_for_CD.vbs cmdow /run /hid C:\install\AllRunOnceEx.cmd cmdow /run /hid C:\install\PCRunOnceEx.cmd Goto Exit :TIMEOUT cls Title No Install Selected color E0 echo. echo. echo. echo. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» echo º º echo º No Install Selected º echo º Installing Default Applications º echo º º echo ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͹ echo º º echo º You will be prompted again on next logon º echo º º echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ Sleep 3 cmdow /run /hid C:\install\AllRunOnceEx.cmd cmdow /run /hid reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx" /v "TITLE" /t REG_SZ /d "Installing Programs" /f rem **************************************************************************************** I add the batch file to prompt the user for what software they want at the end of the already executing RunOnceEX cmdow /run /hid reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\999" /v "Run-Once" /t REG_SZ /d "C:\Install\Run-Once2.cmd" /f rem *************************************************************************************** Goto Exit :QUIT cls Title Quitting color CF echo. echo. echo. echo. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» echo º º echo º QUITTING º echo º º echo ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͹ Sleep 3 Goto Exit :EXIT Exit Run-Once2.cmd @echo off color 4f title New Computer Setup echo. echo. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» echo º º echo º New Computer º echo º º echo º October 27, 2006 º echo º º echo º º echo ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͹ echo º º echo º Choose an option to automatically install º echo º all of your applications on next reboot. º echo º º echo º L - Laptop º echo º M - MIS Laptop º echo º P - Standard PC º echo º T - Timeout - Will prompt again º echo º X - Do not install any software º echo º º echo º º echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ echo. choice /C:LMPTX IF ERRORLEVEL == 5 GOTO EXIT IF ERRORLEVEL == 4 GOTO TIMEOUT IF ERRORLEVEL == 3 GOTO PC IF ERRORLEVEL == 2 GOTO MIS IF ERRORLEVEL == 1 GOTO LAPTOP :LAPTOP rem Echo Running LAPTOP RunOnceEx Title Laptop Setup color 5f cls echo. echo. echo. echo. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» echo º º echo º LAPTOP SETUP º echo º º echo ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͹ echo º º echo º Your apps will be installed the next time you log on. º echo º º echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ Sleep 3 rem cmdow /run /hid C:\install\Prompt_for_CD.vbs cmdow /run /hid C:\install\LaptopRunOnceEx.cmd Goto Exit :MIS rem Echo Running MIS LAPTOP RunOnceEx Title MIS Computer Setup color D1 cls echo. echo. echo. echo. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» echo º º echo º MIS COMPUTER SETUP º echo º º echo ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͹ echo º º echo º Your apps will be installed the next time you log on. º echo º º echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ Sleep 3 rem cmdow /run /hid C:\install\Prompt_for_CD.vbs cmdow /run /hid C:\install\MISRunOnceEx.cmd cmdow /run /hid C:\install\Log-Off.vbs Goto Exit :PC rem Echo Running PC RunOnceEx Title Standard PC Setup color 2f cls echo. echo. echo. echo. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» echo º º echo º STANDARD PC SETUP º echo º º echo ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͹ echo º º echo º Your apps will be installed the next time you log on. º echo º º echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ Sleep 3 rem cmdow /run /hid C:\install\Prompt_for_CD.vbs cmdow /run /hid C:\install\PCRunOnceEx.cmd cmdow /run /hid C:\install\Log-Off.vbs Goto Exit :TIMEOUT cmdow @ /HID cmdow /run /hid reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx" /v "TITLE" /t REG_SZ /d "Installing Programs" /f rem ************************************************************************************* I add the batch file to prompt the user for what software they want at the beginning of the RunOnceEX cmdow /run /hid reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\001" /v "Run-Once" /t REG_SZ /d "C:\Install\Run-Once2.cmd" /f rem ************************************************************************************* cls Title No Install Selected color E0 echo. echo. echo. echo. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» echo º º echo º No Install Selected º echo º º echo ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͹ echo º º echo º You will be prompted again on next logon º echo º º echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ Sleep 3 Goto Exit :QUIT cls Title Quitting color CF echo. echo. echo. echo. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» echo º º echo º QUITTING º echo º º echo ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͹ Sleep 3 Goto Exit :EXIT Exit
  2. I want to be able to select the applications that are installed using a simple batch file using the choice command. During the cmdlines.txt portion of Windows setup I prompt the user with a choice as to which apps they want to install. The batch file times out after a couple of minutes and only adds the required software to the RunOnceEx. I also add another batch file to the RunOnceEx to prompt the user again as to what software they want installed so that at the end of the RunOnceEx it will prompt them again and update the RunOnceEx with the additional registry entries. The problem that I am having is that if I add to the RunOnceEx during its execution, the title portion gets erased when it finishes and the additional commands are not executed. Is there an easier way to update the RunOnceEx? Any help would be greatly appreciated!
  3. I want to be able to select the applications that are installed using a simple batch file using the choice command. During the cmdlines.txt portion of Windows setup I prompt the user with a choice as to which apps they want to install. The batch file times out after a couple of minutes and only adds the required software to the RunOnceEx. I also add another batch file to the RunOnceEx to prompt the user again as to what software they want installed so that at the end of the RunOnceEx it will prompt them again and update the RunOnceEx with the additional registry entries. The problem that I am having is that if I add to the RunOnceEx during its execution, the title portion gets erased when it finishes and the additional commands are not executed. Is there an easier way to update the RunOnceEx? Any help would be greatly appreciated!
  4. I did that, but I spelled it wrong. Duh! Give me a break. It's a Sunday! Thanks
  5. Does anyone have the silent install switches for Diskkeeper 9?
  6. If you don't have a group policy to do it, try this... Why not have the users login script import a AutoAdmin login key and force the computer to reboot (shutdown -r -t 30 (30 seconds may be too much)) and login as a different user with the required rights. That users login script could then install the application and then disable the AutoAdmin login and reboot again. I've done this kind of thing in the past.
  7. What is the actual code that I use for RunOnceEx.cmd? Here is my code... REG ADD %KEY%\000 /V 1 /D "%SystemDrive%\Install\Applications\AcrobatReader7\AdbeRdr60_enu_full.exe /v\"/qn\ EULA_ACCEPT=YES""" /f
  8. Dude, You cant put a backslash in fron of %systemdrive%. Test it by opening Start>Run and typing in both "\%systemdrive%" and "%systemdrive%" You will get an error message when you use the one with the backslash.
  9. I am looking for the silent install switches for DVD Decrypter 3.5.1.0 and DVD Shrink 3.2.0.15 o be used with RunOnce. I'd appreciate anyones help. Thanks
  10. Is there a site with a comprensive list of software install strings that someone could point me to?
  11. Hey, thanks for the info. As far as AOL goes, you're right there. It is just annoying that everyone piggybacks their sh*t on top of software just for the almighty dollar. You know that AOL is getting mucho denero for adding that crap with their products. Another question.... I've seen some posts about adding themes and having to change some dll's (uxtheme.dll)... Is there somewhere that explains why this is necessary, and what you gain by doing this? I just installed a demo copy of StyleXP and have to say, styles are pretty cool. I am assuming that Microsoft doesn't want us to do this for some reason. Am I right?
  12. I figured out how to do the unattended install and add all of the software that I want, now I have a couple of questions. 1) Is there a way to configure my new install to have specific desktop settings such as background, screensaver, appearance settings, as well as to configure the power settings so that it will not hibernate, and not require a password when resuming from standby? 2) Is there a way to automatically remove software? What I mean is that during the automated install of AOL IM, I noticed that it installed a bunch of extra junk such as the WildTangent Web Driver, Viewpoint Media Center, and the WeatherBug. It would be easiest if I could specify the switched during the install to avoid all of this extra crap, but I figured that it probably wasn't possible. They do have uninstallers, and thought that maybe I could script the uninstall. Thanks in advance for your help.
  13. Thanks fellas! I appreciate the help. I admit that I am a newbie to this specific method of unattended installations, but have been creating unattended installs and batch files for years. I'm curious to another method referred to as the "Update Method." Can someone shed some light on that, or provide a link to an explanation? Thanks again!
  14. I just went through and did the Office 2003 Unattended - Advanced method and the last thing it tells me is to add the following to the batch file. "ECHO. ECHO Installing Office 2003 Professional ECHO Please wait... start /wait %systemdrive%\install\Applications\Office2003\setup.exe TRANSFORMS=Unattended.MST /qb-" Here is the dumb question, and I appologize if this was covered somewhere, but after reading through all of the documentation for hours, I may have missed it. Where do I place the batch command? Is it in the RunOnce or somewhere else?
  15. I am interested in learning how to fully automate the installation of Windows and the applications. I am familiar with the usual unattend.txt file, but am not familiar with this method. Could someone point me in the right direction? Basically I'd like to know if there is any special software required, etc. Thanks in advance. Tom
×
×
  • Create New...