Jump to content

gunsmokingman

Super Moderator
  • Posts

    2,296
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Canada

Everything posted by gunsmokingman

  1. Then it was my mistake I did not know you needed a CD in the drive. Slap self 5 times with wet noodles for not reading the code better. In case you are intrested in the error you get with out a Cd in the drive, now this could also be from how it copies when I paste it, It appears as 1 real long line and I may of made a mistake in how should be. Before I separate the code from 1 line After I separate the 1 long Line
  2. I have not had any problems using this method. it works 100 percent This is a real install and not a VM install.
  3. You should use %systemDrive% In stead of c:\ plus you should run a check to see if the folder exists, before the copy. Here is a vbs Script That will check for this Folder %SystemDrive%\TempForIcon if it not there then it makes the folder. It then checks for this folder %SystemDrive%\XPCD then it copies the list of files. The SFX file has the added updated list
  4. I will tell you why I have it taskkill it if you run the CD eject part and the script has completed, look in taskmanager, these process are still running Wmiprvse.exe or wscript.exe and since I use a app to write the vbs scripts in it uses Cscript.exe so the only way to kill those processes is to use taskkill or use taskmanger to kill the process. I suppose those could be left out because I would assume that once the shut down began then those would be killed. I tried your script and it errors out.
  5. Then try a install of a none nLite XP and see if the errors exists.
  6. I use this cmd to install WMP 10 from the Svcpack folder during the install, I have not recieved any errors doing it this way.
  7. Would this not be better in the Nlite section.
  8. Cool did not know that, but since I like using Built in Microsoft stuff that why I wrote the script.
  9. Do they have to be installed? Since this is a VBS script there is nothing to install.
  10. try and change the TASKKILL to TASKKILL.exe I ran the script and do not recieve any errors on my computer. This is where the next is needed. For Each StrOS in ObjOS StrOS.Win32Shutdown(Shutdown) Next
  11. Try this link srvinstw.exe it was from this thread The Thread it can install and uninstall a service. This is a Microsoft app.
  12. You will get a error with that code you have a next but know For each. Here is the eject the Cd code WScript.Sleep 600 strComputer = "." On Error Resume Next Const Hidden = 0, Normal = 1, Min = 2 Const LogOff = 0, Shutdown = 1, Reboot = 2,PowerOff = 8 '''' FOR SHUT DOWN CODE Dim WMISrv, StrOS, ObjOS '''' FOR SHUT DOWN CODE Dim Act : Set Act = CreateObject("Wscript.Shell") Set oWMP = CreateObject("WMPlayer.OCX.7" ) Set colCDROMs = oWMP.cdromCollection colCDROMs.Item(i).eject Act.Run("%comspec% /c TASKKILL /F /T /IM Cscript.exe"),Hidden,True Act.Run("%comspec% /c TASKKILL /F /T /IM Wscript.exe"),Hidden,True Act.Run("%comspec% /c TASKKILL /F /T /IM Wmiprvse.exe"),Hidden,True WScript.Sleep 300 Here is the shut down code, you will need the lines I have pointed out in the above code for this one to work alone. Set WMISrv = GetObject("winmgmts:{impersonationLevel=impersonate,(Shutdown)}\\" & strComputer & "\root\cimv2") Set ObjOS = WMISrv.ExecQuery("Select * from Win32_OperatingSystem") For Each StrOS in ObjOS StrOS.Win32Shutdown(Shutdown) Next
  13. Yes I forgot to add that to the post, saves as CdEject_ShutDownXp.Vbs or whatever name you want to give it.
  14. It was a good script I just added one more varible to it.
  15. Thanks I may add some checkboxes to it later to remove any of the entries listed, if the people want it.
  16. I have re-edit exrcizn to make it so the drive letter does not matter.
  17. Download the whole WMP10 then Extract that to a folder of your choice then run setup_wm.exe in the folder you extracted the download to.
  18. Here is a VBS Script that will make a HTA, then it will list which programs are configured to automatically run each time Windows starts. This means it will check all Run, RunOnce, RunOnceEx Reg keys in all the registry places, and then it checks in the Alluser, User, start up folder, Title Edited - Please follow new posting rules from now on. --Zxian
  19. Here is what my winnt.sif looks like I never get the activate dialog.
  20. Try this reg file it allows for the admin account to show up on the logon screen Fill in this color text with the name you want
  21. PLZ GIV ME AN EXAMPLE OF HOW TO DO IT, LIKE IF U HAV THE PIC ON YOUR HARD DRIVE ON THE DESKTOP? You can add a image as a attachment, as long as it does not exceed the size limit.
  22. These Reg files I use get applied during the install. There are 5, I use for my install, I will redo them to get only the internet stuff. This is my Cmdline.txt Here are the reg files If you want to see what my UaPrestart.cmd does UaPrestart 1 UaPrestart 2 UaPrestart 3 Gsm_UaRegTweaks.rar
  23. Here is is a link to my My Webpage it has a few things there that may intrest you. The project files is the second link in the left side of the page.
  24. I am still shaking my head over this one, I guess the 20 cups of coffee and no sleep is not the way to reply to posts.
×
×
  • Create New...