Jump to content

ki_supergeek

Member
  • Posts

    37
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by ki_supergeek

  1. Is the RunOnceEx.cmd file transparent to nLite? If I have a RunOnce.cmd file in the $OEM$ root, does nLite automatically know to run it or do I need to point to it somehow in the GUI? Is the "RunOnce" tab in the GUI the same thing as RunOnce EX, or just commands that run one time after logon, but do not include commands in the RunOnce.cmd file? I have a cmdlines.txt file and have used RunOnceEX many times while building and testing the unattended application install scripts. I know how RunOnceEX works, but how does it apply when using nLite to build the image? The last DVD I created did not run RunOnceEX to install my applications after the base windows install, which is the reason for my question. I want to make sure I do this next pass with nLite the right way so RunOnceEX will work correctly. I did look for the answer myself, but I'm under time pressure and need a quick answer. The fact that RunOnce in nLite and Windows RunOnceEX have almost the same name is a bit confusing. Any help would be much appreciated....! Thanks in advance.....!
  2. Hello everyone....! I'm trying to load the Royale.msstyles desktop theme file as part of my XP Pro unattended install and could use a fresh set of eyes to help fix a problem that's been driving me nuts searching for a solution that works every time. I found this vbs script file on the web and modified it to load the Royale.msstyles file, and then use sendkey to press Enter and apply the theme as follows: Dim WshSHell set WshShell = CreateObject("WScript.Shell") WshShell.Run("Royale.msstyles") WshShell.AppActivate("Display Properties") WshShell.SendKeys("~") This script resides and is being called from C\Windows\Resources\Themes, and it runs fine by itself every time. However, when it is called from inside a batch, exe, or cmd file, the sendkey is intermittent and doesn't always work which requiries manually pressing the enter key to apply the theme. I have tried creating an exe file with Winrar that works fine by itself, but again, the sendkey function doesn't work when the exe file is called from RunOnceEx. I've tried using cscript, Wscript, and start to call the vbs file in various cmd and bat files with the same results where they work fine alone, but not when called by another process. I've also tried using the sleep command with different timings to delay the sendkey function within the vbs with inconsistant mixed results. The only thing I can figure that may be causing the problem is the windows sendkey function isn't always available or being found when the script file runs? This seems to be a simple task to automatically "press" the enter key, but making it work consistantly has been a royal pain. I plead my case and appeal to the guru's on MSFN to please help me solve this one! Any help or suggestions on how to fix this would be greatly appreciated! Thanks in advance.....! EDIT: Further research has found that the Sendkeys function is not consistantly reliable by nature and is not recommended for use in certain applications such as this, so I'm using a different approach to apply the theme style.
  3. nLite slipstreams SP3 immediately if you follow the pecking order of nLite. I don't see how you could slipstream SP3 after IE7 in this case unless you did it later using a script after application installs are completed. I have a test system running SP3 and IE7.... it seems to be working fine, but I'll be watching for any issues with IE7. I seem to recall a problem during earlier testing where IE6 would crash if I didn't upgrade and install IE7 after SP3 had been slipstreamed. I just loaded another virtual machine with SP3 that does not yet have IE7 installed, so I'll test this theory again to confirm.
  4. Did you set a time zone in the nLite config setup? You might get better help for this problem over in the nLite forum here on MSFN. http://www.msfn.org/board/index.php?showfo...r=all&st=50
  5. Even though the original post date was a few years back, this info is still valid and was very helpful to me in fixing a problem with Avast installs. A big "Thank You" to Sonic & LaptoniC!! Install your AV with below command.
  6. I did play around with the options settings and changed the resolution to the max, but still could not eliminate the scroll bars. There seems to be a lot of wasted real estate on the left side of the config screen that could be used rather than have the scroll bars. I've managed to turn off the options/config menu and can't get them back again. Now when I start WPI, I only see Begin Install and Selections, but nothing else. I assume that means I have to wipe out the WPI program and start fresh? Is there a magic hot key that brings back the full menu again? Thanks.....! Update..... Looks like F2 is the magic key! I may figure out how to actually run this thing sooner or later!
  7. I downloaded the WPI package and tried to pull up the user manual in the Manual folder, but it's just a blank page with no writing. What happened to the manual? Question #2..... How do I make the config page larger so I don't have to scroll, which is very annoying. Sorry for the "newbie" questions. Thanks in advance.....! Update: Ok.... the manual works from inside the program, but it would still be nice to have a larger screen without the scroll bars. Nice program if I can figure out how to make everything work.
  8. Sorry if this has been answered elsewhere, but I searched and found code that will prompt for manually adding new users, but nothing really specific about adding unattended mode multiple user accounts in the useraccounts.cmd file. It would be helpful if the guide included this info along with setting up a single user. I need to add two users... both with admin rights, one with a password, one without. The kramden ID is only used as a backup login in case the user forgets their password. The user "System Owner" would create their own password if desired, so I want it to be left blank at installation time.... hence the "*" Here's my useraccounts.cmd file: net user kramden passwordhere /add net localgroup Administrators kramden /add net accounts /maxpwage:unlimited net user "System Owner" * /add net localgroup Administrators "System Owner" /add net accounts /maxpwage:unlimited REGEDIT /S autologon.reg EXIT I'm not sure if the 'net accounts /maxpwage:unlimited" needs to be in there 2x (once for each account), or if just having it at the very end would apply to both accounts? The default login account would be System Owner... Here's the autologon.reg file: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon] "DefaultUserName"="System Owner" "DefaultPassword"="*" "AutoAdminLogon"="1" Do these files look Ok for what I want to do, or am I way off base? BTW.....I'm loading Windows XP Pro. Thanks in advance.....!
  9. There is no "One Size Fits All" solution that you seek. It's a matter of just doing the research and pulling together all of the different methods and pieces of code that best fit in with what you want to do and how you want to do it. There are numerous guides on the net that contain enough detailed information to get you started.... it just takes time to go through it all and build/test your process. The old saying "There's more than one way to skin a cat" applies here.
  10. Got it....... thanks!! BTW....nLite is a great tool!! Your work is appreciated!!!
  11. If I use the same CD to load many different systems, how do I prevent them from having the same computer name, which will cause network conflicts, without being manually prompted to enter the unique name during installation if I leave this field blank? I there a way to just accept the default name but still allow unattended install capability? Thanks....!
  12. Hello.... I'm new to using nlite and have ran into a snag while building the load CD. I'm building the image using Windows XP Pro (already includes SP2). I downloaded the new SP3, but it has errors during the integration process. When I point to the downloaded SP3 file, nlite detects earlier installed hotfixes and asks if I want to remove them, and that I won't be able to integrate additional hotfixes unless the old ones are removed. I allowed nlite to remove the hotfixes, and it successfully extracted the SP3 files into the sptemp file. When the Software Installation Update Wizard runs, it fails with an error that says it can not copy all of the necessary files and terminates at that point. How can I fix this error? Could the SP3 file be corrupted for some reason? Could the Update Wizard be looking for a file that isn't applicable to SP3? Thanks.....! *****UPDATE*******UPDATE*******UPDATE************UPDATE*********UPDATE**** I tried it yet once again, for the 50th time, and it worked!!! I did nothing different from all the previous attempts, so I don't understand why it worked OK the last time I tried it. Any clues.....? I'm sure I'll have more questions as I go through this learning process. Thanks....!
×
×
  • Create New...