Content Type
Profiles
Forums
Events
Everything posted by Yzöwl
-
I'm still stumped on this! The correct file is copied over as IE7_INST.EXE, but everything in scvpack.inf is installed except for IE7; my final installation still has IE6. It cannot be the underscore because both .Net and JRE installers contain them. Attached is an archive with my HFSLIP.LOG (renamed), a listing of my \I386\SVCPACK, and my SVCPACK.INF. I hope they help, although somehow I predict not! more_of.rar
-
Sonic The 'new version' will not accept the integrate switch and its help switch shows the same dialog as KB923789. During install however 923789 installs fine but 905474 shows the full installation dialog boxes etc. The previous version of 905474 didn't exhibit this behaviour, hence my posting here.
-
Notice the etc.[SetupHotfixesToRun] <snip> IE7WINXP.EXE /quiet /norestart /update-no /nobackup <snip>...which is apart from my renaming of the executable, exactly the same as the parameters used in svcpack.inf from hfslip. If I had changed it in some way it wouldn't have been a true test of whether it works or not!
-
Just a little bump, to see if anyone is willing to try some new suggestions here! Using the /integrate switch etc. and the 'old fashioned' svcpack.inf [setupHotfixesToRun] section. My IE7 and WMP11 installs run and install flawlessly. I hope this removes any doubt about my ability to ascertain my version of OS!
-
REG ADD "HKLM\SOFTWARE\Classes\Folder\shell\Add to My App\command" /VE /T REG_EXPAND_SZ /D "\"%%Temp%%\Myapp.exe\" %%L" >NUL<Edit> This is just a correction to the above post. </Edit>
-
As far as I'm aware you cannot use environment variables in that location Change [GuiRunOnce] Command0="%windir%\source.bat" Command1="%systemdrive%\vnc.bat" Command2="%Systemdrive%\msn.bat"to [GuiRunOnce] Command0="C:\WINDOWS\source.bat" Command1="C:\vnc.bat" Command2="C:\msn.bat"Also in order for these locations to be correct: Put source.bat into \$OEM$\$$ Put vnc.bat into \$OEM$\$1 Put msn.bat into \$OEM$\$1 Put \install\*appnamegoeshere* into \$OEM$\$1 Please re-read this page for verification.
-
Solution For VBScript Functionality In Batch Files
Yzöwl replied to snooz's topic in Unattended Windows 2000/XP/2003
Nothing new there! -
Help with a batch file?
Yzöwl replied to DysfunktinaL's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
If you were to provide fuller details, I'd be able to tailor my example better to your requirements. Just post the 'choice version' of your working batch file here, or if the content is so important that you're afraid someone here may steal from it PM me with it instead. Windows XP command shell does not have the choice command. And regardless of what some may say, adding a previous version does not work 100% properly. -
Since it is not my language of choice, here is an 'educated, (or maybe not)', suggestion: var Reg : TRegistry; begin Reg := TRegistry.Create; Reg.RootKey := HKEY_LOCAL_MACHINE; KeyName := 'Software\Microsoft\Windows\CurrentVersion\Run'; Checkbox1.checked := false; try Reg.OpenKeyReadOnly(KeyName); if Reg.ValueExists('Test') then Checkbox1.checked := true; finally Reg.CloseKey; Reg.Free; end; end;
-
Are you sure you have access rights, HKLM requires Administrator rights for read/write, unless you state that you are reading or you set the access rights first. As we cannot see the rest of your code, I'm guessing you're using TRegistry; since you are only reading the key you could use reg := TRegistry.Create (KEY_READ); reg.RootKey :=HKEY_LOCAL_MACHINE; try If reg.OpenKey('\Software\Microsoft\Windows\CurrentVersion\Run', FALSE) then;
-
[How-to] Add Recycle Bin to start menu
Yzöwl replied to ricktendo's topic in Windows Tips 'n' Tweaks
Had you checked my offering you would have noted that is how I'd done it too! I just prefered to supply it in an easy to install SFX in order to prevent possible mistakes by the user. -
[How-to] Add Recycle Bin to start menu
Yzöwl replied to ricktendo's topic in Windows Tips 'n' Tweaks
Firstly, here are some snippets of script. VBScript WScript.CreateObject("Shell.Application").Explore "::{645FF040-5081-101B-9F08-00AA002F954E}" JScript new ActiveXObject("Shell.Application").Explore("::{645FF040-5081-101B-9F08-00AA002F954E}");Secondly, here is a completed working solution Open_Bin.exe Just double click it and either reboot explorer or switch from new to old startpanel and back again to see the result. Note The entry is for only the current user as should all tweaks of this type. Happy New Year! <Edit> I have created another 'all users' version Recycler.exe using your full reg file as its basis. </Edit> Open_Bin.exe Recycler.exe -
Help with a batch file?
Yzöwl replied to DysfunktinaL's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
Please could you be more specific as to your requirements! What is your list of files? What link? Launch which app? <Edit> What follows is some example code. In order to use it as is, you will need to do the following Create a file, with name and location stipulated in the variable FN_ This file will contain a line by line listing of your 20ish full filenames The extensions of each of those files will need to be registered to an application. e.g.X:\My Docs\SubDir\MyDoc.rtf D:\Shared Folder\Useful Stuff\Commom\AFile.txt etc. Here is the code, RandFile.cmd: @ECHO OFF SET FN_=C:\DOCUMENTS AND SETTINGS\YOUR_NAME\LISTING.LOG FOR /F %%? IN ('FIND /C /V "" ^<"%FN_%"') DO SET "LC_=%%?" SET /A "RD_=%RANDOM% %% LC_ +1" FOR /F "TOKENS=1* DELIMS=:" %%A IN ('FINDSTR/N "^.*" "%FN_%"') DO ( IF %%A==%RD_% "%%B") </Edit> -
Unattended Hotfix Integration
Yzöwl replied to mrmoshpotato's topic in Unattended Windows 2000/XP/2003
Add the /U or /PASSIVE switch: FOR %%? IN (*.EXE) DO START "" /WAIT %%? /PASSIVE /INTEGRATE:C:\XPCD -
You will need to change that option with each and every compatible installer. Additionally, why Start > Programs > Software? Have you got some programs which are not software?
-
Exporting Registry Keys through script
Yzöwl replied to fizban2's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
You can use either regedit, as already suggested or if installed reg.exe. The latter would definitely be better if ran from a vbscript, so here are both examples using that scripting method REGEDIT sBackupFile = "X:\KeyBkUp.reg" sRegPath = "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers" sCmd = "REGEDIT /E """ & sBackupFile & """ " & """" & sRegPath & """" Set oShell = CreateObject("WScript.Shell") oShell.Run sCmd, 0, True REG.EXE sBackupFile = "X:\KeyBkUp.reg" sRegPath = "HKLM\SYSTEM\CurrentControlSet\Control\Print\Printers" sCmd = "%COMSPEC% /C REG EXPORT """ & sRegPath & """ " & """" &_ sBackupFile & """" Set oShell = CreateObject("WScript.Shell") oShell.Run sCmd, 0, True<Edit> BTW LeveL it should be REGEDIT /E C:\Exported.regnot REGEDIT /E C:/Exported.reg </Edit> -
I'm not sure if it's a bug, or a change for which my Opera browser needs re-configuring, but in this topic there appears to be no poll results graph!
-
Batch file help
Yzöwl replied to braindedd's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
My command which performs the task you require would still be the same, just the first line, (error trapping), would change. @IF %CD:*:=% EQU \ @ECHO/The current directory is at root level &GOTO :EOF @FOR /F "DELIMS=" %%? IN ("%CD%") DO @ECHO/The `Parent Folder` is %%~N? -
Can you not just make do with this? Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\devmgmt] @=hex(2):40,00,25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,00,74,\ 00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,64,00,\ 65,00,76,00,6d,00,67,00,72,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,34,00,00,\ 00 [HKEY_CURRENT_USER\Software\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\devmgmt\command] @=hex(2):6d,00,6d,00,63,00,20,00,2f,00,73,00,20,00,25,00,73,00,79,00,73,00,74,\ 00,65,00,6d,00,72,00,6f,00,6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,\ 65,00,6d,00,33,00,32,00,5c,00,64,00,65,00,76,00,6d,00,67,00,6d,00,74,00,2e,\ 00,6d,00,73,00,63,00,00,00 [HKEY_CURRENT_USER\Software\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\gpedit] @=hex(2):40,00,25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,00,74,\ 00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,67,00,\ 70,00,65,00,64,00,69,00,74,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,31,00,00,\ 00 [HKEY_CURRENT_USER\Software\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\gpedit\command] @=hex(2):6d,00,6d,00,63,00,20,00,2f,00,73,00,20,00,25,00,73,00,79,00,73,00,74,\ 00,65,00,6d,00,72,00,6f,00,6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,\ 65,00,6d,00,33,00,32,00,5c,00,67,00,70,00,65,00,64,00,69,00,74,00,2e,00,6d,\ 00,73,00,63,00,00,00 I've shortened the excessive commands a little!
-
Okay, lets pretend like I know whether my Windows version requires activation or not and see if we can come up with something with a little more substance please...
-
TC, I'm supposed to be WiseOwl, are you supposed to be WiseGuy? Okay slipstreamed was the wrong word, try integrated. However the fact still remains that the script isn't doing what it should, and truth be told it hasn't done for at least the last six months. What I meant is that if I have to install it after the OS is fully loaded, then it may as well be done seperately later from another CD. This would leave more space on my CD for other things which can be `integrated` into the install.
-
Now I've give it another shot, this time changing nothing except for removing the script hotfix. Still no IE7, although I recall it beginning to install at T13. Obviously because I'm installing at T13 the HFSLPGUI folder is only used for my PowerShell install, it works fine and is deleted. My HFSLIP folder however is still there as it has been in all my runs in the recent past! I may try running IE7 at Logon, to see how that goes, but then it wont be slipstreamed and of no use to me on the CD.
-
I'll take a look at that on my next run TC, since I've already formatted! The reboot was done even though it isn't necessary, since I installed at T13 using IE7SVCPACK=1 in my HFANSWER.INI. PS I wonder where my log file attachment went to in my last post?