Dahi
MemberContent Type
Profiles
Forums
Events
Everything posted by Dahi
-
Well spotted Soulin! According to the help for the FOR command, the %%J holds the text picked up by the *. Since REG returns values separated by tabs, you could use delims to extract just the bit you want. Just make sure you have only one TAB character between the DELIMS= and the quote mark. And you can drop the FINDSTR too. FOR /F "TOKENS=3 DELIMS= " %%i in ('reg query "HKCU\Software\VirtuaMedia\ZoomPlayer" /v InstallDirectory') do set MyInstallPath="%%i"
-
Not sure if its causing your problem, but according to Microsoft you should put quotes around your Proxy_Override settings Proxy_Override="*.icl.co.uk;*.fs.fujitsu.com;<local>"
-
Try this to get the bit after the space. FOR /F "TOKENS=3*" %%i in ('reg query "HKCU\Software\VirtuaMedia\ZoomPlayer" /v InstallDirectory ^| FINDSTR "REG_SZ" ') do set MyInstallPath = "%%i %%j" INSTALLPATH wasnt getting set correctly on my PC, so I had to change it to MyInstallPath.
-
It might be your graphics card drivers. Try adding your laptop drivers to your CD. Elduderino confirmed with Microsoft that OOBE wont work at 640x480 (?). See his posts at http://www.msfn.org/board/index.php?showto...&hl=oobe&st=10#
-
Problems with "for" in runonceex ....
Dahi replied to midiboy's topic in Unattended Windows 2000/XP/2003
Try adding quote marks between the START and the /WAIT. START often gets confused if you leave out the "title" parameter. SET TXT=CMD /C for %%i in (%CDROM%\SETUP\Firefox\xpi\*.xpi) do start \"\" /wait \"%PROGRAMFILES%\Mozilla Firefox\firefox.exe\" -install-global-extension %%i -
Problems with "for" in runonceex ....
Dahi replied to midiboy's topic in Unattended Windows 2000/XP/2003
It works for me. Try copying my code into a TEST.CMD file Add a SET CDROM=C: at the top of the file Then run it from a command prompt to see which line is causing errors -
Problems with "for" in runonceex ....
Dahi replied to midiboy's topic in Unattended Windows 2000/XP/2003
Try this SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx SET TXT="CMD /C for %%i in (%CDROM%\Setup\Updates\*.exe) do start /wait %%i /passive /norestart /quiet" REG ADD %KEY%\007 /VE /D "Hotfixes" /f REG ADD %KEY%\007 /V 1 /D %TXT% /f SET TXT=CMD /C for %%i in (%CDROM%\SETUP\Firefox\xpi\*.xpi) do start /wait \"%PROGRAMFILES%\Mozilla Firefox\firefox.exe\" -install-global-extension %%i REG ADD %KEY%\009 /VE /D "Mozilla Firefox Extensions" /f REG ADD %KEY%\009 /V 1 /D "%TXT%" /f -
You could use CHOICE.EXE in your runonceex.cmd. :Retry choice /c:YN /t:Y,60 Do you want to install applications if errorlevel 2 goto SkipApps if errorlevel 1 goto InstallApps goto Retry :InstallApps REG ADD ..... etc :SkipApps
-
Very strange. Is it just display properties thats missing the tabs? Or are other apps affected too, like IE options. Maybe someone forgot to add them to your theme!
-
Unattended Secret: Reducing Size Of Source
Dahi replied to gosh's topic in Unattended Windows 2000/XP/2003
Sounds like youre doing something wrong. Try describing exactly what you do to make your CD or ISO file. Do you run nLite after reducing with Goshs method? -
Run regedit, select the keys you want, then click File > Export and save the file. Edit the file with Notepad if necessary.
-
Multi Language Unattended - Strange problem...
Dahi replied to Dj-Throll's topic in Unattended Windows 2000/XP/2003
Try removing the Language line from your unattended file. This was the only way I could get it to work for Japanese. [RegionalSettings] InputLocale=0411:e0010411,040c:e0010411 InputLocale_DefaultUser=0411:e0010411,040c:411,0409:0411 SystemLocale=00000411 UserLocale=00000411 LanguageGroup=7,1 -
Soulin has the right idea bootcfg /copy /d "XP Professional" /id 1 bootcfg /copy /d "Herstelconsole" /id 2 bootcfg /delete /id 2 bootcfg /delete /id 1 Or use a search and replace tool from http://www.programmersheaven.com/zone16/cat656/
-
StatusBarOther needs to be set too. ;Show status bar [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main] "Show_StatusBar"="yes" "Show_URLinStatusBar"="yes" "StatusBarOther"=dword:00000001
-
How to add open cmd to the context menu?
Dahi replied to Rico.JohnnY's topic in Unattended Windows 2000/XP/2003
Right-click the yellow folder icon in the top left of the window -
This is a FAQ Detailed view with status bar. And I enabled 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
-
strWIMP = "mp10setup.exe /q:A /c:""setup_wm.exe /Q /R:N /DisallowSystemRestore""" oShell.Run "%comspec% /c " & strWIMP, 1, true or strWIMP = "mp10setup.exe /q:A /c:" & chr(34) & "setup_wm.exe /Q /R:N /DisallowSystemRestore" & chr(34) oShell.Run "%comspec% /c " & strWIMP, 1, true should work
-
How Can I Shrink Office 2003 Sp1 Administrative ?
Dahi replied to 4tune's topic in Application Installs
Dont rename Office.7z to Word.7z Then run: copy /b 7zs.sfx + config.txt + Office.7z Word.Exe -
Semi-Unattended & Customised Install
Dahi replied to Methanoid's topic in Unattended Windows 2000/XP/2003
Theres a couple of other options not mentioned yet. 1. Prepare two floppy disks containing a WINNT.SIF file with the Computername set to ONE or TWO. Your unattended CD will install XP with the computername taken from the floppy, and your application install batches can check %ComputerName% to see if it should be installed on this PC or not. 2. Make an Install.bat or modify autoexec.bat on a Win98 boot floppy that asks for the hostname and runs winnt.exe from cdrom with a UDF file to set the hostname (and network settings if necessary). 3. If you dont like the idea of using floppies, you could use the MAC address to set the computername and applications to be installed. There was a thread about this a while ago. -
Dont use PATH as a variable name. set path=%cdrom%\$oem$ This line in your batch will screw up your PATH, so commands like REGEDIT, REG, and FORMAT will not work normally (unless you specify the full path). You dont need it in this case, but in future use a different name instead, for example: set APPS=%cdrom%\$oem$\$1\Local\Apps %APPS%\Adobe\Adobe.exe /s
-
Please use the Code button when you paste in your RunOnceEx.cmd to make it easier to read in future. You are missing " /f at the end of some of your REG lines. Also the Daemon tools folder has a space in it so you need to surround it with quotes. REG ADD %KEY%\005 /V 1 /D "%CDROM%\Software\Winiso\WINISO53_pmp4.exe /verysilent/SP-" /f REG ADD %KEY%\015 /VE /D "Daemon tools" /f REG ADD %KEY%\015 /V 1 /D "\"%CDROM%\Software\Daemon tools\daemon.exe\" /qn /Reboot=Suppress" /f Edit: corrected quotes You also have a space in front of daemon.exe
-
How Can I Shrink Office 2003 Sp1 Administrative ?
Dahi replied to 4tune's topic in Application Installs
You need to figure out why 7zip freezes during compression. Can you compress other folders without errors? You might need to re-install 7Zip, or try WinRar instead? If you can install Word from C:\Office then it has been slipstreamed correctly. Try this to check. C:\Office\setup.exe TRANSFORMS=Unattended.Mst /qb Your size of 66Mb looks about right for a Word installation. If the size of C:\Office is only 7Mb it means that shrink didnt work, try again (probably parts of Office were installed on the PC, so you'll have to do a clean install of WinXP, or preferably revert to a snapshot in VMware) -
For budget disadvantaged administrators, a cheap rollout solution is possible using an admins PC or server to copy install files to remote PCs and start silent installations with the AT or SOON commands.
-
http://www.msfn.org/board/index.php?showto...rer+detail+view
-
Your PC should be able to get network settings from a DHCP server without any special configuration/scripts (if your network drivers are installed correctly). You can also specify IP, subnet mask, DNS, WINS settings in the WINNT.SIF file. Read REF.CHM in \SUPPORT\Deploy.cab on your XP CD for details.