Jump to content

Yzöwl

Patron
  • Posts

    4,113
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United Kingdom

Everything posted by Yzöwl

  1. @pmuir, something like this should do you! @Echo off&Setlocal Set k_="HKLM\SOFTWARE\Microsoft\Internet Explorer" For /f "skip=3 tokens=3 delims= ." %%# In ('Reg query %k_% /v Version') Do Set v_=%%# If %v_% Lss 7 Start "" /w IE7\IE7-WindowsXP-x86-enu.exewhere delims=<TAB><DOT>
  2. Leave the script as it is! You don't want to have all the setup files for all your applications copied to %ProgramFiles%; you should put them all into the location I've provided. When you install programs in a live system you don't copy all the installers to the \Program Files directory first, your installed programs go there. Forget your current CD, you'll need to make another one with the following structure. \---XP Pro SP3 Upd WMP11 + XPize +---$OEM$ | \---$1 | \---Install | 7Zip.exe | DMSetup-Serial.exe.exe | dotNetFx35setup.exe | ImageResizerPowertoySetup.exe | TweakUiPowertoySetup.exe | \---I386 In your posted script, you have an error, it should say TweakUiPowertoySetup.exe
  3. You need to change the `location of all the items I wish to have RunOnce install`. That location means that all the installation software will be copied over to your Program Files directory and ran from there. Changing the location to "E:\XP Pro SP3 Upd WMP11 + XPize\$OEM$\$1\Install" will match the "%SystemDrive%\Install" location you have SET as variable `PP` in your example script.
  4. Have you taken a look at either of these superb freeware offerings: MPlayer Kantaris Media Player
  5. The directories should technically be safe to remove, however you need to know how they came to be there. My guess is something running from the Desktop was unable to expand the environment variable at run time. This could indicate problems with your system, simply a one-off or a problem with its creation software. What were all the sub-folders named?
  6. I've had an installation hang from scvpack, (roughly T13 as cmdlines), and when the reboot was forced setup continues again from T39, suggesting that it should loop.
  7. Well as a rule, in the context your using it I'd simply use: If Not Exist %thumb_dr%:\nearfield\The trailing backslash hopefully being sufficient to differentiate!
  8. Please supply us with: The original destination file. name, path and contents The exact string you need to enter. The location within the file you wish the input string to be added. With that information we can all fully understand the task your trying to perform, attempt to provide the most suitable solution(s) and help you to better understand any solution provided due to its relevance to your requirements.
  9. The \nul is not required, nor recommended in an OS using cmd.exe. If Exist XXX is True as long as XXX exists (file or a directory); When the path is quoted, appending \nul always returns false. Question: Is there a reason why you're asking for user input for the thumbdrive drive letter? This is something which can be programmed into the routine. You may think it's easier to leave it as it is, but that's because you've got no error checking etc. built into the routine. By the time asked for the input, read it, checked it is a single character in the range D-Z then searched, if successful, it seems like you've made things more long winded. Additionally: You're doing far too much to-ing and fro-ing in that script. There's no real benefit in changing to a directory in order to copy to it, then changing to another in order to copy to it etc. Another thing is, you could use Xcopy, using that you could use the /I switch an thus negate creating a host of directories all with identical names to those your copying anyway.
  10. They are already included by default, if they're not then they may have been specifically removed in the Components section of your winnt.sif. If this isn't the answer you were hoping for, then you're going to have to learn to be a lot more specific when posing your questions! How can I add [rocketdock|games|vista side bar] in unattended is simply not good enough!
  11. What you're looking for is to 'tee' the output. There are several methods and incarnations available for doing so, I'd suggest you start with tee taken from this package. You may also find some other interesting utilities there too, especially mkdir!
  12. I'm not sure I understand your requirements, could you please try to be little more explanatory.
  13. First of all I'd expect something like this to work! Set oFSO = CreateObject("Scripting.FileSystemObject") Set oFolder = oFSO.GetFolder("C:\Documents and Settings") For Each Profile In oFolder.SubFolders Select Case UCase(Profile.Name) Case "ADMINISTRATOR", "ALL USERS", "DEFAULT USER" 'Do nothing Case Else oFSO.DeleteFolder Profile.Path, True End Select NextYou would of course need to be logged in as Administrator! Second of all I'd suggest you use a specific utility such as Microsofts Resource Kits tool, DelProf, for such a task.
  14. There should be no reason I can think of why you shouldn't be able to put it all together in one command. NET USER UserName U5er_Pa55w0rd /ADD /PASSWORDREQ:YES /USERCOMMENT:"Your comment" /FULLNAME:"Forename Surname" /PASSWORDCHG:NO /EXPIRES:NEVERIf it doesn't work you may need to supply us with more information.
  15. I may be mistaken here but I'm sure that New Users, (those who have never logged in), will by default have their All Programs Menu ordered alphabetically. Adding programs after that will of course affect the order and users would, (as they should be), be allowed to order it as they see fit. The whole idea of these menus is to make the users life more comfortable, the ability to order it to suit themselves should be entirely their choice and not forced on them by an Administrator.
  16. Directly, they cannot! If you wish to perform the task and use a batch file you're going to need to additionally use a 3rd party utility, vbs, inf etc. There are literally hundreds of posts on these boards suggesting examples of the above.
  17. Now that you've edited your question to rule out .doc file as opposed to .txt, I'll direct you to this incomplete topic which should certainly have something for you!
  18. Add the PAUSE command as a last line of your file in order to read any output messages! Also there's little reason to expect jpg and/or ini files to be read only thus negating the /f switch. I would also suggest that you navigate to the required parent directory then invoke your deletions using the appropriate switches.
  19. Well I'm no lawyer but I'm fairly sure that you've copied something which is copyrighted. I'm talking here about the logo's, design etc. It's therefore technically a copyright breach just duplicating 'the face' of the media, nevermind suggesting selling it! (I can see no purpose in having made this duplication unless the media is intended to be loaded with duplicated copyrighted software either. It wouldn't surprise me if it would be possible to bring a case against you intent to defraud or aiding piracy regardless of the media being 'sold' blank!)
  20. If you unpack it you'll also need to repack it afterwards. In order to repack it youy'll need to purchase the software, which luckily for you has a facility to unpack also. The other, less costly, method is to see if the creator of the package could repackage a version for you with your changes already implemented. Topic Closed!
  21. In my experience with v1.x, I didn't need to change anything from the default. i.e. the Autotype default sequence is {USERNAME}{TAB}{PASSWORD}{ENTER} anyhow so just leave the entire Notes section blank. For the 'Title' just use whatever is used as the title of the login page, it appears that the following will do for that: Google Mail When you access the page just utilise your hotkey sequence.
  22. The Binary and ASCII switches are generally used when your intending to append another file or copy multiple files to a single destination file. It's not the easiest thing in the world to explain, so I'll point you here instead, (read the Remarks section).
  23. There are many examples of scripts for this sort of thing available netwide, here's one such example Hope it helps you out!
  24. Ignoring the ignorant PM you've just sent me, the comment you've added to recent threads and the lack of any thanks in the last topic I helped you with, I'll explain further. In the Unattended Guide, which is practically the magnet/mainstay of most goings on here, if you were to look at this page for intermediate users and scroll down to the "Applications that use Quotations" section, all will be revealed. The question was a clue for you to find your own help; nothing more, nothing less!
  25. If your post was clear and you'd provided the responses required in order to receive a satifactory solution, you'd have received one! You obviously don't want help, it's taken you nine or so days to come back with no further information an a little bit of cheek, therefore topic closed!
×
×
  • Create New...