Jump to content

qwerty1

Member
  • Posts

    14
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United Kingdom

Everything posted by qwerty1

  1. Ive picked up some tips from that link you gave Briar, its not exactly what i was looking for. I was thinking of something that would load instead of the xp-installer with choices on it such as Install windows xp install software I will stop there as ive just thought, i couldnt install software without the os installed. Dont know what iwas thinking of , obviously losing it
  2. Thanks. i will have a read through that.
  3. Have you seen these around the net were someone has added things to the win xp disc so you can not only install windows but other stuff to. This is presented in a gui usually done with "Autoplay menu builder" or something similar, so if your in windows and you put the cd in up comes the gui. But although these hybrid type cd,s are bootable if you boot from one the gui ive mentioned does not appear instead xp,s own installer loads. What im wondering, is there a way of making such a gui appear when you boot from the cd.
  4. I used this switch to install Kerio 4 and it seems to have installed with the advanced and not simple user interface. I know someone was looking for this option, here,s the switch ECHO. ECHO Installing Kerio Personal Firewall start /wait %systemdrive%\install\kerio\kerio-kpf-4.2.0-785-win /S /V"/qn REBOOT=Suppress\" I am presuming that advanced is were Kerio asks for permission for each prog that wants net access. I just selected from within winrar to go to rar home page and kerio popped up asking did i want to permit this action. Anyway give it a try.
  5. Finally managed to get the Kerio problem sorted, it now installs without any help from me and after install the start.cmd carries on and deletes required folders and itself. Thanks again the help everyone. Here is the switch i used its a modified version of one i found here ECHO. ECHO Installing Kerio Personal Firewall start /wait %systemdrive%\install\kerio\kerio-kpf-4.2.0-785-win /S /V"/qn REBOOT=Suppress\" What could be a bonus is that Kerio appears to have been installed with advanced user selected.
  6. war59312, im ok with the clean up thing now ive had it working. Kerio,s the problem. Ive tried loads of different switches ive found from searches here. With some, Kerio installs but my start.cmd gets terminated before it does the clean up, with others Kerio doesnt install and start.cmd runs. I tried the one you posted But i got the box with various switches and ok to click at the bottom and Kerio didnt install, the install and driver folders were deleted though.
  7. gunsmokingman, thanks for your time and effort. I downloaded the SFX but i havnt got a "RunOnce" other than a entry in the winnt.sif file "GuiRunOnce". I tried putting the reg lines you suggested in there but i couldnt load from the iso got an error box saying line 47 wrong. I tried other variations but the files still remained after install. All through this testing i was becoming more and more certain Kerio was the cause of the problem, which has turned out to be the case. This was how i originally had the line written in start.cmd for installing Kerio ECHO. ECHO Installing Kerio Personal Firewall start /wait %systemdrive%\install\kerio\kerio-kpf-4.2.2-911-win.exe /s /v"/qn REBOOT=1 Kerio would install but ignored the no reboot and this seemed to end the start.cmd before the clean up could be run. I swopped the line and also the version of Kerio to install to ECHO. ECHO Installing Kerio Personal Firewall start /wait %systemdrive%\install\kerio\kerio-kpf-4.2.0-785-win.exe / S /V\"/qn REBOOT=Supress\" I know get a dialogue box containing the following during the Kerio install command line perameters /L language ID /S hide initiallization dialog. For silent mode use /S/v/qn /V parameters to msiexec.exe /ua <ur toinstmsia.exe> /ua <url to msi package> At the bottom of this box is a single confirmation box containing OK After pressing OK things carry on and after reboot Kerio is not installed but the good news is that after putting this original entry back in my start.cmd file ECHO. ECHO Deleting Temp Installation Files... RD /S /Q %systemdrive%\Drivers RD /S /Q %systemdrive%\install These folders along with the start.cmd file are deleted. So the problem definately centres round the Kerio install. I just need to get the switches right for it. I will do another search here and see what i turn up.
  8. Thanks for the info all. gunsmokingman with this being my first go at an unattended install, im not understanding the things your saying and pointing me at. I need to give that link you first pointed me at a thorough reading. Now the second reply you made regarding "vbs" as below Were would i put this file and how would i adapt it for my purpose and were would it be called from. BoardBabe, here is my start.cmd so you can see what ive done. I also moved my start.cmd out of the install folder as per your instruction. CLS @echo off TITLE Windows XP SP2 - Semi-Unattended Installation ECHO. ECHO Over the next few minutes you will see automated installations ECHO of various software applications, windows updates, and registry ECHO tweaks being implemented. The computer will restart automatically ECHO once the whole process has finished! ECHO. ECHO Starting installation of Applications ECHO. ECHO Installing Kerio Personal Firewall start /wait %systemdrive%\install\kerio\kerio-kpf-4.2.2-911-win.exe /s /v"/qn REBOOT=1 ECHO. ECHO Restarting the PC in 1 minute... shutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute, this will give enough time for the shortcuts to update and for the shell to fully load before its ready to restart!" ECHO. ECHO Deleting Temp Installation Files... RD /S /Q %systemdrive%\Drivers RD /S /Q %systemdrive%\install EXIT Ive also tried using the following, using C:\ instead of %systemdrive% but still the folder dont get deleted. ECHO. ECHO Deleting Temp Installation Files... rd /s /q C:\Drivers rd /s /q C:\install EXIT I tried adding your clean up as follows CLS @echo off TITLE Windows XP SP2 - Semi-Unattended Installation ECHO. ECHO Over the next few minutes you will see automated installations ECHO of various software applications, windows updates, and registry ECHO tweaks being implemented. The computer will restart automatically ECHO once the whole process has finished! ECHO. ECHO Starting installation of Applications ECHO. ECHO Installing Kerio Personal Firewall start /wait %systemdrive%\install\kerio\kerio-kpf-4.2.2-911-win.exe /s /v"/qn REBOOT=1 ECHO. ECHO Restarting the PC in 1 minute... shutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute, this will give enough time for the shortcuts to update and for the shell to fully load before its ready to restart!" @echo off SetLocal enableextensions CLS : Deleting TEMP files. for /d %%g in ("%temp%\*") do rd /s /q "%%g" for %%g in ("%temp%\*") do del /q "%%g" for /d %%g in ("%windir%\Downloaded Installations\*") do rd /s /q "%%g" for %%g in ("%windir%\Downloaded Installations\*") do del /q "%%g" del /q "%Windir%\system32\$winnt$.inf" rd /s /q "%SystemDrive%\install" rd /s /q "%SystemDrive%\Drivers" : Reboot. shutdown.exe -r -f -t 60 -c "Vennligst vent..." : Delete the current running file (start.cmd). del /q "%~f0" EndLocal exit But the folders still remain. I also took out ECHO. ECHO Restarting the PC in 1 minute... shutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute, this will give enough time for the shortcuts to update and for the shell to fully load before its ready to restart!" But it made no diference. by the way what is WPI, is it an install assistant. cumminbk, i tried using pause but no errors are showing. Ive tried that many things that its hard to remember which files i altered when i got the error box i mentioned. Heres whats happening with my install, at the end if it when i get the first logon screen and i login it gets as far as applying your personal settings then the pc reboots automatically, and if im correct there has already been one reboot immediately prior to this. The first reboot happens after the install of the app below and i think this reboot has something to do with the problem im having. Here,s my thoughts on it I think things seem to go wrong after the install of kerio although it installs ok. Even though ive added switches for a silent instal with no reboot. It looks like the no reboot is being ignored and i think its this reboot causing the problem. Are the lines ive put in my install of kerio correct to surpress a reboot.
  9. cumminbk, i tried using the quotes but the folders are still there after install. I caught a glimpse of a warning box as it flashed on screen but it went by to fast for me to read it. Nilfred, were do i put these two lines, do they go in the start.cmd file. If so do i enter them exactly as you have written them.
  10. I have been doing an unattended and after i do the install when i look in C:\ the install folder is still there even though i have this in the "start.cmd" ECHO. ECHO Deleting Temp Installation Files... RD /S /Q %systemdrive%\Drivers RD /S /Q %systemdrive%\install Do i need to add something else.
  11. Thanks for the replies GeorgeOfDaJungle and visaversa, Ive managed to get my Regtweaks to work and sorted the admin account out. Kerio installs on the second account and is in the start menu, when i logon to admin account kerio loads up and icon appears on the task bar but doesnt appear in the start menu. I seem to remember reading somewhere that kerio is only controlable from one account so that would explain it. I am slowly sorting my unattended install out and will get there in the end i hope .
  12. Thanks for the tips SolidasRock, but i had already created those files you mentioned. Looks like ive solved the regtweaks problem, it seems the file i created and filled with various tweaks i had got from here was not a registry file. I had copied and pasted the tweaks then renamed the file to "regtweaks.reg" , but being new to this ive probably made a mistake somewhere. I thought i would try and run it manually and see if it applied the tweaks, thats when i got the error box saying it was not a registry file. Ive since created another reg file with UARegistryTweakage and it seems to have done the trick apart from some of the tweaks not being applied, which i will explain below. Here is the contents of the tweaks file (Bottom of Post) i created above. The one in green is the firewall entry thats only sort of half applied and the one in orange the one that has not been applied. Maybe someone may spot a problem with them. One piece of software i am installing is "Kerio firewall" it installs no problem, the problem is after the unattended install finishes and windows loads i get windows firewall box asking if i want to block or allow it. Now according to my regtweaks ive stopped the windows firewall from running. As i said above kerio installs but for some reason not on the administrators account, even though i have the Regtweaks.reg file in the $OEM$ folder. So it should apply to all accounts, is that correct. The last problem is with the administrators account, after ive logged on with the user account ive created call it (qwerty) for the first time, the admin account does not show up in my computer or in documents and settings. I done a restart and logged in to the administrators account and looked in my computer and the two user accounts are present administrator and qwerty/ I done another restart and logged into the qwerty account now administrator account is showing in my computer. Whats happening there and how can i fix the problem. GeorgeOfDaJungle, i can understand your question over the siting of the " regtweaks.reg file " so here,s an extract from the guide im following explaining the reason for its position. Open up Notepad, and create your file. When you are done, save it as regtweaks.reg. From here, you can do two things with it, by where you save the file to. Option #1: If you save it to C:\XPCD\$OEM$ folder, it will apply to any and all user accounts created on the machine. If you decide on this, you need to also add one line to your cmdlines.txt file in the C:\XPCD\$OEM$\ folder: "REGEDIT /S regtweaks.reg" Option #2: If you save it to the C:\XPCD\$OEM$\$1\install\ folder, it will apply only to the account you created in this project on Page 3. We will be creating another batch file later on that can reference the regtweak.reg if you put it here. Windows Registry Editor Version 5.00 ;============================================================================ ;====================== XP SERVICE PACK 2 TWEAKS ============================= ;============================================================================ ; Override Windows Firewall [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center] "FirewallOverride"=dword:00000001 ;============================================================================ ;=========================== SERVICES TWEAKS ================================ ;============================================================================ ; Alerter Service [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Alerter] "Start"=dword:00000004 ; Automatic Updates Service [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wuauserv] "Start"=dword:00000003 ;============================================================================ ;================ SOFTWARE / INTERNET EXPLORER TWEAKS ======================= ;============================================================================ ; Disable Auto-Complete Prompt [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\IntelliForms] "AskUser"=dword:00000000 ; Max Internet Explorer Simultaneous Downloads To 10 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Internet Settings] "MaxConnectionsPer1_0Server"=dword:0000000a "MaxConnectionsPerServer"=dword:0000000a ;============================================================================ ;===================== LOGON / AUTHENTIFICATION TWEAKS ======================= ;============================================================================ ; Show Administrator Account on Welcome Screen [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList] "Administrator"=dword:00000001 ;============================================================================ ;======================= STARTUP / SHUTDOWN TWEAKS ========================= ;============================================================================ ; Disable Automatic Restart in the Event of a BSOD [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl] "AutoReboot"=dword:00000000 ;============================================================================ ;======================= GENERAL WINDOWS TWEAKS =========================== ;============================================================================ ; Show Hidden Files and Folders [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] "Hidden"=dword:00000001 ; Show File Extensions (.exe/.bmp etc.) [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] "HideFileExt"=dword:00000000 ; Disable Windows Tour [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Applets\Tour] "RunCount"=dword:00000000 ; Set Keyboard Num-Lock to be ON by Default [HKEY_CURRENT_USER\Control Panel\Keyboard] "InitialKeyboardIndicators"="2" ; Remove Windows Alexa Spyware [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Extensions\{c95fe080-8f5d-11d2-a20b-00aa003c157a}] ;============================================================================ ;============================ SECURITY TWEAKS =============================== ;============================================================================ ; Disable Default Hidden Shares [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\parameters] "AutoShareWks"=dword:00000000 "AutoShareServer"=dword:00000000 ;============================================================================ ;============================ DESKTOP TWEAKS =============================== ;============================================================================ ; Remove Shotcut To.. Prefix on Desktop Shorcut Names [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer] "Link"=hex:00,00,00,00 ; Remove Arrow Overlay from Desktop Shortcuts [HKEY_CLASSES_ROOT\lnkfile] "IsShortcut"=- ;============================================================================ ;====================== SYSTEM PERFORMANCE TWEAKS ========================= ;============================================================================ ; Speed up Opening of My Computer and Windows Explorer [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\stisvc] "Start"=dword:00000004 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer] "NoSaveSettings"=dword:00000000 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] "NoNetCrawling"=dword:00000001 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer] "NoRemoteRecursiveEvents"=dword:00000001 ; Speed up Shutdown [HKEY_CURRENT_USER\Control Panel\Desktop] "AutoEndTasks"="1" "HungAppTimeout"="100" "WaitToKillAppTimeout"="1000" [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control] "WaitToKillServiceTimeout"="1000" ; Speed Up Browsing Remote Computers [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RemoteComputer\NameSpace\{D6277990-4C6A-11CF-8D87-00AA0060F5BF}] [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RemoteComputer\NameSpace\{2227A280-3AEA-1069-A2DE-08002B30309D}] ; Optimize Core System Performance [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management] "DisablePagingExecutive"=dword:00000001 ;============================================================================ ;======================= START MENU / TASKBAR TWEAKS ======================= ;============================================================================ ; Show QuickLaunch on Taskbar [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desktop] "TaskbarWinXP"=hex:0c,00,00,00,08,00,00,00,02,00,00,00,00,00,00,00,b0,e2,2b,\ d8,64,57,d0,11,a9,6e,00,c0,4f,d7,05,a2,22,00,1c,00,0a,01,00,00,1a,00,00,00,\ 01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,4c,00,00,00,01,14,02,00,00,\ 00,00,00,c0,00,00,00,00,00,00,46,83,00,00,00,10,00,00,00,a0,b0,48,5e,89,8d,\ bd,01,00,d8,9e,e4,2a,8d,bd,01,00,45,fe,5e,89,8d,bd,01,00,00,00,00,00,00,00,\ 00,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,13,01,14,00,1f,0f,e0,4f,\ d0,20,ea,3a,69,10,a2,d8,08,00,2b,30,30,9d,19,00,23,44,3a,5c,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,cd,97,15,00,31,00,00,00,00,00,af,24,5c,\ b9,10,80,57,69,6e,6e,74,00,00,20,00,31,00,00,00,00,00,af,24,a3,b9,10,00,50,\ 72,6f,66,69,6c,65,73,00,50,52,4f,46,49,4c,45,53,00,19,00,31,00,00,00,00,00,\ c1,24,08,92,10,00,69,65,35,30,30,2e,30,30,30,00,00,28,00,31,00,00,00,00,00,\ c1,24,08,92,10,00,41,70,70,6c,69,63,61,74,69,6f,6e,20,44,61,74,61,00,41,50,\ 50,4c,49,43,7e,31,00,21,00,31,00,00,00,00,00,c5,22,9d,91,10,00,4d,69,63,72,\ 6f,73,6f,66,74,00,4d,49,43,52,4f,53,7e,31,00,29,00,31,00,00,00,00,00,d3,22,\ 32,a6,10,00,49,6e,74,65,72,6e,65,74,20,45,78,70,6c,6f,72,65,72,00,49,4e,54,\ 45,52,4e,7e,31,00,24,00,31,00,00,00,00,00,db,22,76,ba,10,00,51,75,69,63,6b,\ 20,4c,61,75,6e,63,68,00,51,55,49,43,4b,4c,7e,31,00,00,00,8d,00,00,00,1c,00,\ 00,00,01,00,00,00,1c,00,00,00,36,00,00,00,0d,f0,ad,ba,8c,00,00,00,1a,00,00,\ 00,03,00,00,00,e7,18,2d,23,10,00,00,00,49,45,35,30,30,5f,58,31,43,00,43,3a,\ 5c,57,49,4e,4e,54,5c,50,72,6f,66,69,6c,65,73,5c,49,45,35,30,30,2e,30,30,30,\ 5c,41,70,70,6c,69,63,61,74,69,6f,6e,20,44,61,74,61,5c,4d,69,63,72,6f,73,6f,\ 66,74,5c,49,6e,74,65,72,6e,65,74,20,45,78,70,6c,6f,72,65,72,5c,51,75,69,63,\ 6b,20,4c,61,75,6e,63,68,00,00,10,00,00,00,05,00,00,a0,1a,00,00,00,a3,00,00,\ 00,00,00,00,00,08,00,00,00,02,00,00,00,cc,00,00,00,01,00,00,00,03,00,00,00,\ 4a,00,00,00,01,00,00,00,40,00,32,00,e6,01,00,00,c4,24,15,9f,20,00,4c,61,75,\ 6e,63,68,20,49,6e,74,65,72,6e,65,74,20,45,78,70,6c,6f,72,65,72,20,42,72,6f,\ 77,73,65,72,2e,6c,6e,6b,00,4c,41,55,4e,43,48,7e,32,2e,4c,4e,4b,00,00,00,40,\ 00,00,00,02,00,00,00,36,00,32,00,48,02,00,00,c4,24,15,9f,20,00,4c,61,75,6e,\ 63,68,20,4f,75,74,6c,6f,6f,6b,20,45,78,70,72,65,73,73,2e,6c,6e,6b,00,4c,41,\ 55,4e,43,48,7e,31,2e,4c,4e,4b,00,00,00,36,00,00,00,00,00,00,00,2c,00,32,00,\ 51,00,00,00,ec,22,46,39,20,00,53,68,6f,77,20,44,65,73,6b,74,6f,70,2e,73,63,\ 66,00,53,48,4f,57,44,45,7e,31,2e,53,43,46,00,00,00,52,00,00,00,e0,00,00,00,\ 00,00,00,00,16,00,00,00,00,00,00,00,00,00,00,00,16,00,00,00,00,00,00,00,01,\ 00,00,00,01,00,00,00,aa,4f,28,68,48,6a,d0,11,8c,78,00,c0,4f,d9,18,b4,37,02,\ 00,00,e0,00,00,00,00,00,00,00,16,00,00,00,00,00,00,00,00,00,00,00,16,00,00,\ 00,00,00,00,00,01,00,00,00 ; Sort Start Menu and Favorites in Alphabetical Order [-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder] ; Add Administrative Tools to Start Menu [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] "Start_AdminToolsRoot"=dword:00000000
  13. Doc Symbiosis i read your reply this morning and ive spent the day trying to get regtweaks to work without any luck. The start.cmd is called from this entry in the winnt.sif [GuiRunOnce] %systemdrive%\install\start.cmd I know i said everything with the unattended install had gone well but ive noticed the administrator account does not seem to be being created even though i have this entry in the winnt.sif file [GuiUnattended] AdminPassword=1f4bd607fae0e57baad3b435b51404ee7296e67e45728e85f099194ccb156bae EncryptedAdminPassword=Yes OEMSkipRegional=1 TimeZone=85 OemSkipWelcome=1 I may have to start from scratch with this unattended project.
  14. This is my first try at doing an unattended install, ive got most things to work after redoing things once or twice . The only thing i cant seem to get working is the regtweaks. Here,s what ive done, created a folder called $OEM$ and ive saved regtweaks.reg there. Created an $1 folder inside $OEM$ folder, in $1 folder i have another folder named install were i have created start.cmd containing the following CLS @echo off TITLE Windows XP SP2 - Semi-Unattended Installation ECHO. ECHO Over the next few minutes you will see automated installations ECHO of various software applications, windows updates, and registry ECHO tweaks being implemented. The computer will restart automatically ECHO once the whole process has finished! ECHO. ECHO Applying Registry Tweaks... REGEDIT /S %systemdrive%\install\RegTweaks.reg ECHO. ECHO Starting installation of Applications ECHO. ECHO Installing Kerio Personal Firewall ECHO Please wait... start /wait %systemdrive%\Install\Kerio\kerio-kpf-4.2.0-785-win.exe /s /v"/qn REBOOT=1 ECHO. ECHO Restarting the PC in 1 minute... shutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute, this will give enough time for the shortcuts to update and for the shell to fully load before its ready to restart!" ECHO. ECHO Deleting Temp Installation Files... RD /S /Q %systemdrive%\Drivers RD /S /Q %systemdrive%\install EXIT It looks to me like i have done as the guide said but the regtweaks.reg dont deploy. Can anyone see were ive gone wrong. Thanks
×
×
  • Create New...