Jump to content

gareththegod

Member
  • Posts

    113
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United Kingdom

About gareththegod

gareththegod's Achievements

0

Reputation

  1. I have resolved my problem with the drives not formatting. I had <Extend>true</Extend> when I was setting the size causing it to not work. See below the fixed code: <DiskConfiguration> <Disk wcm:action="add"> <CreatePartitions> <CreatePartition wcm:action="add"> <Extend>false</Extend> <Order>1</Order> <Type>Primary</Type> <Size>100</Size> </CreatePartition> <CreatePartition wcm:action="add"> <Order>2</Order> <Type>Primary</Type> <Extend>true</Extend> </CreatePartition> </CreatePartitions> <ModifyPartitions> <ModifyPartition wcm:action="add"> <Active>true</Active> <Format>NTFS</Format> <Label>System</Label> <Order>1</Order> <PartitionID>1</PartitionID> <TypeID>0x27</TypeID> </ModifyPartition> <ModifyPartition wcm:action="add"> <Active>true</Active> <Format>NTFS</Format> <Label>OS</Label> <Letter>C</Letter> <Order>2</Order> <PartitionID>2</PartitionID> </ModifyPartition> </ModifyPartitions> <DiskID>0</DiskID> <WillWipeDisk>true</WillWipeDisk> </Disk> </DiskConfiguration> Does any one know how to remove these screens??
  2. Hi all. I've been trying to get an unattended.xml to wipe all of the partition information on disk 0. Then create 2 partitions a 100MB System (boot files) (Label System) and the rest of the drive as C (label OS). I have created a drive that works formatting with one partition but I can't make it work. Another small problem is that it keeps asking me to pick the language at first start. I would like this to be English (United Kingdom). I'm using an all in one disk so it prompts for the OS version as well. Is it possible to remove this sometimes. Find attached my file that I'm having problems with. Gareth Unattend with 2 partitions.xml
  3. Steven4554 Thanks for the information. I thought the 976002 updated wouldn't be included. Gareth
  4. Steven4554 I was wondering where you get the download links from. I have noticed that you have not included a few updates and I wanted to add them to the download list. These are kb976002 (this is the EU update only), the 4 updates for Virtual PC and xp mode KB958559, KB977206, KB977632 and WindowsXPMode_en-us, and the Microsoft .NET Framework 4 Client Profile for Windows 7 (KB982670). Gareth
  5. I have tried to make a batch file that searches an extracted help file webpage rename it to a text. Then do a find and replace the links in the string. CMD file is called 2 in the attached zip file. @echo off Setlocal set NAME=ntcmds set FOLDER=cmds echo Deleting old folder if exists. IF EXIST %NAME% RD /S /Q %NAME% Echo Decompiling %NAME% Help file hh.exe -decompile .\%NAME%\ %WINDIR%\Help\%NAME%.chm Echo Moving all other files to %FOLDER% md %NAME%\%FOLDER% cd %NAME% move *.* %FOLDER% Move .\%FOLDER%\%NAME%.htm .\%NAME%.htm ren %NAME%.htm %NAME%.txt find "MS-ITS:%NAME%.chm::/" %NAME%.txt /c The last line of the code is what I want to find and replace. I Then removed it and added see below. I wanted to change the links in the webpage to see the wepages in the folder below it. for /f %%L in (%NAME%.txt) DO ( if "%%L"=="MS-ITS:%NAME%.chm::/" ( echo %FOLDER%\>>.\temp.TMP ) ELSE ( echo %%L>>.\temp.TMP ) ) copy /Y temp.TMP %NAME%.txt I used the code above to changed the find and replace to be what I want to replace etc. find = MS-ITS:%NAME%.chm::/ Replace with = %FOLDER%\ or cmds\ but prefer to use the varible But it doesn't work all that is in the temp file is the first few charaters from each line. I don't know much about the for command and would like help in understanding it.
  6. How do you make this Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments] "SaveZoneInformation"=dword:00000001 to this work. I know what is wrong but I can't fix it. How to you make a dword add to the registry as I can't find out anything about it. I think that its the bit after "SaveZoneInformation", All of my other reg settings are standard strings. test.inf [Version] signature="$CHICAGO$" [DefaultInstall] AddReg = Securitywarning, Add.Uninstall [DefaultUninstall] DelReg = Del.Registry [Securitywarning] HKCU,"%Current%\Policies\Attachments","SaveZoneInformation",0x00010001,01,00,00,00 [Add.Uninstall] HKLM,%Uninstall%,DisplayName,,"%AppDesc%" HKLM,%Uninstall%,UninstallString,,"rundll32.exe syssetup.dll,SetupInfObjectInstallAction DefaultUninstall 132 %01%\%thisfile%" [Del.Registry] HKCU,"%Current%\Policies\Attachments","SaveZoneInformation",0x00010001,02,00,00,00 HKLM,"%Uninstall%" [Strings] ; Any variables you use need to be defined under [strings]. Current = "Software\Microsoft\Windows\CurrentVersion" RunOnceEx = "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx" Uninstall = "Software\Microsoft\Windows\CurrentVersion\Uninstall\%thisfile%" thisfile = "test.inf" AppDesc = " Disables Security Warning Box In SP2" [INFO] ; key below to run any thing in the runonceex without needing to restart ; rundll32.exe iernonce.dll,RunOnceExProcess ; The command will run the section called [XXXXX] in the FILENAME.INF file ; 128 tells setup to NOT restart if the inf needs to restart the pc ; rundll32 setupapi,InstallHinfSection XXXXX 128 .\FILENAME.INF
  7. sorry i mean something like this [version] signature="$CHICAGO$" ; Bulid=2600; <-- This is what I mean. Can this be used? ; Minorversion=2180; <-- This is what I mean. Can this be used? [DefaultInstall] AddReg = File, Add.Uninstall The two things that are commented out in the [version] I think that ive seen this in an inf file but I can't remember if this is correct or where I found it. Would gosh be able to help??
  8. I am trying to make an inf file that will only work on windows xp sp2 RTM build (2180) I know that its something that has to go under the version sections but I can't find out anything about it. [version] signature="$CHICAGO$" [DefaultInstall] AddReg = File, Add.Uninstall CopyFiles = Gotoinf [DefaultUninstall] DelReg = Del.Registry DelFiles = Gotoinf [File] ; changes .reg files to open not merge. HKCR,"%Reg%\shell",,,"edit" ; changes .cmd files to edit not open/run. HKCR,"%Cmd%\shell",,,"edit" ; changes .bat files to edit not open/run. HKCR,"%Bat%\shell",,,"edit" [Add.Uninstall] HKLM,%Uninstall%,DisplayName,,"%AppDesc%" HKLM,%Uninstall%,UninstallString,,"rundll32.exe syssetup.dll,SetupInfObjectInstallAction DefaultUninstall 132 %17%\%thisfile%" [Del.Registry] ; changes .reg files to merge not open. HKCR,"%Reg%\shell",,,"" ; changes .cmd files to open/run not edit. HKCR,"%Cmd%\shell",,,"" ; changes .bat files to open/run not edit. HKCR,"%Bat%\shell",,,"" HKLM,"%Uninstall%" [DestinationDirs] Gotoinf = 17;windows\inf [Gotoinf] %thisfile% [STRINGS] Reg = regfile Cmd = cmdfile Bat = batfile Current = "Software\Microsoft\Windows\CurrentVersion" Explorer = "Software\Microsoft\Windows\CurrentVersion\Explorer" Uninstall = "Software\Microsoft\Windows\CurrentVersion\Uninstall\%thisfile%" thisfile = "change.inf" AppDesc = "Change File Associations reg, bat, cmd" I want to try a file so that it will only apply registry settings or install applications like the support tools. i think that it might be build= 2180 to go under version but i could be wrong.
  9. I use the runonceex to install updates to new pcs we get into work. I was just wondering if its possible to sliently install of the following with only restarting after the last update: 1. XP Network SP2 install. 2. NET Framework v1.1. 3. Microsoft Journal Viewer. 4. Qfecheck. 5. Open command prompt here powertoy. 6. 831240 HighMAT Support in CD Writing update. 7. qfecheck after restart settings (runonceex import to check that hotfixes have installed ok). here is my all.inf [version] signature="$Windows NT$" [DefaultInstall] ; Anything added here will get installed if choosing RIGHT CLICK -> INSTALL. AddReg = XPSP2, Restart [SP2+All.inf] AddReg = XPSP2, Apps, Critical, Recommended, Restart [All.inf] AddReg = Apps, Critical, Recommended, Restart [Apps.inf] AddReg = Apps, Restart [Critical.inf] AddReg = Critical, Restart [Recommended.inf] AddReg = Recommended, Restart [XPSP2] HKLM,"%RunOnceEx%\",Title,0,"Installing windows XP SP2." HKLM,"%RunOnceEx%\001",,,".windows XP SP2" HKLM,"%RunOnceEx%\001",1,,"%01%\XPSP2.exe /passive /Z /O" [Apps] HKLM,"%RunOnceEx%\",Title,0,"Installing Apps." HKLM,"%RunOnceEx%\apps001",,,".NET Framework v1.1" HKLM,"%RunOnceEx%\apps001",1,,"%01%\Apps\dotnetfx.exe" HKLM,"%RunOnceEx%\apps002",,,"Microsoft Journal Viewer" HKLM,"%RunOnceEx%\apps002",1,,"%01%\Apps\Journal.msi /QB HKLM,"%RunOnceEx%\apps003",,,"282784 Qfecheck.exe Verifies Hotfixes" HKLM,"%RunOnceEx%\apps003",1,,"%01%\Apps\Q282784.exe /Z /Q" HKLM,"%RunOnceEx%\apps004",,,"Open command prompt here powertoy" HKLM,"%RunOnceEx%\apps004",1,,"%01%\Apps\CmdHerePowertoySetup.exe /S /v/qn" HKLM,"%RunOnceEx%\apps005",,,"831240 HighMAT Support in CD Writing..." HKLM,"%RunOnceEx%\apps005",1,,"%01%\Apps\HMTCDWizard.exe" HKLM,"%RunOnceEx%\apps006",,,"qfecheck after restart settings" HKLM,"%RunOnceEx%\apps006",1,,"rundll32 setupapi,InstallHinfSection DefaultInstall 128 %01%\Apps\check.inf" [Critical] ; type 1 ; HKLM,"%RunOnceEx%\",Title,0,"Installing Critical Updates." ; HKLM,"%RunOnceEx%\critical001",,,"NAME GOES HERE" ; HKLM,"%RunOnceEx%\critical001",1,,"%01%\Critical\UPDATE.EXE /Z /O /U /Q" ; type 2 [Recommended] ; HKLM,"%RunOnceEx%\",Title,0,"Installing Recommended Updates." ; HKLM,"%RunOnceEx%\reco001",,,"NAME GOES HERE" ; HKLM,"%RunOnceEx%\reco001",1,,"%01%\Recommended\PROGRAM.EXE /Z /O /U /Q" [Restart] HKLM,"%RunOnceEx%\ZRestart001",,,"Restarting after install" HKLM,"%RunOnceEx%\ZRestart001",1,,"shutdown -r -t 99 -f" [Strings] ; Any variables you use need to be defined under [strings]. RunOnceEx = "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx" [INFO] ; key below to run any thing in the runonceex without needing to restart ; rundll32.exe iernonce.dll,RunOnceExProcess ; The command will run the section called [XXXXX] in the FILENAME.INF file ; 128 tells setup to NOT restart if the inf needs to restart the pc ; rundll32 setupapi,InstallHinfSection XXXXX 128 .\FILENAME.INF It will be called from run.cmd @ ECHO OFF ECHO Running XPSP2 and all updates not included (SP2+All.inf) ECHO And Restarting After 99 Seconds. rundll32 setupapi,InstallHinfSection SP2+All.inf 128 .\hotfixes\All.inf rundll32.exe iernonce.dll,RunOnceExProcess Exit The main thing that I don't know is would it work as sp2 makes its own mini setup. Does anyone know how too disable this mini setup after the restart I want it to use the firewall then I will disable it later. If I do need to change the setttings is there a way to make a digital signature for the Netfw.inf and repack the network install to use this. I know that this is technical. I can't test at mo as I don't know how or if its possible to disable the mini setup or make the digital signature. check.inf code if needed. [version] signature="$Windows NT$"; windows NT only [DefaultInstall] ; Anything added here will get installed if choosing RIGHT CLICK -> INSTALL. AddReg = Apps [Apps] HKLM,"%RunOnceEx%\zcheck001",,,"QFEcheck" HKLM,"%RunOnceEx%\zcheck001",1,,"qfecheck.exe /l:%30%\ /q" [Strings] ; Any variables you use need to be defined under [strings]. RunOnceEx = "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx" [INFO] ; key below to run any thing in the runonceex without needing to restart ; rundll32.exe iernonce.dll,RunOnceExProcess ; The command will run the section called [XXXXX] in the FILENAME.INF file ; 128 tells setup to NOT restart if the inf needs to restart the pc ; rundll32 setupapi,InstallHinfSection XXXXX 128 .\FILENAME.INF
  10. I haven't seen this posted anywhere on any of my usuall website that I check (bink.nu & msfn.org) Here is a link to download XP SP2 2179 from Versiontracker.com See link for details and direct download link. Main site link I hope you all enjoy this bit of info its 272.5MB word of warning the website is very slow at downloading. Ive got a 1mb ADSL line and is doing a very slow 6.2kbps (about 13 hours)
  11. Here is another update from another post. RTM = 4th August 2004 MSDN and M$ downloads - 5th August 2004 Found at OSNN.Net I cannot find other sites that confirm or deny this so don't quote me on the RTW. but would be nice if it was out then.
  12. would it be released as the monthly security updates/hotfixes next week. I read on the info for the lastest Cumulative for IE that some time this week you will get an upto to Windows update version 5 if you have automatic download set. Taken from the FAQ section here.
  13. I have just made my first multiboot cd and im getting one small problem with my cdshell.ini Here is my cdshell.ini boot: cls print "\n" print "Press Enter to boot from CD... \n" getkey 5 boot 0x80 if $lastKey == key[enter]; then goto time # When no key found... goto boot # Function to display time of day time: set hour = $timeHour set ampm = "am" if $timeHour > 12; then set hour = $timeHour - 12 if $timeHour > 12; then set ampm = "pm" set time = "$hour:$timeMinute$ampm" # Function to display date date: set month = "n/a" if $dateMonth == 1; then set month = "Jan." if $dateMonth == 2; then set month = "Feb." if $dateMonth == 3; then set month = "Mar." if $dateMonth == 4; then set month = "Apr." if $dateMonth == 5; then set month = "May." if $dateMonth == 6; then set month = "Jun." if $dateMonth == 7; then set month = "Jul." if $dateMonth == 8; then set month = "Aug." if $dateMonth == 9; then set month = "Sep." if $dateMonth == 10; then set month = "Oct." if $dateMonth == 11; then set month = "Nov." if $dateMonth == 12; then set month = "Dec." set date = "$month$dateDay,$dateYear" # Printing the Interface menu: cls print c "\n\cXXƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ<\c0B$time $date\cXX>ƒƒ \n\n" print c "\cXXBartPE and Windows XP PRO SP1.\n\n" print l "\cXXPress \c0BF1 \cXXfor Help" print c "\cXXƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ \n\n" print "1) Windows XP Professional SP1 Corporate \n" print "2) BartPE \n" print "3) BartPE /inram \n" print "Q) Quit to Command Prompt \n" print "R) Reboot \n" print "ESC) Boot 1st Harddisk \n" print c "\n" MainKey: getkey 20 boot 0x80 if $lastKey == key[1]; then goto XP_Pro if $lastKey == key[2]; then chain /BPE1.DAT if $lastKey == key[3]; then chain /BPE2.DAT if $lastKey == key[q]; then end if $lastKey == key[r]; then reboot if $lastKey == key[F1]; then goto Help if $lastKey == key[esc]; then boot 0x80 XP_Pro: cls print r "\n\cXXPress \c0BF1 \cXXfor Help \n" print c "\n\cXXMicrosoft Windows XP Professional SP1 Corporate \n" print c "\cXXƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ \n" print "1) Regular \n" print "2) Unattended \n" print c "\n\n" print "Press any key to return to main menu... \n" XP_Pro_Key: if $lastKey == key[1]; then chain /PRO1.DAT if $lastKey == key[2]; then chain /PRO2.DAT if $lastKey == key[F1]; then goto Help goto menu Help: cls print c "\n\cXXMulti-Boot DVD Help \n" print c "\cXXƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ \n" print "\n" print "Hit the key of your choice in the main menu -> \n" print "\n" print "\n" print "Install Types \n" print "ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ \n" print "Regular - Install will prompt you for all information during setup. \n" print "Unattended - Install with no user prompts. \n" print "\n" print "\n" print "Press any key to return to main menu... \n" getkey goto menu end When I press 1 (install xp pro) after the cd boots. It should go to a sub menu like in the multiboot guide so that i can choose to install or go unattended. It always goes straight to install XP Pro. it shows the list but carrys on and starts installing xp. so i can't choose to do an unattended install. I think that there is something wrong with XP_Pro bit by it not say go to XP_Pro_Key. The guide doesn't have anything in it. The BartPE stuff work lovely. Edit: I think tha if I add the following just under he XP_Pro_Key bit getkey 20 goto menu can't check this as using a mac
  14. I have just made my first multiboot cd and im getting one small problem with my cdshell.ini Here is my cdshell.ini boot: cls print "\n" print "Press Enter to boot from CD... \n" getkey 5 boot 0x80 if $lastKey == key[enter]; then goto time # When no key found... goto boot # Function to display time of day time: set hour = $timeHour set ampm = "am" if $timeHour > 12; then set hour = $timeHour - 12 if $timeHour > 12; then set ampm = "pm" set time = "$hour:$timeMinute$ampm" # Function to display date date: set month = "n/a" if $dateMonth == 1; then set month = "Jan." if $dateMonth == 2; then set month = "Feb." if $dateMonth == 3; then set month = "Mar." if $dateMonth == 4; then set month = "Apr." if $dateMonth == 5; then set month = "May." if $dateMonth == 6; then set month = "Jun." if $dateMonth == 7; then set month = "Jul." if $dateMonth == 8; then set month = "Aug." if $dateMonth == 9; then set month = "Sep." if $dateMonth == 10; then set month = "Oct." if $dateMonth == 11; then set month = "Nov." if $dateMonth == 12; then set month = "Dec." set date = "$month$dateDay,$dateYear" # Printing the Interface menu: cls print c "\n\cXXƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ<\c0B$time $date\cXX>ƒƒ \n\n" print c "\cXXBartPE and Windows XP PRO SP1.\n\n" print l "\cXXPress \c0BF1 \cXXfor Help" print c "\cXXƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ \n\n" print "1) Windows XP Professional SP1 Corporate \n" print "2) BartPE \n" print "3) BartPE /inram \n" print "Q) Quit to Command Prompt \n" print "R) Reboot \n" print "ESC) Boot 1st Harddisk \n" print c "\n" MainKey: getkey 20 boot 0x80 if $lastKey == key[1]; then goto XP_Pro if $lastKey == key[2]; then chain /BPE1.DAT if $lastKey == key[3]; then chain /BPE2.DAT if $lastKey == key[q]; then end if $lastKey == key[r]; then reboot if $lastKey == key[F1]; then goto Help if $lastKey == key[esc]; then boot 0x80 XP_Pro: cls print r "\n\cXXPress \c0BF1 \cXXfor Help \n" print c "\n\cXXMicrosoft Windows XP Professional SP1 Corporate \n" print c "\cXXƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ \n" print "1) Regular \n" print "2) Unattended \n" print c "\n\n" print "Press any key to return to main menu... \n" XP_Pro_Key: if $lastKey == key[1]; then chain /PRO1.DAT if $lastKey == key[2]; then chain /PRO2.DAT if $lastKey == key[F1]; then goto Help goto menu Help: cls print c "\n\cXXMulti-Boot DVD Help \n" print c "\cXXƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ \n" print "\n" print "Hit the key of your choice in the main menu -> \n" print "\n" print "\n" print "Install Types \n" print "ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ \n" print "Regular - Install will prompt you for all information during setup. \n" print "Unattended - Install with no user prompts. \n" print "\n" print "\n" print "Press any key to return to main menu... \n" getkey goto menu end When I press 1 (install xp pro) after the cd boots. It should go to a sub menu like in the multiboot guide so that i can choose to install or go unattended. It always goes straight to install XP Pro. it shows the list but carrys on and starts installing xp. so i can't choose to do an unattended install. I think that there is something wrong with XP_Pro bit by it not say go to XP_Pro_Key. The guide doesn't have anything in it. The BartPE stuff work lovely. Edit: I think tha if I add the following just under he XP_Pro_Key bit getkey 20 goto menu can't check this as using a mac
×
×
  • Create New...