Help - Search - Members - Calendar
Full Version: office 2003 plugin
The CD Forum > Bart's PE Builder > Plugins
Pages: 1, 2, 3
hodgestructure
I created office 2003 plugin full function, besides outlook.
But I have a non-important problem.
I use office 2003 traditional chinese edition. But in bartpe, the menu is english....@@

The menu means that:

File->New, Open, Save, Save as
Edit-> cut, copy office clipboard, paste, clear, select all
etc...

I don't know why it becomes english, I used office 2003 traditional chinese edition cd.

Have someone created office 2003 plugin other than english edition , and have the same issue?
How to fix it....although it's not important, but I just want to know, if it can be done, thanks
TheHive
There hasnt been a succesfull 2003 office plugin. Can you release youres. There was a thread about creating one but there was no plugin.
hodgestructure
Finally, I made a full function plugin of office 2003 tradition chinese edition, without outlook.
Because I use chinese, I think it doesn't help for almost of you.
But I can tell you how to create the full function plugin.

1. I use total uninstall 4.12 trial to monitor the office 2003 installation process.

2. file -> export -> Registry Changes, to export the regisrty ; I use all registry, and unicode format.

3. Copy the new created or changed folders and files.

I choose total uninstall because I can easily copy the created or changed folder and files from the interface.

4. I use ConvRegToInf20.exe to convert the .reg to .inf file.

5. I use Ctrl+F, Ctrl+H to do the following things. In the .inf file,

(1) replace C:\Program Files to X:\Programs

(2) replace C?\Program Files to X?\Programs

(3) replace C:\Windows to X:\i386

(4) replace C?\Windows to X?\i386

(5) replace C:\PROGRA~1 to X:\Programs

(6) replace C?\PROGRA~1 to X?\Programs

(7) replace X:\Programs\COMMON~1 to X:\Programs\Common Files

(8) replace X?\Programs\COMMON~1 to X?\Programs\Common Files

(9) replace X:\Programs\Common Files\MICROS~1 to X:\Programs\Common Files\Microsoft Shared

(10) replace X?\Programs\Common Files\MICROS~1 to X?\Programs\Common Files\Microsoft Shared

(11) etc, etc, do the same things for all the paths which contain ~1, ~2, ....

If you can't success, then I post all the replacements.....

6. delete the followings

(1) 0x3, "Software\Microsoft\Office\11.0\Access\Settings\CommandBars","ASCB126", and it's value

(2) 0x3, "Software\Microsoft\Office\11.0\Access\Settings\CommandBars","ASCB43", and it's value

(3) 0x3, "Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676\00000002","Service Name",

and it's value

(4) 0x7, "Microsoft\Windows NT\CurrentVersion\Perflib\004","Counter" and it's value

(5) 0x7, "Microsoft\Windows NT\CurrentVersion\Perflib\009","Counter" and it's value


7. In the .inf, add the following:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[WinntDirectories]

a="Programs",2
b="Documents and Settings",2
c="MSOCache",2

[SourceDisksFolders]

files\Programs=a
files\Documents and Settings=b
files\i386=1
files\MSOCache=c



[Software.AddReg]
0x1,"Microsoft\Windows\CurrentVersion\RunOnceEx\927","924","||xpeinit.exe -f -m ""Office 2003"" X:\Programs\Microsoft Office\office.cmd"

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

the above folders just contain the new or changed files or folders. Instead 927, 924 , You have to set your own numbers.



8. put office.cmd in files\Programs\Microsoft Office, where office.cmd is the following:

~~~~~~~~~

net start mdm
net start ose

~~~~~~~~~~

9. Don't delete registry keys about C:\Documents and Settings, and etc...; Don't forget to do step 5 for such keys.


10. Don't forget to copy the created or changed folders and files in C:\Documents and Settings\ ;

In fact, the shortcuts are not important, but the following had better to be included

(1) C:\Documents and Settings\All Users\Application Data

(2) C:\Documents and Settings\Default User\Application Data

(3) C:\Documents and Settings\Default User\Local Settings

Don't forget, it doesn't mean you copy all the folders from your computer, it means copy all the new created or changed things in these folders!!


11. The last step, I set my ramdrive to C: , not B:

And find a way to copy X:\Documents and Settings to C:\Documents and Settings when boot BartPE.

I use cmd, and "xcopy", if you can't do it, I can give you.




12. You can enjoy it, besides outlook
M. Safdar
Hi hodgestructure,

you have done great work in creating Office 2003 fully working plug. i also have been working on the plugin but so far no success in running office 2003 n BartPE+XPE. I will be greatfull if you post your plugin INF and CMD files.

Thanks

M. Safdar
ireneuszp
QUOTE
Finally, I made a full function plugin of office 2003 tradition chinese edition, without outlook.

so where we can find this plugin
any link or somthing like that
hodgestructure
Ok, you want the plugin, so I try to create a plugin using office 2003 english edition.

Here is the link.

http://rapidshare.com/files/70642295/Offic...Eng-cd.inf.html


The files in the four folders : Documents and Settings, i386, MSOCache, Programs, you have to copy some files into the folders, using the way i have mentioned.


If someone want to write a full plugin, I mean something like get_files.cmd to copy all the files, it would be better...
plainolguy
I have been trying to find, build, beg, etc. a plug in for Office 2003 for almost a year with no success. I was surfing the forum when I came across this and was wondering how close anyone has gotten to finally building a plugin for Word, Excel, PP. I have Access also but don`t use it very often. I built using hodgestructure`s inf file but of course that didn`t do any good because I don`t have an XML file and since I`m begging, you now realize I don`t know how to make a XML file either. Is there someone who is close to doing this that might respond with an XML file and what else I might need to do? I know nothing about scripts so it is extremely difficult for me to move forward on this. I have tried to learn but it is like climbing Mt. Everest to me.

