Jump to content

Dahi

Member
  • Posts

    146
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    country-ZZ

Everything posted by Dahi

  1. Black Cloud, You have a couple of problems, but I'm not sure if they are causing that message you get. 1. In Office.cmd and Regtweaks.cmd replace %CDROM2% with %CDROM%. %CDROM2% isnt set to a CD drive letter in your batch files. IF EXIST P:\CD.txt SET CDROM=P: ECHO. ECHO Applying Registry Tweaks... REGEDIT /S %CDROM2%\install\regTweaks.reg 2. Your Office batch file overwrites the registry settings set by your RunonceEX batch. This will cause a lot of confusion - some apps might not be installed, other apps might be installed twice. I recommend merging your Office batch into your Runonce batch and make sure you dont duplicate the %KEY%\00x numbers. Or do what Cartoonite suggests. REG ADD %KEY% /V TITLE /D "Installing Applications" /f REG ADD %KEY%\001 /VE /D "Installing MultiMedia Tools" /f REG ADD %KEY%\001 /V 1 /D "%CDROM%\install\SetupFiles\Multimedia.exe" /f : : REG ADD %KEY%\005 /VE /D "Installing Office And Photoshop" /f REG ADD %KEY%\005 /V 1 /D "%CDROM%\install\SetupFiles\Office.exe" /f : : REG ADD %KEY%\006 /VE /D "Change The CD-ROM" /f REG ADD %KEY%\006 /V 1 /D "%systemdrive%\CD.exe" /f REG ADD %KEY%\007 /VE /D "Installing Office 2003" /f REG ADD %KEY%\007 /V 1 /D "%CDROM2%\install\Office\Office.exe" /f : : REG ADD %KEY%\050 /VE /D "Importing Registry Tweaks" /f REG ADD %KEY%\050 /V 1 /D "%CDROM%\install\Regtweaks.exe" /f REG ADD %KEY%\099 /VE /D "Cleaning Up And Rebooting" /f REG ADD %KEY%\099 /V 1 /D "%CDROM%\install\cleanup.exe" /f
  2. The first line of your regtweaks.reg file must be Windows Registry Editor Version 5.00
  3. IIRC auto logon doesnt work with EncryptedAdminPassword=Yes
  4. Try the Unattended CD/DVD Guide http://unattended.msfn.org/xp/hkcu_registry.htm
  5. You could also use CDRECORD (which requires cygwin) to search for CD burners. @ECHO OFF SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION SET CDROM= SET CDR= FOR /F "SKIP=2 TOKENS=1,8 DELIMS= '" %%A IN ('CDRECORD -scanbus') DO ( IF /I "%%B" EQU " REMOVABLE CD-ROM" SET CDROM=!CDROM! "%%A" ) ECHO CD Drives: %CDROM% FOR %%X IN (%CDROM%) DO FOR /F "SKIP=2 DELIMS=" %%A IN ('CDRECORD -dev %%X -prcap') DO ( IF /I "%%A" EQU " DOES WRITE CD-R MEDIA" SET CDR=%%X ) ECHO CD Burners: %CDR% IF "%CDR%"="" GOTO NO_CDR rem Install Nero :NO_CDR
  6. Check out Office Shrinker at http://www.msfn.org/board/index.php?showtopic=16709
  7. Something like this: @echo off ver | find "Version 5.2" if errorlevel 1 goto NotVer52 echo Version 5.2 goto end :NotVer52 echo Not Version 5.2 goto end :end
  8. Import the registry settings below in your cmdlines.txt to set all folders to Detail view. It also enables the Attributes column. Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Toolbar\Explorer] "ITBarLayout"=hex:11,00,00,00,4c,00,00,00,00,00,00,00,34,00,00,00,1b,00,00,00,\ 56,00,00,00,01,00,00,00,20,07,00,00,a0,0f,00,00,05,00,00,00,62,05,00,00,26,\ 00,00,00,02,00,00,00,21,07,00,00,a0,0f,00,00,04,00,00,00,21,01,00,00,a0,0f,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams] "Settings"=hex:09,00,00,00,04,00,00,00,01,00,00,00,00,77,7e,13,73,35,cf,11,ae,\ 69,08,00,2b,2e,12,62,04,00,00,00,01,00,00,00,43,00,00,00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Defaults] "{20D04FE0-3AEA-1069-A2D8-08002B30309D}"=hex:1c,00,00,00,04,00,00,00,00,00,00,\ 00,00,00,9a,00,00,00,00,00,01,00,00,00,ff,ff,ff,ff,f0,f0,f0,f0,14,00,03,00,\ 9a,00,00,00,00,00,00,00,30,00,00,00,fd,df,df,fd,0f,00,05,00,24,00,10,00,2e,\ 00,46,00,00,00,00,00,01,00,00,00,02,00,00,00,03,00,00,00,04,00,00,00,78,00,\ 96,00,60,00,60,00,78,00,00,00,00,00,01,00,00,00,02,00,00,00,03,00,00,00,05,\ 00,00,00,ff,ff,ff,ff,cf,f3,a8,b0,33,43,ab,4b,88,73,1c,cb,1c,ad,a4,8b,30,f1,\ 25,b7,ef,47,1a,10,a5,f1,02,60,8c,9e,eb,ac,04,00,00,00 "{F3364BA0-65B9-11CE-A9BA-00AA004AE837}"=hex:1c,00,00,00,04,00,00,00,00,00,00,\ 00,00,00,9a,00,00,00,00,00,01,00,00,00,ff,ff,ff,ff,f0,f0,f0,f0,14,00,03,00,\ 9a,00,00,00,00,00,00,00,30,00,00,00,fd,df,df,fd,0f,00,05,00,24,00,10,00,2e,\ 00,46,00,00,00,00,00,01,00,00,00,02,00,00,00,03,00,00,00,04,00,00,00,b4,00,\ 60,00,78,00,78,00,3c,00,00,00,00,00,01,00,00,00,02,00,00,00,03,00,00,00,06,\ 00,00,00,ff,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
  9. Unless the application has a command line switch to specify the installation folder, you'll probably have to repackage them. Use WinInstall LE to take a snapshot of a clean WinXP installation, install your app manually to the folder you want, then use WinInstall to make an MSI file that you can use to silently install the app to your custom folder.
  10. You could try this. @echo off if "%ComputerName:~0,3%"=="MAG" ( echo Installing apps for MAG001 - MAG099 rem REG ADD %KEY%\020 /VE /D "Installing some program" /f rem REG ADD %KEY%\020 /V 1 /D "V:\someprogram.exe" /f ) if "%ComputerName:~0,3%"=="ICT" ( echo Installing apps for ICT001 - ICT034 rem REG ADD %KEY%\020 /VE /D "Installing some program" /f rem REG ADD %KEY%\020 /V 1 /D "V:\someprogram.exe" /f ) For details about how the ~0:3 stuff works, type "SET /?" at a command prompt.
  11. One option is to boot from a WinPE or BartPE CD then run a batch file to delete the folders you dont need and start your unattended installation. http://www.msfn.org/board/index.php?showto...3&hl=formatting
  12. Look for a small application called cmdow
  13. Holding the Shift key down when you select the Sendto target will move the selected files instead of copying them.
  14. Try %CommonProgramFiles% Open a command prompt and type SET to see the full list on your PC.
  15. This is turning into a WPI thread, but to remove the background from the timer box, delete the "background:#5A7EDC;" line from the .txtboxshow section of wpi.css .txtboxshow { font-family: Arial; font-weight: bold; font-size : 12pt; color:#FFFFFF; border:1px none; } And to get apostrophes in descriptions, add a slash before them desc[pn]=['Apostrophes won\'t work in descriptions unless you add a slash before them']
  16. Try this echo Installing Multi-Language Support (MUI) from CD 1 z:\Applications\MuiInst\muisetup.exe /i 040c 0411 /d 0411 /r /s /l /f rem 0409=English, 040c=French, 0407=German, 0411=Japanese echo %date% %time% Installed MUI for Japanese and French >>%LOG% Echo Installing Multi-Language Support (MUI) from CD 2 cd\applications\muiinst\CD2 muisetup.exe /i 0401 0413 040D 0410 0416 0C0A 041D /d 0409 /r /s rem 0401 = Arabic, 0413 = Dutch, 040D = Hebrew, 0410 = Italian rem Echo %date% %time% Called muisetup.exe CD2 >>%LOG%
  17. Gosh describes how to make a menu with Diskemu at http://gosh.msfnhosting.com/part1.htm
  18. Instead of CD, use PUSHD to change to a directory, then POPD to return to your working folder. PUSHD C:\Windows ... POPD
×
×
  • Create New...