Jump to content

erik_demon

Member
  • Posts

    419
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Netherlands

Everything posted by erik_demon

  1. You can use this reg tweak ;Gets rid of tray icon for taking survey (office 2k3) [HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Common\Internet] "UseOnlineContent"=dword:00000002 [HKEY_CURRENT_USER\Software\Microsoft\Office\Common] "QMEnable"=dword:00000000
  2. Sorry for the late response guys, I have been very busy lately @genex Thanks, about that turtorial. The most import thing is that you understand how to set user imput: SET Choice= SET /P Choice="Is this correct? (Y/N) " IF NOT '%Choice%'=='' SET Choice=%Choice:~0,1% IF /I '%Choice%'=='Y' ( GOTO Choose_user ) IF /I '%Choice%'=='N' ( GOTO Install_drive ) I find it hard to explain this because I don't know eveything about this to SET /P Choice holds the batch file and asks user imput. If you type Y the variable %Choice% is equal to Y. After this, we use IF to check the value and execute a command (in this case: Goto Choose_user) That is the most important. If you would like you can change the variable name. You can test it like this: @ECHO OFF SET Option= SET /P Option="Select an option: (1 or 2) " IF NOT '%Option%'=='' SET Option=%Option:~0,1% IF /I '%Option%'=='1' ( ECHO. ECHO You Selected option 1 Pause GOTO end ) IF /I '%Option%'=='2' ( ECHO. ECHO You Selected option 2 Pause GOTO end ) :end I hope this helps @Martin Zugec Good idea! Since I use BARTPE, I believe .HTA support is avaiable. About the support for companies, check out below @metabaron That's great, Would you like to share it? @zxfiles Hi welcome I think I found what you where looking for (and I was looking for it to ) Check-out this post I tested it, and with this method you can created specific parts for your winnt.sif
  3. If you set it correct, it does There is another tools with which you can silently set your display settings. Check it out here
  4. COPY "D:\somedir\test.exe" "%programfiles%\test" /Y /Y to overwrite without prompt Now the file test.exe is copied from D:\somedir to the C:\Program Files\test folder, and it will overwrite the existing file for more info: copy /?
  5. Yeah, I agree. It would be great indeed I use this switch for the latest Klite mega codec pack too and it works just perfect.
  6. Thanks again (and again, and again, etc. ) Bâshrat I will test them as soon as the newest Windows updates are released.
  7. @hp38guser Thanks for the Autoit script. I do have a question about it though: Somewhere in your script you use: ProcessSetPriority ( "setup.exe", 0) Now my question is: the "0" what exactly is it. Does it mean that windows setup will be frozen for some time (till you set the value back to 2) or is windows setup just slowed down.? I ask this question because it takes quite some time to run SetupCopyOEMInf.exe (well not extremely much, but it still takes some time ) EDIT few more questions, the arguments that you use in your winnt.sif... [GuiUnattended] DetachedProgram=autoit3.exe Arguments="%systemroot%\System32\presetup.au3" At that moment Autoit is not installed yet, how does it work, where do I have to place autoit3.exe (system32 folder?) and why not compile presetup.au3 to presetup.exe? Thanks
  8. @mc134 I believe this isn't what Bâshrat is looking for, he wants to install Itunes without Quicktime Bâshrat, maybe this post can come in handy. It has a vbs script to uninstall quicktime. EDIT: I know that this isn't what you are really looking for (a switch or something), just a workaround. I believe there is no switch available for this. (been searching it myself to)
  9. If you copy a CMD file directly on this board, it won't show out the way it should, if I download it, I see this as your last line: %PATHTOFIXES%\WindowsXP-KB886185-x86-enu.exe0 If you zip your CMD file, it will be displayed alright. The way you do it now is correct
  10. Hey You can find the switch here
  11. @TheeBeets I don't know if I understand your problem correct. Are your hotfixes being installed? Or is it just that you don't see any interaction? If the last on is the case you could use ECHO: @echo off setlocal set PATHTOFIXES=C:\Updates %PATHTOFIXES%\WindowsXP-KB893086-x86-ENU.exe /q /n /z ECHO installing KB893086 ECHO please wait... ECHO. Anyway, I found an error in your cmd file: %PATHTOFIXES%\Windows-KB890830-V1.4-ENU.exe /q /n /z should be %PATHTOFIXES%\Windows-KB890830-V1.4-ENU.exe /q you can improve your hotfix.cmd in a easy way, here is how I do this: 1. rename al your hotfixes to 8.3 names (like oneless adviced) 2. rename KB890830 to something like Malicious_Software_remover.exe (we don't want it to have an KB?????? name 3. Change your hotfix.cmd to this @echo off set PATHTOFIXES=C:\Updates FOR %%f IN (%PATHTOFIXES%\KB??????.exe) DO %%f /q /n /z Start /wait %PATHTOFIXES%\Malicious_Software_remover.exe /q Start /wait %PATHTOFIXES%\gdidettool.exe /q /n /z this line... FOR %%f IN (%PATHTOFIXES%\KB??????.exe) DO %%f /q /n /z will install all KB?????? with the /q /n /z switch EDIT: Why don't you just hide the .cmd window with cmdow @ /HID ? EDIT2: I also have my doubts about this: gdidettool.exe /q /n /z Unless you repacked it, this switch doesn't work. Check-out this topic
  12. Hey I can't help you with your workaround because I know to little about about this . I can however help you with this: When you install from a CD, winnt.sif is used standard as your answer file. When you install with winnt.exe or winnt32.exe this is not the case, you need to specify the path. I have renamed my winnt.sif to unattended.txt I install form a second harddrive, and there my driver strucutre looks like this: D:\ |---------->WINXP |-----------------i386 |-----------------$OEM$ my unattended.txt is in the WINXP folder This is how I start my installation: set AnswerFile=D:\WINXP\unattended.txt set SetupFiles=D:\WINXP\I386 %SetupFiles%\winnt32.exe /s:%SetupFiles% /unattend:%AnswerFile% /tempdrive:C /syspart:C Also note that if you install with winnt.exe or winnt32.exe, your $OEM$ folder has to be inside the i386 folder Hope this helps! EDIT: For more info about winnt32.exe go to the i386 folder and open winnt32.hlp
  13. Check-out my post here Maybe you can make a multiboot disk with BARTPE and your WINXP, and use my script. (you do have to modify the script) good luck!
  14. A new version of 7-zip has been released It can be downloaded here In earlier version the switch was -y /q /r:n The new switch is a simple /S
  15. Hey everybody I created a little batch file to let you choose your answer file before a format. This file is for those people who install with winnt32.exe (like me ) The function of this script is the following: - Find out the drive letter of the Windows XP CD (cd.txt must be on the root of the CD) - Ask the user on which drive he wants to install - Let's the user choose an answer file - formats the choosen drive - Installs XP In order to use winnt32.exe (32-bit application) we need to use WINPE or BARTPE. Ofcourse I tested this for myself (well, only in CMD not with a format) What is your opinion about the batch file? Is there anyway I can improve this? (my batch skills are not that good, so improvements are welcome) EDIT: NEW VERSION 15/6/2005 I added the possibility to create your own winnt.sif (at least part of them) Prepare_windows_install.zip
  16. Hey You can use regshot for this. You can download it here EDIT: With this program you make two snapshots of the registry. And the program will tell you the difference
  17. If you understand it, it is quite simple. I just downloaded the the file to test it. Testing: 1. Download 1365Vidchng.zip to C:\ 2. extract the file so that 1365VidChng.exe in C:\ 3. go to start and choose run: 4 then type C:\1365VidChng.exe 1024x768x32@85 -q 1024x768x32@85 -q is/are the switches that you use. You could change this to any resolution. 5. Press enter, and your resolution will be changed Unattended 1. Download 1365Vidchng.zip 2. extract the file, so that 1365VidChng.exe is in the $OEM$\$$\system32 folder (if this is the case you don't have to use a filepath anymore, you can just call 1365VidChng.exe) 3. put the commandline somewhere in the script that you use for your unattended: In case of start.cmd: Echo Changing the windows resolution Echo please wait... start /wait 1365VidChng.exe 1024x768x32@85 -q in case of RunOnceEx.cmd: REG ADD %KEY%\005 /VE /D "Changing resolution" /f REG ADD %KEY%\005 /V 1 /D "1365VidChng.exe 1024x768x32@85 -q" /f I hope that this makes it a bit more clear
  18. Check out this page. Then goto the Video Resolution Changer. I never tried it myself, but it should work!
  19. @dougiefresh Thanks for this addition. My knowledge of these things is little so I made the best thing I could come up with I still have a lot to learn about .reg files
  20. I have been testing with this, and this is the best way for me to let it work: 1. Create menuorder.cmd menuorder.cmd: cmdow @ /HID @echo off reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Favorites" /F reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu" /F reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu2" /F 2. Copy this file to the $OEM$\$$\system32 folder 3. modify your CMDLINES.TXT "reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /V menuorder /D menuorder.cmd /F" I am not sure if I did the quotation right!! Could someone please check it? the only anoying thing is that when you boot, you just see a quick flash of the batch file.
  21. I just tried this today, and it didn't work for me Directly I want to mention that I didn't test this with a format (so I didn't tested it a T=12 First I tried PryGuy's method (first post) this worked the first time for me. The menuorder was correct. Then I shifted the menuorder by draggging them. I rebooted, but the menuorder wasn't changed. I also tried gtaylor method, but this one really doesn't work for me. my menuorder stays messed up. what could be the problem?
  22. @Fascix No need for double posting I replied here
  23. Hey I believe there is no Swedish version of journal viewer. You can download the journal viewer here There is a multilanguage pack but it is for the following languages: - German - French - Japanese - Korean - Chinese Traditional - Chinese Simplified You can download it here
×
×
  • Create New...