Thanks, Plain
hodgestructure
Could you explain more detail what functions do you want? (my english is poor and i don't konw what xml files you need...)
I think I can help you....
plainolguy
hodgestructure:

Thanks for replying.....

I downloaded and now use the .inf file you put on rapidshare. The .inf file is all I found there. I don`t know about how to write scripts or how they work so I usually only can use a completed plugin with the menu .xml file and .inf file and instructions on what I need to put in the "files" folder. I would like to be able to use Word, Excel, and Powerpoint in BartPE. This is a lot yes?

I used PEBuilder to make a recovery CD and I did not have errors after adding the folders MSOCache, i386,, Documents and Settings, and Programs to the "files" folder in the plugin folder. I got i386, Documents and Settings, and Programs folders from C-drive. I had to get MSOCache from my D-drive because I couldn`t find it on C-drive. Is this a problem?

When I booted with BartPE, The possibility of choosing Office 2003 was not there. No Word, No Excel, and no Powerpoint.

I have no XML file to put in my plugin folder because I try very hard to make one but can`t. This will be "nu2menu.xml" if it is same as the rest of plugins.

So all I really know how to do is install Office 2003 on my computer, and how to make PEBuilder start.

I hope this isn`t too confusing. If you are too busy I understand. I have to work too.

plain
hilander999
Broswe to the x:\programs\ms office foler after booting and run the program from there to see if it even works before you worrie about the menu entries.

mu2menu is not that hard, but can be annoying at times.
Make sure it works, then we can set up a menu entry for the programs.
plainolguy
Highlander:

I did not have the path you suggested so I started all over with a new build and new office2003 folder in plugin and the build goes all the way to the end just before building the iso and gives me 1 error "exit code 13". I have never seen PEBuilder do this before. I searched the forum and can find no threads referring to exit code 13. Any suggestions? I`m getting very excited. Soooooo close!

plain
hilander999
"Exit code 13" is normally an error with MKISOFS.EXE, not pebuilder itself.
There are many causes for this error, mostly a conflicting cygwin.dll file loaded in memory.

Try a reboot and build again.... do you still get the error? What other programs are running at boot time? Any that use cygwin.dll?
plainolguy
As an update, I have XP dual booted with the second partition XP not having antivirus or any firewall etc. utility going just so I can try (unsuccessfully at this point) to make plugins with InstallRite. I dual boot with GAG so that each XP doesn`t know about the other to prevent it trying to out-think me (which as you can see, isn`t all that hard). Anyway, since there is barebones XP with Office Pro 2003 installed, PEBuilder completed making my .iso without errors. It is 942 Mb with Office. I know it integrated Office 2003 because I saw it copying the .cab files.

My .iso doesn`t have any reference anywhere on it to Office. I looked in the pebuilder folder where the "bartpe" folder stays and it has four folders... "Programs", "MSOCache", "i386", and "Documents and Settings".

When I originally put the 4 above mentioned files in the plugin folder I put them in the "files" folder. I believe this is correct yes? At least from what I gather reading the .inf file, and yet they showed up directly under bartpe in the path once the build was complete.

So as it stands, I can see the build progress without errors. PEBuilder copies what I suppose are the proper Office files.
I can mount the .iso using FileDisk but there is no x:\programs\msoffice folder or anything ms or office.
I can burn the .iso using IMGBurn successfully.
I can boot the DVD (942Mb yikes!).
When Bart boots I still have no Office anywhere on the menu.

I looked at the nu2menu edit option to see if perhaps the Office was seen and not allowed to show up on the menu, however it is not in the menu file anywhere as far as I can tell.

I just don`t know..........But I can say that even if I am not successful at this I am very grateful to you Highlander, and you hodgestructure for helping me. I had given up hope of even getting as far as creating an error free .iso. Thanks!!!!!!!!!

plain
plainolguy
QUOTE (hilander999 @ Feb 1 2008, 11:29 PM) *
"Exit code 13" is normally an error with MKISOFS.EXE, not pebuilder itself.
There are many causes for this error, mostly a conflicting cygwin.dll file loaded in memory.

Try a reboot and build again.... do you still get the error? What other programs are running at boot time? Any that use cygwin.dll?



Please see my note above...........Thanks
hilander999
At this point we have NOT ADDED any menu entries yet, that comes after you get it working.

Using explorer, you should have a folder "X:\programs\Misrocost Office" in your ISO file or you have not followed the directions properly.

I must admit that I do not use installright, I have other tools that work for me and have proven themselves to be a better solution for me, but that is inly personal prefferance.

I am testing a couple solutions to see what I can come up with and will let you know what I find, it seems my first test had some "Exclusions" that seem to be needed because all I get on my first test was the message "The operating system has not been prepared for this program". Time will paint the full picture here. I have way too many things going on all at once, so there is no telling what project will be finished first, I work on one untill I get bored or stumped then move on to the next untill I get back where I started with a fresh clean mind to work on whatever puzzle has been presented to me.

PS: VMWARE is a better solution than using a multiboot OS setup. You setup the virtual machine, then take a snapshot so you can go back and use it over and over again, always resetting it back to the original clean instalation that you started out with.
plainolguy
Where you are talking about finding ms or office in my ISO file by using explorer, I am afraid I`m lost. I can`t get explorer to open any ISO files. I did use ISOBuster to look in the .iso file and it shows the same things that are shown when I mount or boot the image.

Also, hodgestructure gave instructions above about which files to delete etc. but since he later provided a link to a completed .inf file I assumed it was complete and needed no more massaging. If I am supposed to record several instances of opening the applications to determine the files needed I must go back to the drawing board as I have not figured out how to do this type of research. Anyway, you cleared up some confusion I had as to how close I was to having a plugin. I appreciate it. More study is in order.........

Thanks Ed P for cleaning up after me.........I will improve.

plain
hodgestructure
@plainolgyu,

do you use Sherpya's XPE plugin in BartPE???

Because I use XPE , I don't make .xml file. In fact, I don't know how to deal with this, so I always don't do this when I make a plugin.

If you would like to use my plugin, it's better to use xpe plugin....
plainolguy
Yes, I did have Sherpya`s plugin activated when I built the .iso.
hodgestructure
So why do you need .xml file? I also included the new created files in C:\Documents and Settings when installing Office 2003.

There are two ways to open word, excel...etc.

First : Go to "X:\Programs\Microsoft Office\OFFICE11\WINWORD.EXE" and click it.

Second: Go to "Start Menu\Programs\Microsoft Office" and click it.

But for the second way, we have to need some more registry keys....

(I hope I don't misunderstand your problem...@@)
plainolguy
I just thought I needed the XML file.....I had forgotten about Sherpya`s plugin.

I used A43 to look for MS or Office. They are not on the ISO or bootdisk.
Ed_P
hmm.gif Are they in the BartPE folder? If not is the plugin Enabled?
plainolguy
Hi Ed!

Yes they are in the Bart PE folder once the ISO is built....MSOCache, i386, Programs, and Documents and Settings. I believe now I do not know about how to add files. The only message board subjects on Office 2003 are to me very incomplete. I have found at least 3 different "plugins" and each has its own rules. Being a novice, I get very confused by this. Normally I am instructed as to what goes where. This has been addressed in a couple of the plugins but I`m afraid with no programming or scripting experience and my limited knowledge of making a plugin from scratch, it causes me even more confusion when a step the author assumes everyone knows winds up being skipped.

Any thoughts?

Thanks guys for your patience.........plain
Ed_P
I wasn't referring to the CD but to the folder PEBuilder creates prior to writing the ISO file.
hodgestructure
Hi,

Let me repeat your problem (too see if I misunderstand, my poor english....)

You have Installed office 2003 and put the files into your plugin folder...( For me, it's I:\pebuilder3110a\plugin\My Plugins\office 2003\files)

And you use my .inf and build BartPE and .iso file.

Right?? So when you boot into BartPE+XPE, what problem do you encounter??

You don't know how to open word, excel, powerpoint ?? Or you can find where thery are, but when open them, they don't work??

Please describle you problems clearly and in simple english words....^__^
(of course, it's best to use chinese ...just a kidding :-)
plainolguy
Ed...

Although I was referring to the CD in my reply I have looked in the PE folder you mentioned and yes, MSOCache, Documents and Settings, Programs, and i386, are all there. I got the i386 folder from the XP copy on my hard drive.

hodgestructure....nee how mah. My limited knowledge of Chinese.

This is what I have done.

I created a folder "office2003" and placed it in the "plugin" folder of PEBuilder.

On a clean XP home, I installed Office 2003 Word, Excel, and Powerpoint.

I put your .inf file of office 2003 in the "office2003" folder of "plugin", PEBuilder.

I then copied the folders MSOCache, Documents and Settings, Programs, and i386, to the "files" folder I made in the "office2003" folder.

I ran PEBuilder.

I got a good ISO file and burned a disk.

I know this can`t be the right way to do it but can`t figure out how to make it good.

I need step by step rules for doing it. I do not know which files go where. I don`t know how to make .cmd or .bat files for this job. I don`t know what registry entry to put where.

Uphill all the way!

plain
plainolguy
My apologies for being incomplete.

When I burn the disk, I can`t find MS Office, or MS, or Office. They are not there.
hodgestructure
Ok, i see some problem in your steps.

I hope I can make a get_file.cmd to help you.

You can see my post "I finished my pe".
hodgestructure
QUOTE
I created a folder "office2003" and placed it in the "plugin" folder of PEBuilder.

On a clean XP home, I installed Office 2003 Word, Excel, and Powerpoint.

I put your .inf file of office 2003 in the "office2003" folder of "plugin", PEBuilder.



First, my .inf is made by installing all the office 2003 components, so I think if you just installed the 3 components and use my .inf, there will be problems...

QUOTE
I then copied the folders MSOCache, Documents and Settings, Programs, and i386, to the "files" folder I made in the "office2003" folder.



When installing office 2003, where is the path you install them? In C:\Program Files or in C:\Programs ??
The Default path is in C:\Program Files, and if you don't change it, then hwo could you get a Programs folder after installing ??
If it's the case, then the "programs" folder is empty (In fact, I don't think that there will be such a folder...), and so you get nothing...
And in xp, I think there is no i386 folder. You have to copy some files into C:\Windows to Plugin\Office2003\files\i386


Moreover, don't copy all the C:\Windows or C:\program folders.
You have to copy all changed/created files/folders into your Plugin\Office2003\files folders.





I suggest you to download trial edition of total Uninstall here : http://www.martau.com/tu_download.php.
And learn how to use it to monitor the changed/created/deleted files/folders during a installation.


Because you just want to use word, excel, powerpoint, so our files for plugin are different.
Total Uninstall has a function, in the list of changed/created/deleted files/folders , you can click the right button of you mouse to copy it.


You should be patient because there are so many files, but using total uninstall, you know which files are needed.

I spent much time on these, so be patient, and learn how to get the files. Then after, I can help you with .inf and .cmd.


( I suggest you to install little softwares to learn how to use total uninstall to get files , and then you use it to get office2003 files )
plainolguy
The cmd file would be great. Where is "I finished my pe"?
hilander999
QUOTE (hodgestructure @ Feb 5 2008, 07:01 PM) *
Ok, i see some problem in your steps.

I hope I can make a get_file.cmd to help you.
Can you post your file list? I can make the cmd file in a couple of minutes to help out.

Open a cmd window at this folder....
I:\pebuilder3110a\plugin\My Plugins\office 2003\files
And type...
DIR /B /N /S >!FILELIST.TXT

My quick attemp at folowing your directions came up with an error saying "This operating system has not been prepared for this software", so your file list could help.

We already have plenty of code to gather files, so I don't see a problem adapting your file list to a "Get_files.cmd" type of script.
plainolguy
Okay hodgestructure and Highlander and Ed P. I will first figure out how to use totaluninstall then I will try to get all changed files. I will install all of Office 2003 Professional which is what I have which has word, excel, powerpoint, outlook, access, infopath and something else right? Word Excel Powerpoint and Access are enough for me. So I will also try to narrow my files down to that if I can but I have a question....if the .inf file doesn`t have all the files listed they won`t matter right? I will get back here in the weekend to bring what I have done.

Thanks All for your patience.
Ed_P
QUOTE (plainolguy @ Feb 5 2008, 07:54 PM) *
Where is "I finished my pe"?

http://www.911cd.net/forums//index.php?sho...c=21063&hl=
hodgestructure
QUOTE
My quick attemp at folowing your directions came up with an error saying "This operating system has not been prepared for this software", so your file list could help.


Before I have the same problem. Now, it works. I will post my file list soon, thanks.

Also wait me. I have to install english office 2003 in english xp, and make a working english plugin.

It takes some time.
hodgestructure
@plainolguy:

I think you don't do it now. I will write a complete tutorial and if possible, (with someone's help), I will write a get_file.cmd.


But maybe you have to wait for a month to get the full plugin...

I have too many courses this semester....
hodgestructure
I am sorry. The first post are written long time before and I have already changed my plugin....@@
Here is the more detail tutorial:


(0) Before installing Office 2003, install Windows Installer KB893803, and restart. Disconnect the internet. Open Total Uninstall,

(I suppose you know how to use Total Uninstall to monitor installations and get files....)



(1) Install Office 2003

0. I remind you again that, remember to monitor the installation...
( Because I am not sure that we have the same files..If not, then my Get_Files.cmd won't work for you!! You have to get the files by yourself...)
1. Enter your serial, Press "Next"
2. Enter User name, ( Intials ) and Organization, Press "Next"
3. select "I accept the terms in the License Agreement", Press "Next"
4. Choose Custom Install, and I think the default installation path is
"C:\Program Files\Microsoft Office\". You may change it, but when you follow my steps to change the .inf file,
replace you own path to correct path for BartPE. Press "Next"
5. Select all the applications, i.e Word, Excel, PowerPoint, Outlook, Publisher, Access, InfoPath.
And Select "Choose advanced customization of application". Press "Next"
6.Click Microsoft Office and Select "Run all from my computer". Press "Next"
7.Press "Install"
8.When installation finishs, don't choose "Check the web for updates and additional downloads" and "Delete Installation files",
just press "finish"
9. Then open the applications and closed them, besides outlook!! It means open Word, Excel, PowerPoint , Publisher, Access, InfoPath.

But This time, I forgot not to open outlook after installation. Using my .inf, outlook doesn't work. But if you don't care this,
then please open outlook after installation. Otherwise, my Get_Files.cmd won't work for you!!


(2) Get the changed/created files.

It's an easy but routine work. If you use Total Uninstall, there are some tips to make it easier.
You will see a list of created/changed/deleted files/keys and values/services.
For files, you can single-click one file, right-click your mouse then you can select "Copy".
You can also use "Shift + click mouse" or " Ctrl + click mouse" to choose many files at the same time.
Attention!! Don't copy all the "Windows" folder, "Program Files" folder, "Documents and Settings" folder to your "plugin\office2003\files" folder.
Otherwise you get many many unnecessary files.

Put the created/changed files in "C:\Documents and Settings" into "plugin\office2003\files\Documents and Settings"
Put the created/changed files in "C:\Program Files" into "plugin\office2003\files\Program Files"
Put the created/changed files in "C:\Windows" into "plugin\office2003\files\i386"
Put the created/changed files in "C:\MSOCache" into "plugin\office2003\files\MSOCache"

You may have different locations of the files than me. Just copy them from you locations.



(3) Now you may use my .inf to create you BartPE+XPE. But I am not sure if this works. I am just sure my .inf works for me.
Because our Office 2003 CDs maybe different, I don't know if the keys and values should be changed in this case.

(4) If my .inf does work for you, you have to make it by yourself.
Total Uninstall can let you export the created/changed/deleted keys/values.
Just go to File->Export->Registry Changes. Then change the .reg to .txt. Open it, and do the following.
(Using Ctrl+H, the replace function in notepad.)


C:\\Windows --> X:\\i386
C?\\Windows --> X?\\i386
C:\\PROGRA~1 --> X:\\Program Files
C?\\PROGRA~1 --> X?\\Program Files
C:\\Program Files\\COMMON~1 --> X:\\Program Files\\Common Files
C:\\Program Files\\Common Files\\MICROS~1 --> X:\\Program Files\\Common Files\\Microsoft Shared
C:\\Program Files\\Common Files\\Microsoft Shared\\WEBCOM~1 --> X:\\Program Files\\Common Files\\Microsoft Shared\\Web Components
C:\\Program Files\\Common Files\\Microsoft Shared\\SMARTT~1 --> X:\\Program Files\\Common Files\\Microsoft Shared\\Smart Tag
C:\\Program Files\\Common Files\\SYSTEM\\OLEDB~1 --> X:\\Program Files\\Common Files\\SYSTEM\\Ole DB
C:\\Program Files\\Common Files\\Microsoft Shared\\WEBFOL~1 --> X:\\Program Files\\Common Files\\Microsoft Shared\\Web Folders
C:\\Program Files\\Common Files\\Microsoft Shared\\MSCLIE~1 --> X:\\Program Files\\Common Files\\Microsoft Shared\\MSClientDataMgr
C:\\Program Files\\Common Files\\Microsoft Shared\\WEBSER~1 --> X:\\Program Files\\Common Files\\Microsoft Shared\\web server extensions
C:\\Program Files\\Common Files\\Microsoft Shared\\SNAPSH~1 --> X:\\Program Files\\Common Files\\Microsoft Shared\\Snapshot Viewer
C:\\DOCUME~1 --> X:\\Documents and Settings
C:\\Documents and Settings\\ALLUSE~1 --> X:\\Documents and Settings\\All Users
C:\\Documents and Settings\\All Users\\APPLIC~1 --> X:\\Documents and Settings\\All Users\\Application Data
C:\\Documents and Settings\\All Users\\Application Data\\MICROS~1 --> X:\\Documents and Settings\\All Users\\Application Data\\Microsoft
C:\\Program Files\\MICROS~2 --> X:\\Program Files\\Microsoft Office
C:\\Program Files\\Microsoft Office\\OFFICE11\\MIGRAT~1 --> X:\\Program Files\\Microsoft Office\\OFFICE11\\Migration
C:\\Documents and Settings\\(you account name) --> X:\\Documents and Settings\\Default User


The principle is that find out ~1, ~2 in a path, like C:\\PROGRA~1, then replace it to a full path.
After you finish the steps, using "find" function of notepad (Ctrl+F) to check if there is another ~1,~2 in a path.
I list all I have found, but maybe you have more than me....


Then change .txt to .reg, I call it office2003.reg. Then convert .reg to .inf ( I use ConvRegToInf20.exe to do this.)


(5) Now you get a .inf, I call it office2003.inf. There are some problem keys in this .inf. In my exprience of making plugin,
this key "Microsoft\Windows NT\CurrentVersion\Perflib\009" (or 001,002,...etc) in Software.Addreg often cause problem!
When you have trouble in building BartPE+XPE, read pebuilder.log to find out where are the problem keys/values.
This time, I delete the following key.
CODE

0x7, "Microsoft\Windows NT\CurrentVersion\Perflib\009","Counter","1","1847","2","System","4","Memory","6","% Processor Time","10","File Read Operations/sec","12","File Write Operations/sec","14","File Control Operations/sec","16","File Read Bytes/sec","18","File Write Bytes/sec","20","File Control Bytes/sec","24","Available Bytes","26","Committed Bytes","28","Page Faults/sec","30","Commit Limit","32","Write Copies/sec","34","Transition Faults/sec","36","Cache Faults/sec","38","Demand Zero Faults/sec","40","Pages/sec","42","Page Reads/sec","44","Processor Queue Length","46","Thread State","48","Pages Output/sec","50","Page Writes/sec","52","Browser","54","Announcements Server/sec","56","Pool Paged Bytes","58","Pool Nonpaged Bytes","60","Pool Paged Allocs","64","Pool Nonpaged Allocs","66","Pool Paged Resident Bytes","68","System Code Total Bytes","70","System Code Resident Bytes","72","System Driver Total Bytes","74","System Driver Resident Bytes","76","System Cache Resident Bytes","78","Announcements Domain/sec","80","Election Packets/sec","82","Mailslot Writes/sec","84","Server List Requests/sec","86","Cache","88","Data Maps/sec","90","Sync Data Maps/sec","92","Async Data Maps/sec","94","Data Map Hits %","96","Data Map Pins/sec","98","Pin Reads/sec","100","Sync Pin Reads/sec","102","Async Pin Reads/sec","104","Pin Read Hits %","106","Copy Reads/sec","108","Sync Copy Reads/sec","110","Async Copy Reads/sec","112","Copy Read Hits %","114","MDL Reads/sec","116","Sync MDL Reads/sec","118","Async MDL Reads/sec","120","MDL Read Hits %","122","Read Aheads/sec","124","Fast Reads/sec","126","Sync Fast Reads/sec","128","Async Fast Reads/sec","130","Fast Read Resource Misses/sec","132","Fast Read Not Possibles/sec","134","Lazy Write Flushes/sec","136","Lazy Write Pages/sec","138","Data Flushes/sec","140","Data Flush Pages/sec","142","% User Time","144","% Privileged Time","146","Context Switches/sec","148","Interrupts/sec","150","System Calls/sec","152","Level 1 TLB Fills/sec","154","Level 2 TLB Fills/sec","156","Enumerations Server/sec","158","Enumerations Domain/sec","160","Enumerations Other/sec","162","Missed Server Announcements","164","Missed Mailslot Datagrams","166","Missed Server List Requests","168","Server Announce Allocations Failed/sec","170","Mailslot Allocations Failed","172","Virtual Bytes Peak","174","Virtual Bytes","178","Working Set Peak","180","Working Set","182","Page File Bytes Peak","184","Page File Bytes","186","Private Bytes","188","Announcements Total/sec","190","Enumerations Total/sec","198","Current Disk Queue Length","200","% Disk Time","202","% Disk Read Time","204","% Disk Write Time","206","Avg. Disk sec/Transfer","208","Avg. Disk sec/Read","210","Avg. Disk sec/Write","212","Disk Transfers/sec","214","Disk Reads/sec","216","Disk Writes/sec","218","Disk Bytes/sec","220","Disk Read Bytes/sec","222","Disk Write Bytes/sec","224","Avg. Disk Bytes/Transfer","226","Avg. Disk Bytes/Read","228","Avg. Disk Bytes/Write","230","Process","232","Thread","234","PhysicalDisk","236","LogicalDisk","238","Processor","240","% Total Processor Time","242","% Total User Time","244","% Total Privileged Time","246","Total Interrupts/sec","248","Processes","250","Threads","252","Events","254","Semaphores","256","Mutexes","258","Sections","260","Objects","262","Redirector","264","Bytes Received/sec","266","Packets Received/sec","268","Read Bytes Paging/sec","270","Read Bytes Non-Paging/sec","272","Read Bytes Cache/sec","274","Read Bytes Network/sec","276","Bytes Transmitted/sec","278","Packets Transmitted/sec","280","Write Bytes Paging/sec","282","Write Bytes Non-Paging/sec","284","Write Bytes Cache/sec","286","Write Bytes Network/sec","288","Read Operations/sec","290","Read Operations Random/sec","292","Read Packets/sec","294","Reads Large/sec","296","Read Packets Small/sec","298","Write Operations/sec","300","Write Operations Random/sec","302","Write Packets/sec","304","Writes Large/sec","306","Write Packets Small/sec","308","Reads Denied/sec","310","Writes Denied/sec","312","Network Errors/sec","314","Server Sessions","316","Server Reconnects","318","Connects Core","320","Connects Lan Manager 2.0","322","Connects Lan Manager 2.1","324","Connects Windows NT","326","Server Disconnects","328","Server Sessions Hung","330","Server","336","Thread Wait Reason","340","Sessions Timed Out","342","Sessions Errored Out","344","Sessions Logged Off","346","Sessions Forced Off","348","Errors Logon","350","Errors Access Permissions","352","Errors Granted Access","354","Errors System","356","Blocking Requests Rejected","358","Work Item Shortages","360","Files Opened Total","362","Files Open","366","File Directory Searches","370","Pool Nonpaged Failures","372","Pool Nonpaged Peak","376","Pool Paged Failures","378","Pool Paged Peak","388","Bytes Total/sec","392","Current Commands","398","NWLink NetBIOS","400","Packets/sec","404","Context Blocks Queued/sec","406","File Data Operations/sec","408","% Free Space","410","Free Megabytes","412","Connections Open","414","Connections No Retries","416","Connections With Retries","418","Disconnects Local","420","Disconnects Remote","422","Failures Link","424","Failures Adapter","426","Connection Session Timeouts","428","Connections Canceled","430","Failures Resource Remote","432","Failures Resource Local","434","Failures Not Found","436","Failures No Listen","438","Datagrams/sec","440","Datagram Bytes/sec","442","Datagrams Sent/sec","444","Datagram Bytes Sent/sec","446","Datagrams Received/sec","448","Datagram Bytes Received/sec","452","Packets Sent/sec","456","Frames/sec","458","Frame Bytes/sec","460","Frames Sent/sec","462","Frame Bytes Sent/sec","464","Frames Received/sec","466","Frame Bytes Received/sec","468","Frames Re-Sent/sec","470","Frame Bytes Re-Sent/sec","472","Frames Rejected/sec","474","Frame Bytes Rejected/sec","476","Expirations Response","478","Expirations Ack","480","Window Send Maximum ","482","Window Send Average","484","Piggyback Ack Queued/sec","486","Piggyback Ack Timeouts","488","NWLink IPX","490","NWLink SPX","492","NetBEUI","494","NetBEUI Resource","496","Used Maximum","498","Used Average","500","Times Exhausted","502","NBT Connection","506","Bytes Sent/sec","508","Total Bytes/sec","510","Network Interface","512","Bytes/sec","520","Current Bandwidth","524","Packets Received Unicast/sec","526","Packets Received Non-Unicast/sec","528","Packets Received Discarded","530","Packets Received Errors","532","Packets Received Unknown","536","Packets Sent Unicast/sec","538","Packets Sent Non-Unicast/sec","540","Packets Outbound Discarded","542","Packets Outbound Errors","544","Output Queue Length","546","IP","552","Datagrams Received Header Errors","554","Datagrams Received Address Errors","556","Datagrams Forwarded/sec","558","Datagrams Received Unknown Protocol","560","Datagrams Received Discarded","562","Datagrams Received Delivered/sec","566","Datagrams Outbound Discarded","568","Datagrams Outbound No Route","570","Fragments Received/sec","572","Fragments Re-assembled/sec","574","Fragment Re-assembly Failures","576","Fragmented Datagrams/sec","578","Fragmentation Failures","580","Fragments Created/sec","582","ICMP","584","Messages/sec","586","Messages Received/sec","588","Messages Received Errors","590","Received Dest. Unreachable","592","Received Time Exceeded","594","Received Parameter Problem","596","Received Source Quench","598","Received Redirect/sec","600","Received Echo/sec","602","Received Echo Reply/sec","604","Received Timestamp/sec","606","Received Timestamp Reply/sec","608","Received Address Mask","610","Received Address Mask Reply","612","Messages Sent/sec","614","Messages Outbound Errors","616","Sent Destination Unreachable","618","Sent Time Exceeded","620","Sent Parameter Problem","622","Sent Source Quench","624","Sent Redirect/sec","626","Sent Echo/sec","628","Sent Echo Reply/sec","630","Sent Timestamp/sec","632","Sent Timestamp Reply/sec","634","Sent Address Mask","636","Sent Address Mask Reply","638","TCP","640","Segments/sec","642","Connections Established","644","Connections Active","646","Connections Passive","648","Connection Failures","650","Connections Reset","652","Segments Received/sec","654","Segments Sent/sec","656","Segments Retransmitted/sec","658","UDP","660","% Total DPC Time","662","% Total Interrupt Time","664","Datagrams No Port/sec","666","Datagrams Received Errors","670","Disk Storage Unit","672","Allocation Failures","674","System Up Time","676","System Handle Count","678","Free System Page Table Entries","680","Thread Count","682","Priority Base","684","Elapsed Time","686","Alignment Fixups/sec","688","Exception Dispatches/sec","690","Floating Emulations/sec","692","Logon/sec","694","Priority Current","696","% DPC Time","698","% Interrupt Time","700","Paging File","702","% Usage","704","% Usage Peak","706","Start Address","708","User PC","710","Mapped Space No Access","712","Mapped Space Read Only","714","Mapped Space Read/Write","716","Mapped Space Write Copy","718","Mapped Space Executable","720","Mapped Space Exec Read Only","722","Mapped Space Exec Read/Write","724","Mapped Space Exec Write Copy","726","Reserved Space No Access","728","Reserved Space Read Only","730","Reserved Space Read/Write","732","Reserved Space Write Copy","734","Reserved Space Executable","736","Reserved Space Exec Read Only","738","Reserved Space Exec Read/Write","740","Image","742","Reserved Space Exec Write Copy","744","Unassigned Space No Access","746","Unassigned Space Read Only","748","Unassigned Space Read/Write","750","Unassigned Space Write Copy","752","Unassigned Space Executable","754","Unassigned Space Exec Read Only","756","Unassigned Space Exec Read/Write","758","Unassigned Space Exec Write Copy","760","Image Space No Access","762","Image Space Read Only","764","Image Space Read/Write","766","Image Space Write Copy","768","Image Space Executable","770","Image Space Exec Read Only","772","Image Space Exec Read/Write","774","Image Space Exec Write Copy","776","Bytes Image Reserved","778","Bytes Image Free","780","Bytes Reserved","782","Bytes Free","784","ID Process","786","Process Address Space","788","No Access","790","Read Only","792","Read/Write","794","Write Copy","796","Executable","798","Exec Read Only","800","Exec Read/Write","802","Exec Write Copy","804","ID Thread","806","Mailslot Receives Failed","808","Mailslot Writes Failed","810","Mailslot Opens Failed/sec","812","Duplicate Master Announcements","814","Illegal Datagrams/sec","816","Thread Details","818","Cache Bytes","820","Cache Bytes Peak","822","Pages Input/sec","870","RAS Port","872","Bytes Transmitted","874","Bytes Received","876","Frames Transmitted","878","Frames Received.","880","Percent Compression Out","882","Percent Compression In","884","CRC Errors","886","Timeout Errors","888","Serial Overrun Errors","890","Alignment Errors","892","Buffer Overrun Errors","894","Total Errors","896","Bytes Transmitted/Sec","898","Bytes Received/Sec","900","Frames Transmitted/Sec","902","Frames Received/Sec","904","Total Errors/Sec","906","RAS Total","908","Total Connections","920","WINS Server","922","Unique Registrations/sec","924","Group Registrations/sec","926","Total Number of Registrations/sec","928","Unique Renewals/sec","930","Group Renewals/sec","932","Total Number of Renewals/sec","934","Releases/sec","936","Queries/sec","938","Unique Conflicts/sec","940","Group Conflicts/sec","942","Total Number of Conflicts/sec","944","Successful Releases/sec","946","Failed Releases/sec","948","Successful Queries/sec","950","Failed Queries/sec","952","Handle Count","1000","MacFile Server","1002","Max Paged Memory","1004","Current Paged Memory","1006","Max NonPaged Memory","1008","Current NonPaged memory","1010","Current Sessions","1012","Maximum Sessions","1014","Current Files Open","1016","Maximum Files Open","1018","Failed Logons","1020","Data Read/sec","1022","Data Written/sec","1024","Data Received/sec","1026","Data Transmitted/sec","1028","Current Queue Length","1030","Maximum Queue Length","1032","Current Threads","1034","Maximum Threads","1050","AppleTalk","1052","Packets In/sec","1054","Packets Out/sec","1056","Bytes In/sec","1058","Bytes Out/sec","1060","Average Time/DDP Packet","1062","DDP Packets/sec","1064","Average Time/AARP Packet","1066","AARP Packets/sec","1068","Average Time/ATP Packet","1070","ATP Packets/sec","1072","Average Time/NBP Packet","1074","NBP Packets/sec","1076","Average Time/ZIP Packet","1078","ZIP Packets/sec","1080","Average Time/RTMP Packet","1082","RTMP Packets/sec","1084","ATP Retries Local","1086","ATP Response Timouts","1088","ATP XO Response/Sec","1090","ATP ALO Response/Sec","1092","ATP Recvd Release/Sec","1094","Current NonPaged Pool","1096","Packets Routed In/Sec","1098","Packets dropped","1100","ATP Retries Remote","1102","Packets Routed Out/Sec","1110","Network Segment","1112","Total frames received/second","1114","Total bytes received/second","1116","Broadcast frames received/second","1118","Multicast frames received/second","1120","% Network utilization","1124","% Broadcast Frames","1126","% Multicast Frames","1150","Telephony","1152","Lines","1154","Telephone Devices","1156","Active Lines","1158","Active Telephones","1160","Outgoing Calls/sec","1162","Incoming Calls/sec","1164","Client Apps","1166","Current Outgoing Calls","1168","Current Incoming Calls","1228","Gateway Service For NetWare","1230","Client Service For NetWare","1232","Packet Burst Read NCP Count/sec","1234","Packet Burst Read Timeouts/sec","1236","Packet Burst Write NCP Count/sec","1238","Packet Burst Write Timeouts/sec","1240","Packet Burst IO/sec","1242","Connect NetWare 2.x","1244","Connect NetWare 3.x","1246","Connect NetWare 4.x","1260","Logon Total","1300","Server Work Queues","1302","Queue Length","1304","Active Threads","1306","Available Threads","1308","Available Work Items","1310","Borrowed Work Items","1312","Work Item Shortages","1314","Current Clients","1320","Bytes Transferred/sec","1324","Read Bytes/sec","1328","Write Bytes/sec","1332","Total Operations/sec","1334","DPCs Queued/sec","1336","DPC Rate","1342","Total DPCs Queued/sec","1344","Total DPC Rate","1350","% Registry Quota In Use","1360","VL Memory","1362","VLM % Virtual Size In Use","1364","VLM Virtual Size","1366","VLM Virtual Size Peak ","1368","VLM Virtual Size Available","1370","VLM Commit Charge","1372","VLM Commit Charge Peak","1374","System VLM Commit Charge","1376","System VLM Commit Charge Peak","1378","System VLM Shared Commit Charge","1380","Available KBytes","1382","Available MBytes","1400","Avg. Disk Queue Length","1402","Avg. Disk Read Queue Length","1404","Avg. Disk Write Queue Length","1406","% Committed Bytes In Use","1408","Full Image","1410","Creating Process ID","1412","IO Read Operations/sec","1414","IO Write Operations/sec","1416","IO Data Operations/sec","1418","IO Other Operations/sec","1420","IO Read Bytes/sec","1422","IO Write Bytes/sec","1424","IO Data Bytes/sec","1426","IO Other Bytes/sec","1450","Print Queue","1452","Total Jobs Printed","1454","Bytes Printed/sec","1456","Total Pages Printed","1458","Jobs","1460","References","1462","Max References","1464","Jobs Spooling","1466","Max Jobs Spooling","1468","Out of Paper Errors","1470","Not Ready Errors","1472","Job Errors","1474","Enumerate Network Printer Calls","1476","Add Network Printer Calls","1478","Working Set - Private","1480","Working Set - Shared","1482","% Idle Time","1484","Split IO/Sec","1500","Job Object","1502","Current % Processor Time","1504","Current % User Mode Time","1506","Current % Kernel Mode Time","1508","This Period mSec - Processor","1510","This Period mSec - User Mode","1512","This Period mSec - Kernel Mode","1514","Pages/Sec","1516","Process Count - Total","1518","Process Count - Active","1520","Process Count - Terminated","1522","Total mSec - Processor","1524","Total mSec - User Mode","1526","Total mSec - Kernel Mode","1548","Job Object Details","1746","% Idle Time","1748","% C1 Time","1750","% C2 Time","1752","% C3 Time","1754","C1 Transitions/sec","1756","C2 Transitions/sec","1758","C3 Transitions/sec","1760","Heap","1762","Committed Bytes","1764","Reserved Bytes","1766","Virtual Bytes","1768","Free Bytes","1770","Free List Length","1772","Avg. alloc rate","1774","Avg. free rate","1776","Uncommitted Ranges Length","1778","Allocs - Frees","1780","Cached Allocs/sec","1782","Cached Frees/sec","1784","Allocs <1K/sec","1786","Frees <1K/sec","1788","Allocs 1-8K/sec","1790","Frees 1-8K/sec","1792","Allocs over 8K/sec","1794","Frees over 8K/sec","1796","Total Allocs/sec","1798","Total Frees/sec","1800","Blocks in Heap Cache","1802","Largest Cache Depth","1804","% Fragmentation","1806","% VAFragmentation","1808","Heap Lock contention","1846","End Marker","1848","RSVP Service","1850","Network Interfaces","1852","Network sockets","1854","Timers","1856","RSVP sessions","1858","QoS clients","1860","QoS-enabled senders","1862","QoS-enabled receivers","1864","Failed QoS requests","1866","Failed QoS sends","1868","QoS notifications","1870","Bytes in QoS notifications","1872","RSVP Interfaces","1874","Signaling bytes received","1876","Signaling bytes sent","1878","PATH messages received","1880","RESV messages received","1882","PATH ERR messages received","1884","RESV ERR messages received","1886","PATH TEAR messages received","1888","RESV TEAR messages received","1890","RESV CONFIRM messages received","1892","PATH messages sent","1894","RESV messages sent","1896","PATH ERR messages sent","1898","RESV ERR messages sent","1900","PATH TEAR messages sent","1902","RESV TEAR messages sent","1904","RESV CONFIRM messages sent","1906","Resource control failures","1908","Policy control failures","1910","General failures","1912","Blocked RESVs","1914","RESV state block timeouts","1916","PATH state block timeouts","1918","Send messages errors - Big messages","1920","Receive messages errors - Big messages","1922","Send messages errors - No memory","1924","Receive messages errors - No memory","1926","Number of incoming messages dropped","1928","Number of outgoing messages dropped","1930","Number of active flows","1932","Reserved bandwidth","1934","Maximum admitted bandwidth","1936","PSched Flow","1938","PSched Pipe","1940","Packets dropped","1942","Packets scheduled","1944","Packets transmitted","1946","Average packets in shaper","1948","Max packets in shaper","1950","Average packets in sequencer","1952","Max packets in sequencer","1954","Bytes scheduled","1956","Bytes transmitted","1958","Bytes transmitted/sec","1960","Bytes scheduled/sec","1962","Packets transmitted/sec","1964","Packets scheduled/sec","1966","Packets dropped/sec","1968","Nonconforming packets scheduled","1970","Nonconforming packets scheduled/sec","1972","Nonconforming packets transmitted","1974","Nonconforming packets transmitted/sec","1976","Maximum Packets in netcard","1978","Average Packets in netcard","1980","Out of packets","1982","Flows opened","1984","Flows closed","1986","Flows rejected","1988","Flows modified","1990","Flow mods rejected","1992","Max simultaneous flows","1994","Nonconforming packets scheduled","1996","Nonconforming packets scheduled/sec","1998","Nonconforming packets transmitted","2000","Nonconforming packets transmitted/sec","2002","Average packets in shaper","2004","Max packets in shaper","2006","Average packets in sequencer","2008","Max packets in sequencer","2010","Max packets in netcard","2012","Average packets in netcard","2014","RAS Port","2016","Bytes Transmitted","2018","Bytes Received","2020","Frames Transmitted","2022","Frames Received","2024","Percent Compression Out","2026","Percent Compression In","2028","CRC Errors","2030","Timeout Errors","2032","Serial Overrun Errors","2034","Alignment Errors","2036","Buffer Overrun Errors","2038","Total Errors","2040","Bytes Transmitted/Sec","2042","Bytes Received/Sec","2044","Frames Transmitted/Sec","2046","Frames Received/Sec","2048","Total Errors/Sec","2050","RAS Total","2052","Total Connections","2054","Terminal Services Session","2056","Input WdBytes","2058","Input WdFrames","2060","Input WaitForOutBuf","2062","Input Frames","2064","Input Bytes","2066","Input Compressed Bytes","2068","Input Compress Flushes","2070","Input Errors","2072","Input Timeouts","2074","Input Async Frame Error","2076","Input Async Overrun","2078","Input Async Overflow","2080","Input Async Parity Error","2082","Input Transport Errors","2084","Output WdBytes","2086","Output WdFrames","2088","Output WaitForOutBuf","2090","Output Frames","2092","Output Bytes","2094","Output Compressed Bytes","2096","Output Compress Flushes","2098","Output Errors","2100","Output Timeouts","2102","Output Async Frame Error","2104","Output Async Overrun","2106","Output Async Overflow","2108","Output Async Parity Error","2110","Output Transport Errors","2112","Total WdBytes","2114","Total WdFrames","2116","Total WaitForOutBuf","2118","Total Frames","2120","Total Bytes","2122","Total Compressed Bytes","2124","Total Compress Flushes","2126","Total Errors","2128","Total Timeouts","2130","Total Async Frame Error","2132","Total Async Overrun","2134","Total Async Overflow","2136","Total Async Parity Error","2138","Total Transport Errors","2140","Total Protocol Cache Reads","2142","Total Protocol Cache Hits","2144","Total Protocol Cache Hit Ratio","2146","Protocol Bitmap Cache Reads","2148","Protocol Bitmap Cache Hits","2150","Protocol Bitmap Cache Hit Ratio","2152","Protocol Glyph Cache Reads","2154","Protocol Glyph Cache Hits","2156","Protocol Glyph Cache Hit Ratio","2158","Protocol Brush Cache Reads","2160","Protocol Brush Cache Hits","2162","Protocol Brush Cache Hit Ratio","2164","Protocol Save Screen Bitmap Cache Reads","2166","Protocol Save Screen Bitmap Cache Hits","2168","Protocol Save Screen Bitmap Cache Hit Ratio","2170","Input Compression Ratio","2172","Output Compression Ratio","2174","Total Compression Ratio","2176","Terminal Services","2178","Total Sessions","2180","Active Sessions","2182","Inactive Sessions","2184","Distributed Transaction Coordinator","2186","Active Transactions","2188","Committed Transactions","2190","Aborted Transactions","2192","In Doubt Transactions","2194","Active Transactions Maximum","2196","Force Committed Transactions","2198","Force Aborted Transactions","2200","Response Time -- Minimum","2202","Response Time -- Average","2204","Response Time -- Maximum","2206","Transactions/sec","2208","Committed Transactions/sec","2210","Aborted Transactions/sec","2218","Indexing Service","2220","Word lists","2222","Saved indexes","2224","Index size (MB)","2226","Files to be indexed","2228","Unique keys","2230","Running queries","2232","Merge progress","2234","# documents indexed","2236","Total # documents","2238","Total # of queries","2240","Deferred for indexing","2242","Indexing Service Filter","2244","Total indexing speed (MB/hr)","2246","Binding time (msec)","2248","Indexing speed (MB/hr)","2250","Http Indexing Service","2252","Cache items","2254","% Cache hits","2256","Total cache accesses 1","2258","% Cache misses","2260","Total cache accesses 2","2262","Active queries","2264","Total queries","2266","Queries per minute","2268","Current requests queued","2270","Total requests rejected","2272","WMI Objects","2274","HiPerf Classes","2276","HiPerf Validity","2278","Outlook","2280","RPCs Attempted","2282","RPCs Succeeded","2284","RPCs Failed","2286","RPCs Cancelled","2288","RPCs UI Shown","2290","RPCs Attempted - UI","2292","Time Avg (all)","2294","Time Avg (10)","2296","Time Avg (50)","2298","Time Avg (200)","2300","Time Min","2302","Time Max","2304","Count obj connection","2306","Count obj hcot table","2308","Count handle (AD) context","2310","Count handle (AD) binding","2312","Count handle (store) context","2314","Count handle (store) binding"



And sometimes, you may find the following case:

0x3, "Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676\00000001","Service Name",\
43,00,4F,00,4E,00,54,00,41,00,42,00,00,00
"SERVICE UID"=HEX:EF,D7,A3,42,A7,90,4A,48,8F,AB,7D,36,FC,7B,6F,85

But it should be

0x3, "Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676\00000001","Service Name",\
43,00,4F,00,4E,00,54,00,41,00,42,00,00,00
0x3, "Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676\00000001","Service UID",\
EF,D7,A3,42,A7,90,4A,48,8F,AB,7D,36,FC,7B,6F,85

This happens when convert .reg to .inf by ConvRegToInf20.exe.
And the abouve cuase problem. Just check in .reg to see what is the right keys/values and correct it in .inf.



(6) Open regedit.exe, export the following two items:

[HKEY_CURRENT_USER\Software\Microsoft\Office], and I call it HKCU.reg
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office], and I call it HKLM.reg

Change them to HKCU.txt and HKLM.txt and repeat the step (4). But this time, I found that I just have to replace the following items:


For HKCU.txt

C:\\Documents and Settings\\(your account name) --> X:\\Documents and Settings\\Default User

For HKLM.txt

C:\\PROGRA~1 --> X:\\Program Files
C:\\Program Files\\COMMON~1 --> X:\\Program Files\\Common Files
C:\\Program Files\\Common Files\\MICROS~1 --> X:\\Program Files\\Common Files\\Microsoft Shared
C:\\DOCUME~1 --> X:\\Documents and Settings
C:\\Documents and Settings\\ALLUSE~1 --> X:\\Documents and Settings\\All Users
C:\\Documents and Settings\\All Users\\APPLIC~1 --> X:\\Documents and Settings\\All Users\\Application Data
C:\\Documents and Settings\\All Users\\Application Data\\MICROS~1 --> X:\\Documents and Settings\\All Users\\Application Data\\Microsoft

Then change them to HKCU.reg and HKLM.reg. And convert them to HKCU.inf and HKLM.inf.
The 2 .inf files maybe not necessary. You can disable them and to see what happen...


(7) Put the 3 .inf files (office2003.inf, HKCU.inf, HKLM.inf) into "plugin\office2003"

Now in "plugin\office2003", you have office2003.inf, HKCU.inf, HKLM.inf and a folder "files".
In the folder "files", you have 4 folders, called "Documents and Settings", "Program Files", "i386", "MSOCache", and they contain the files you collect.


(8) In step (4), you get office2003.reg. Put it in "plugin\office2003\files\Program Files\Microsoft Office\".
Make a .cmd file, I call it office.cmd. The content of this .cmd is :


---------------------------------------------------------------------------------------------------------


net start mdm
net start ose
regedit /s "X:\Program Files\Microsoft Office\office2003.reg"



---------------------------------------------------------------------------------------------------------

And add a line in office2003.inf:

[Software.AddReg]
0x1,"Microsoft\Windows\CurrentVersion\RunOnceEx\927","935","||xpeinit.exe -f -m ""Office 2003"" X:\Program Files\Microsoft Office\office.cmd"



(9) Now you can build your BartPE+XPE.


Remark: (1) The office2003.reg is not necessary. I include it just I want the full functions of office 2003. You can omit it and see if the plugin works...

But if you include office2003.reg, then "MSOCache" folder is necessary, I think. Moreover you have to enable fbwf plugin.

Remark: (2) You can omit "MSOCache" folder, office2003.reg, HKCU.inf, HKLM.inf and to see if the plugin works. I think it works!
But if you want more functions of office 2003, just add them.
hodgestructure
This time, I forgot not to open outlook after installation.
So with this .inf, outlook doesn't work.

I will do it againt...@@

But you can try it first, and wait the second edition....I will do it later..@@

http://rapidshare.com/files/89964891/2003.rar.html

p.s: in this office2003.inf, I forgot to add

[Software.AddReg]
0x1,"Microsoft\Windows\CurrentVersion\RunOnceEx\927","935","||xpeinit.exe -f -m ""Office 2003"" X:\Program Files\Microsoft Office\office.cmd"

Please add it by yourself, thanks.

@hilander999,

Here is my files list, could you help me to make a Get_Files.cmd ? Thank you.

http://rapidshare.com/files/89967496/files.txt.html
plainolguy
hodgestructure.......

It is very kind of you to take the time to post your valuable information.

I will work hard to make a plugin without bothering anyone this weekend. Let you know how it turns out Monday.

Thanks Again! plain
plainolguy
Wahooooooooo!

I finally can see all Office programs on the DVD. Although they don`t come up on the menu I can find them with A43.

However, when I try to start any of them I get a message saying the program "cannot install the necessary files due to Windows Installer error -1." and then "(Microsoft Word or similar)...has not been installed for the current user."

Access gives me an error complaining about it can`t connect to the "OLE server or Active X control".

Any suggestions?

Also, how do I reduce this to only Word, Excel, Powerpoint?

Thanks Everyone for helping me move this along!

plain
nixahn
hi everybody. im new to bartpe stuff. following this forum i have compiled my cds with several plugins. because i usually serve myself with everyones work without doing any, I decided to make a small contribution if I could. I havent compiled a working office2003 plugin yet, but I wrote an office2003.cmd command to get the files spread arround a computer with office2003. I used total uninstall to get the basic list and then used ctrl + h and refined it a little. Moreover, thinking that different people might want to have different office apps I created the script with a separate files.txt companion which lists the files to copy. In that way, in the future the files to be copied can be altered without messing the no doubt dark programming I did in batch with my precarious skills on the subject.

Anyway, here is the command to get the files. It is based in Bart's barpe installer to disk and has a menu. the script takes the names of the folders from the system automatically but they can be modified in case somebody decided to install outside the standard folders. also, the plugin will reproduce the subfolders structure from office. for instance, if a file to be copied is located in c:\program files\microsoft office\office11\excel.exe, then the command will do as follows: find the \plugin\office2003\files\ directory, create the \programs\ folder and then create the rest of the extructure like \microsoft office\office11\ and then copy the file. after the command is executed, the folders in \files are \programs \documents and settings and \i386.

my files.txt file list is designed to copy word, excel, pp and access. A log is created with files that were not found. i always install office by setting wether an option is available or not so that i am never prompted for the office cd so i think the installation files wouldnt be necessary. i hope we can discuss that here a little. Also important, in the files list I also use entire folders like microsoft office\office11 instead of listing each of the files inside it; I hope this provides some flexibility in the future if we moddify the list of files. Also related, there was a .msi file in c:\windows\installer that seems to change from computer to computer. I wonder if that could be a problem... i erased the file from the list.

I was hoping we could use this work and experts knowledge and hodges work to finish assemble a complete office2003 plugin. Now i will try to compile the plugin using my files and the inf files by hodge. Regarding Languate, I dont think it is possible to make the installation fully international since many registry keys contain phrases in the language of the installation. i checked this because i have a spanish cd and the values in the registry are different from hodge's. i dont think it is worth it to program an adaptable inf file. So I think the direction should be towards a functional english plugin which we all understand. if the plugin works i will write the menus which are just a minor detail...

Finally, I am sorry and apologize in advance if the script code is bugged, i am not a professional programmer, so please be patient. batch has turned out to be a pain in the ass regarding string manipulation... also, feel free to moddify the script as you please. i also forgot to mention that given the nature of my batch skills, having winxp is necessary for the script, i dont think it will work in any other system; may be win 2000.


Hope it helps. i hope i'll hear from you. Cheers...
plainolguy
nixahn, Yeah!

I have been checking every day for a reply!

I couldn`t locate your cmd file on your message. I would really like to check it out especially regarding being able to pick the apps. that go in the plugin. I`ve learned quite a bit getting to where I am now and look forward to trying out your command file.

hodgestructure`s plugin works really well. Just keep getting the installer error.....patience eh?

wink.gif wink.gif

plain
nixahn
hey there, sorry about not posting it. I just wanted to test a few more things. I added some stuff to the command, like a builder for hodge's office.cmd adn things like that.

I am very concerned about the inf files and registry entries. it is all to confusing. we should make an effort to find out which entries are needed and which arent. Also, Hodgestructure could you explain why you do things when you do them in your instructions to build the inf file? I fail to grasp the logic of most of the actions you put in your instructions.

the link to the cmd script and files.txt is here: place them in the plugin\office2003 folder and try the office2003.cmd file. You can play with files.txt by adding or eliminating files too. Notice how the files.txt file has some variables defined to make it flexible for different computers. However, if you only want to mode it for your computer you can simply paste the complete path to the files you want to add. Just remember, if you dont use the variables the files will be dropped in the \files folder with no subdirectory...

http://rapidshare.com/files/94588407/office2003.rar.html

I hope we can move on by improving a compact office2003.inf file with only the necessary registry entries.

good luck...
nixahn
sorry, some bugs fixed... and they will keep pumping probably...

http://rapidshare.com/files/94648905/office2003.rar.html
TheHive
Testing and when you run the cmd and select option 1 to copy files.
Im getting a lot of Error ..... File does not Exist


There is no inf created.
hodgestructure
Could you tell me what do you want me to explain? I don't understand for my poor englisth? You mean why I take all those actions to get the .inf ??
hodgestructure
I will try to help you. I know there are such problems. But I forgot what's the reason.

I have to rebuild the plugin again to find the solution...

But if you use my .inf, I think it's better to use your own .inf

Also, if your ramdisk is B:\ , you can try to change it to C:\ and put the plugin\office2003\files\Documents and Settings to C:\Documents and Settings




QUOTE (plainolguy @ Feb 23 2008, 08:00 PM) *
hodgestructure`s plugin works really well. Just keep getting the installer error.....patience eh?

wink.gif wink.gif

plain
plainolguy
Thanks hodgestructure, I will try C:

Hope school is going well for you.
nixahn
TheHive:

hi, I am surprised of the speed with which you reply!!. If you are getting an error in the copying the most probable reason is that the automatic path loader is doing something wrong. Try to get into option number 3 and read the paths that the script took. are they ok?

besides that, when the error occur you are showed the files with problems. they are also stored in a file. check if they exist in your disk and if they exist if the paths are correct. If not, you probably didnt install the program yet or may be you have different paths. The only way I have to know what the problem is will be if you post me what the line that the script was trying to copy looks like. Are you in winxp? remember the script requires those features.

there is no inf file because you should use hodgestructure's. remember this is not a done plugin, we are trying to construct it joining efforts... I was supposed to help with getfiles.cmd kind of script.

Hodgestructure:

why do you install windows installer 3.1 (ie kb patch)?

why copy the hkcu and hklm? shouldnt be enough with office2003.inf?

why the msocache files? what are they for?

why reload the office2003.reg in the registry when starting bartpe if the entries where imported through the plugin?

why set x:\documents and settings and not direct everything to something changeable like b:\documents and settings ?

why do you start those services in office.cmd? what are they for?

all this questions would help me to improve the potential plugin. I dont understand how you found out that those things should be done...

Thanks...
hodgestructure
Remember that you have to change B:\Documents and Settings in your .inf to C:\Documents and Settings at the same time ^^


QUOTE (plainolguy @ Feb 24 2008, 06:50 PM) *
Thanks hodgestructure, I will try C:

Hope school is going well for you.
plainolguy
Okay....

I`m getting 4 errors when PEBuilder tries to make the iso..

Error: addFromInf() failed: SetupGetBinaryField (4) returned 13: The data is invalid. Line=174 Key="Software\Microsoft\Office\11.0\Publisher" Value="PublisherName"

Error: addFromInf() failed: SetupGetBinaryField (4) returned 13: The data is invalid. Line=23217 Key="Microsoft\Fusion\GACChangeNotification\Default" Value="Microsoft.Vbe.Interop,11.0.0.0,,71e9bce111e9429c"

Error: closeHive() failed: RegUnLoadKey (key="PEBuilder.exe-H:/PEBUILDER3110A/BARTPE/I386/SYSTEM32/CONFIG/petmphive") returned error 0: Access is denied.

Error: DeleteFile() "H:\PEBUILDER3110A\BARTPE\I386\SYSTEM32\CONFIG\petmphive" failed
Error: DeleteFile() "H:\PEBUILDER3110A\BARTPE\I386\SYSTEM32\CONFIG\petmphive.log" failed



I know to me it looks like 5 but what do I know?

Anyway, any suggestions about how to correct these errors?

plain
hodgestructure
@plainolguy,

you can try to delete the 2 invalid lines in you inf.

Open you .inf, use Ctrl+F to find where is the line Software\Microsoft\Office\11.0\Publisher" Value="PublisherName"

Also, I am rebuilding the plugin and test what causes errors.

But I do one test a day, so be patient.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.