
kev_147
MemberContent Type
Profiles
Forums
Events
Everything posted by kev_147
-
Can someone advise what is the latest available version of Win PE please. I have just about finished an UA build of WinXP, and am getting to the stage where I amnot sure how to make the images. For example we have a server that can host images and my company has bought ghost image suite, but am not 100% sure this is the way to go. Does WinPE have built in imaging tools and can I edit on the fly, ie update with later drivers and hotfixes, anti virus updates etc?
-
Can you try moving your WPI to the root of C: Drive so it is in C:\WPI Try changing your command line so it is %WPIPATH%Install\KB884883.exe /Quiet (No speech marks). Are you using WPI 5.0.1? If you still have problems, please post your wpi_log file and config.js
-
I understand that %CDROM% is generated by certain files being found, ie wpi.ico, winsp51, etc, etc (can't remember the others) if %CDROM% outputs the same as %DISCPATH% then I don't see the point in having it, especially if the code isn't reliable. Does %WPIPATH% work if run from Physical C: Drive, CDROM D: or E:, from mapped network drives and UNC Paths?
-
Please ignore what I was asking for. I realised today that WPI 5.0.1 actually does halt the loading of the windows shell, which is what I want. A couple of things to point out though: 1. Can an option be added to not only restart the computer after x amount of seconds, but to also have the option to shutdown the PC. This would be useful if using an unattended install of WinXP with WPI, where you then get the build rady to take a ghost image. ie when PC shuts down, you know thats when you take the image. 2. If you have told WPI to restart windows after 10 seconds at the end of program installs. Is it possible that the windows shell doesn't try to load in this 10 second gap? (I think this maybe why the sleep command is used in core.js, but am not 100%). I am getting some errors where Windows starts loading all its startup programs, but the restart command kicks in and causes errors to appear. (errors are forced to close, but can this be cleaned up?) Hope that made sense to you guys, am not sure if I understood it, it has been a long day!!
-
automatic creation of oeminfo.ini
kev_147 replied to kev_147's topic in Unattended Windows 2000/XP/2003
Please goto: http://www.msfn.org/board/index.php?showto...pid=525429& for further info on this. I wont update this post no more as it may become confusing -
Automatic creation of oeminfo.ini
kev_147 replied to kev_147's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
Thanks for the reply m8. I have just spent a couple of hours creating the attached VBScript. Will post it up as may be of some use to people. What do you think? Any feedback appreciated. oeminfo.txt -
is %DISCPATH% the same as %CDROM%? If so are they both active or just %DISCPATH%?
-
what is DiscPath outputted as? what does it allow you to do?
-
sorry for being thick here, but what do I need to change from and to?
-
Automatic creation of oeminfo.ini
kev_147 replied to kev_147's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
Can you point me in the direction of doing this please -
Dynaletik posted on May 31 2006, 09:17 AM in this post something about WPI stopping windows loading the shell and that he and I am sure loads of other people doesn't want WPI stopping windows from loading the shell. However there are some scenarios where you might want WPI to halt the loading of the shell until WPI has completed. Could this option be added to useroptions?
-
Does anyone find that WPI 5.0.1 takes longer to close the installer window that the old RunOnceEx Windows method? Does anyone know why it takes longer, it is only a delay of about 10 seconds, but I was just wondering what it is sitting there doing? Is it logging the information?
-
Here is another challenge :(
kev_147 replied to j_h3000's topic in Windows Post-Install Wizard (WPI)
I tried to use a gcond today to check a registry key, but it didn't seem to work so if you get that working, please let me know -
If you create a shortcut of any of the Windows Hotfixes and put /? on the end of the command line it will tell you what switches are available to that hotfix. You will find that the switches differ based on release date, but most of the latest ones over the past year or so support /q /n /z More info can be found at: http://www.msfn.org/board/index.php?showtopic=31886 and http://support.microsoft.com/kb/262841
-
I would recommend downloading WPI 5.0.1 yourself and creating a new config.js file for yourself. There is also a manual available now. Further Info, read this post: http://www.msfn.org/board/index.php?showtopic=75451
-
automatic creation of oeminfo.ini
kev_147 replied to kev_147's topic in Unattended Windows 2000/XP/2003
sorry m8, I worded that wrong. I would like wmi to get manufacturer, model, serial number, cpu, ram, hdd, graphics and sound card info and output this to an oeminfo.ini. I know howto get some of the information, but don't know how to add it to an oeminfo.ini file and to wscript.echo out to the correct line. Can you wscript.echo out to a specific line in an .ini file? If so how? I was thinking that you could wscript.echo "[General]" to line 1, "Manufacturer = " & objItem.Manufacturer to Line 2, "Model = " & objItem.Model to Line 3, Line 4 can be a blank line, "[Hardware]" to line 5, "Total Physical Memory = " & objItem.TotalPhysicalMemory to Line 6, "[support Information]" to Line 12, and so on and save all of this into %systemroot%\system32\oeminfo.ini '--------------------------------------------------------------------------------------------------------------------- On Error Resume Next Const wbemFlagReturnImmediately = &h10 Const wbemFlagForwardOnly = &h20 arrComputers = Array("PC2") ;How do i get a computername variable in here?? For Each strComputer In arrComputers Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2") Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_ComputerSystem", "WQL", _ wbemFlagReturnImmediately + wbemFlagForwardOnly) For Each objItem In colItems WScript.Echo "Manufacturer: " & objItem.Manufacturer WScript.Echo "Model: " & objItem.Model WScript.Echo "TotalPhysicalMemory: " & objItem.TotalPhysicalMemory Next Next For Each strComputer In arrComputers Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2") Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_BIOS", "WQL", _ wbemFlagReturnImmediately + wbemFlagForwardOnly) For Each objItem In colItems WScript.Echo "SerialNumber: " & objItem.SerialNumber Next Next Function WMIDateStringToDate(dtmDate) WScript.Echo dtm: WMIDateStringToDate = CDate(Mid(dtmDate, 5, 2) & "/" & _ Mid(dtmDate, 7, 2) & "/" & Left(dtmDate, 4) _ & " " & Mid (dtmDate, 9, 2) & ":" & Mid(dtmDate, 11, 2) & ":" & Mid(dtmDate,13, 2)) End Function -
I have posted the following in the programming section, but am not sure if this is a more appropriate section. Admin please delete the one you feel should go if its a problem having them in 2 places. Would it be possible with the use of WMI and VB to automatically create an oeminfo.ini file for use within Windows? Here is the sample from MS: [General] Manufacturer = MyCompany, Inc. Model = Brand X Processor SupportURL = http://www.mycompany.com LocalFile = C:\Winnt\Web\LocalFilename.htm [support Information] Line1= For Technical Support: Line2= to obtain updated drivers or for information on frequently Line3= asked questions, visit the MyCompany technical Line4= support web site at: Line5= Line6= http://www.mycompany.com/techsupport. Would it be possible for WMI to enter Manufacturer, Model and add other information such as CPU, Ram, HDD, Graphics and Sound Card information under the general tab. As well as creating the lines under support information? then to save all this information to %SYSTEMROOT%\System32\oeminfo.ini If this could be done, i think it will be a useful script that can be used in an UA install or manual install and will be easy for an end user to se what is installed in their PC and for IT professionals for more efficint hardware auditing. What do people think, worth looking into?? / ??
-
Would it be possible with the use of WMI and VB to automatically create an oeminfo.ini file for use within Windows? Here is the sample from MS: [General] Manufacturer = MyCompany, Inc. Model = Brand X Processor SupportURL = http://www.mycompany.com LocalFile = C:\Winnt\Web\LocalFilename.htm [support Information] Line1= For Technical Support: Line2= to obtain updated drivers or for information on frequently Line3= asked questions, visit the MyCompany technical Line4= support web site at: Line5= Line6= http://www.mycompany.com/techsupport. Would it be possible for WMI to enter Manufacturer, Model and add other information such as CPU, Ram, HDD, Graphics and Sound Card information under the general tab. As well as creating the lines under support information? then to save all this information to %SYSTEMROOT%\System32\oeminfo.ini If this could be done, i think it will be a useful script that can be used in an UA install or manual install and will be easy for an end user to se what is installed in their PC and for IT professionals for more efficint hardware auditing. What do people think, worth looking into?? /
-
Environmanet Variables in WPI don't match Windows
kev_147 replied to kev_147's topic in Windows Post-Install Wizard (WPI)
Is this possible Kel? -
Sorry to keep going on about this, but I feel that something isn't quite right in WPI 5.0.1. In Windows, the SystemDrive variable is "C:" But in WPI 5.0.1 I think it outputs as "C:\" this sounds very picky from me, but it is actually causing me a problem with running the command %WINDIR%System32\FSUTIL.exe dirty set %SystemDrive% as the FSUTIL command only works with "C:" and not "C:\" Would it be possible to change all the environment variables that is used in WPI 5.0.1 to match how Windows outputs them as? Another Example is: Windows sees %WINDIR% as "C:\Windows" - WPI sees it as "C:\Windows\"
-
What Variables are available in WPI 5.0.1?
kev_147 replied to kev_147's topic in Windows Post-Install Wizard (WPI)
I think it would be useful to add all the variables avaliable within WPI 5.0.1 to the Manual. I have found that the most of my problems have been regarding using variables within WPI. For Example list: %WPIPATH% will output "D:\$OEM$\WPI\" if WPI.ico is found in this location %CDROM% will output "D:" or "D:\" (am not sure which is correct) if WIN51IP.SP2, WIN51IP, WIN51 or WPI.ico is found on the physical drive "D". and a list of all other variables: %Systemroot% %Systemdrive% %windir% %allusersprofile% %computername% %username% -
Here is another challenge :(
kev_147 replied to j_h3000's topic in Windows Post-Install Wizard (WPI)
did you want WPI to check to see if an appliaction is already installed within Windows or is available on the CD to install? As I understand it, if you want to check if something should be available to install then you use cond, and if you want to check if something has already been installed then you use gcond. If you use cond, I would suggest browse for the file that you call in cmd1 and if you use gcond, i would suggest you use the uninstall key in HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\ProgName or GUID\DisplayVersion or something relevant in here. -
What Variables are available in WPI 5.0.1?
kev_147 replied to kev_147's topic in Windows Post-Install Wizard (WPI)
I don't know why my existing entries in my config.js file didn't work then when I changed from WPI Lite 1.2 to WPI 5.0.1. Can you tell me what WPI will output %CDROM% as please if run from the D Drive? Will it be D:\ or D: -
Greyed Condition not working in WPI 5.0.1
kev_147 replied to kev_147's topic in Windows Post-Install Wizard (WPI)
Thanks for the reply Lawrencea. I did view that post befoe when I was using WPI Lite 1.2 and it didn't seem to work for me. I still got an error message. I will give it a go in WPI 5.0.1 though. Could you posy a sample for Office 2003 with a cond and gcond so I know what I am doing please. If you can make the gcond use the uninstall display version key that would be great. eg: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{90110409-6000-11D3-8CFE-0150048383C9}\DisplayVersion == 11.0.7969.0 Thanks Kev