Jump to content

sleepnmojo

Member
  • Posts

    481
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by sleepnmojo

  1. I'd recommend trying VMWare. It appears to run faster than VPC.
  2. Don't use HKEY_USERS\S-1-5-21-1606980848-1682526488-1060284298-1002 use HKEY_CURRENT_USER the first one should be unique, which is why its not adding it.
  3. You should read this thread, I discussed this on page 2, with another thread that talked about the problem. http://www.msfn.org/board/index.php?showto...ndpost&p=170243
  4. You could use inf's instead. Takes a little more writing, but can do things that batch files can't. I'd be interested in knowing what a inf can do that a batch can't. So far from what I have seen they can do similar things, yet a batch is still much more powerful. Don't get me wrong though, I use inf's also, but for arguements sake, lemme know.
  5. learn to use the search button http://www.msfn.org/board/index.php?showto...23746&hl=daemon
  6. @Cee-Kay, do you have a link to the LuMMInst.exe file. the link is not working anymore. I was going to test it out.
  7. Here is a tip. When getting ready to test a full install, Set up a vm session, partition all the disks, etc. then quit. Set your options, like to the iso image, disable sound, etc. Copy the folder with the vm files to a temporary location. Should be about 3 megs or so. Now when you want to install, just copy the temporary files over, and you should be set to go. Now when you start up, it should use the new xp iso, and start copying files over.
  8. Its actually a problem with the parser here. When it encounters the ), it thinks it is finished the if statement. Which is why you have a problem. When it comes to nesting, you shouldn't have a problem. I do it all the time. One way to get around this, is to make it a single line if statement. if %floppy%==y echo. >> %log% if %floppy%==y echo COMPSETUP.CMD (20): Setting up MSA floppies: >> %log%
  9. Sorry I missed some things cause I didn't check it. You also need the ^ for the & symbol too, and double %% for variables. As for your error message, that is because you are deleting the file, but you still haven't exited. You can solve this with and & statement. TITLE WindowToClose ( ECHO CMDOW.EXE @ /HID ECHO setlocal ENABLEEXTENSIONS ^& set n=120 ECHO ping -n %%n%% 127.0.0.1 ^>nul ECHO CMDOW.EXE WindowToClose /CLS ECHO endlocal ECHO DEL /F /Q CLOSE.CMD ^& EXIT ) > %WINDIR%\CLOSE.CMD call common.cmd If /I %computername%==Computer GOTO Comp1 ELSE GOTO Comp2 :Comp1 call Comp1.cmd GOTO END :Comp2 call Comp2.cmd GOTO END :END START %WINDIR%\CLOSE.CMD set /p Install="For a 2cd setup, Press Y" If %Install%==Y CALL 2cd.cmd ECHO Done
  10. I'm not sure you can do it when you are planning on it. The Default user is opened at the t-12 stage, hence so is ntuser.dat. You shouldn't be able to write over these files until they are closed, ie after reboot. Have your unattended login as admin, and copy it over in runonce. Next time you log in as a new user, the settings should be in place.
  11. Give this a try. This should fix your problem with the ping > nul, what it is actually doing is trying to redirect, so you need the ^ in there to stop. I haven't tested this, so there is no guarantee on it. TITLE WindowToClose ( ECHO setlocal ENABLEEXTENSIONS & set n=120 ECHO ping -n %n% 127.0.0.1 ^>nul ECHO CMDOW.EXE WindowToClose /CLS ECHO endlocal ECHO DEL /F /Q %WINDIR%\CLOSE.CMD ECHO EXIT ) > %WINDIR%\CLOSE.CMD call common.cmd If /I %computername%==Computer GOTO Comp1 ELSE GOTO Comp2 :Comp1 call Comp1.cmd GOTO END :Comp2 call Comp2.cmd GOTO END :END START %WINDIR%\CLOSE.CMD set /p Install="For a 2cd setup, Press Y" If %Install%==Y CALL 2cd.cmd ECHO Done
  12. http://www.msfn.org/board/index.php?showtopic=24782
  13. I did something similar in 2000 to grab something off the ftp and install it. I modified your code to the way I did it. Its a little easier to modify. I haven't tested it, so you would have to let us know if it works. md %SYSTEMDRIVE%\install cd %SYSTEMDRIVE%\install md apps md updates md tweaks ftp.exe -s:%0 goto done open 192.168.1.25 username password bin prom lcd %SYSTEMDRIVE%\install cd unattend get apps.cmd get updates.cmd get cleanup.cmd lcd %SYSTEMDRIVE%\install\apps cd apps mget *.rar lcd %SYSTEMDRIVE%\install\updates cd ../updates mget *.rar lcd %SYSTEMDRIVE%\install\tweaks cd ../tweaks mget *.reg bye :done @ECHO OFF for %%i in (%systemdrive%\install\apps\*.rar) do UNRAR x %%i %SYSTEMDRIVE%\install\apps del %SYSTEMDRIVE%\install\apps\*.rar for %%i in (%systemdrive%\install\updates\*.rar) do UNRAR x %%i %SYSTEMDRIVE%\install\updates del %SYSTEMDRIVE%\install\updates\*.rar %SYSTEMDRIVE%\install\apps.cmd
  14. That is used to echo an empty line. in your two IF statements at the top, just use an else, no point in using two there. As for the main portion of your question, could you post process, or explain where to get it, so we can see how it is used.
  15. Have you checked the permissions on the registry keys? Don't see why it wouldn't work for all users, but you may have done something to change them.
  16. Apparently you didn't look with a search http://www.msfn.org/board/index.php?showtopic=23991
  17. what you should do is let it log in under administrator once (set autologoncount to 1), then in your runonceex, change your autologon to a user.
  18. Have you tried removing the EXIT from the applications.cmd? I normally just do a CALL <CMD FILE>. Maybe you should try that.
  19. They have done this all the way back to 2000. The keys usually work for whatever SP you are installing. When they decide to blacklist, which they haven't for XP SP2, it will be added. They did it from gold to SP1.
  20. 1) the dotnetfx folder only contains 1.0, not 1.1. They do offer a redistributable, which is fine to download. Dot net isn't at the point where its needed on the cd. When longhorn comes, it will be, since everything is based on it. The version in Longhorn is meant to be the real offical version. The ones out now are more trial to fix most of the problems. 2) When switching from 1.1 to 1.0 some programs may break. It is rare, but is know to happen. This may be the case here. I really haven't checked, but that may be why.
  21. It works fine, but that wasn't really the purpose of this thread. It was how to install using the netfx.cab. I only use this way because I prefer the 1.1 over the 1.0
  22. I currently use way 1. Way 2 has given me problems before, at least from cd. It will ask for the .net framework cd. Way 1 copies the files over to the hd, and does the install, which is why it works. Read more here http://www.msfn.org/board/index.php?showtopic=20743
  23. Not sure about that. Mine usually asks me to just insert the second disk. Don't see any file that would be used to identify it. Only a readme.txt, then the cmpnents folder.
  24. the reason you can do the xcopy, and not the copy is because copy is build into the shell. To do shell commands you would need an instance of one. if you want to run just one command, then its quite simple. CMD.EXE /C COPY [args] CMD.EXE /K COPY [args]
  25. update just leave the \cmpnents\netfx\I386 folder on the root of the cd. If you have it on cd2, just copy it over, and you won't have to modify DOSNET.INF
×
×
  • Create New...