Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
howtos:messagecapture [2007/05/27 13:30] – Vista-compatible pfidiag.zip is bigger than previous version xueshenghowtos:messagecapture [2010/08/04 20:46] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== POPFile Message Capture utility ====== ====== POPFile Message Capture utility ======
 ==== (msgcapture.exe/pfimsgcapture.exe) ==== ==== (msgcapture.exe/pfimsgcapture.exe) ====
 +
 +
  
 ===== Introduction ===== ===== Introduction =====
Line 8: Line 10:
 The POPFile Message Capture Utility has been created to make it easy to capture all of the console messages output by POPFile. Instead of showing the console window used by POPFile, the utility hides the console window and displays the messages in a scrollable window. The contents of this scrollable window can be copied to the clipboard (using the right-click menu) and then saved in a text file. The POPFile Message Capture Utility has been created to make it easy to capture all of the console messages output by POPFile. Instead of showing the console window used by POPFile, the utility hides the console window and displays the messages in a scrollable window. The contents of this scrollable window can be copied to the clipboard (using the right-click menu) and then saved in a text file.
  
-The Windows version of POPFile 0.22.0 (or later) installs this utility in the POPFile program folder. The installer does does not create a Start Menu shortcut for this utility because it is intended for use by the "Run POPFile" shortcut (runpopfile.exe) or as a debugging aid.+ 
 + 
 + 
 + 
 +===== Start Menu shortcut (0.22.5 or later) ===== 
 + 
 +The 0.22.5 (or later) installer creates a Start Menu shortcut for this utility: 
 + 
 +Start -> All Programs -> POPFile -> Support -> Message Capture Utility 
 + 
 +This shortcut can be used to start POPFile instead of the normal method. (If POPFile is already running, please shut it down before using this shortcut.) 
 + 
 +This shortcut is intended for occasional use. If more frequent use is required it is easy to configure POPFile to use this utility whenever console mode is selected via the CONFIGURATION page in the UI. See "Using the utility instead of the console window or DOS-box" below for instructions. 
 + 
 +Although the installers for POPFile 0.22.0, 0.22.1, 0.22.2, 0.22.3 and 0.22.4 install this utility in the POPFile program folder they do not create a Start Menu shortcut for this utility because some versions of Windows require special preparation before the utility can be usedThe 0.22.5 installer was the first installer to incorporate this extra code. 
  
 ===== Using the utility instead of the console window or DOS-box ===== ===== Using the utility instead of the console window or DOS-box =====
  
-If required, the Windows version of POPFile 0.22.0 (or later) can be made to run this utility whenever 'console mode' is selected. This utility will run POPFile using either 'popfilef.exe' or 'popfileif.exe' depending upon the current system tray icon setting in 'popfile.cfg'.+If required, the Windows version of POPFile 0.22.0 (or later) can be made to run this utility whenever 'console mode' is selected. This utility will run POPFile using either 'popfilef.exe' or 'popfileif.exe' depending upon the current system tray icon setting in the POPFile configuration file ('popfile.cfg').
  
 This means the POPFile UI can be used to enable/disable this utility by changing the "Run POPFile in a console window?" setting on the Configuration page or by changing the 'windows_console' setting on the Advanced page (1 = enable, 0 = disable). This means the POPFile UI can be used to enable/disable this utility by changing the "Run POPFile in a console window?" setting on the Configuration page or by changing the 'windows_console' setting on the Advanced page (1 = enable, 0 = disable).
Line 21: Line 38:
  
 Although this utility was created for the POPFile 0.22.0 installer, it will work with POPFile 0.20.x and 0.21.x if they were installed using the Windows installer (in some cases a small batch file will be required, see below). Although this utility was created for the POPFile 0.22.0 installer, it will work with POPFile 0.20.x and 0.21.x if they were installed using the Windows installer (in some cases a small batch file will be required, see below).
 +
 +
  
 ===== Debugging Aid ===== ===== Debugging Aid =====
  
-By default POPFile does not display the console messages. To help diagnose problems where POPFile does not appear to start up properly, the utility can be used to temporarily override the current configuration and display the console messages. Simply run the msgcapture.exe program to start POPFile (instead of the normal method).+By default POPFile does not display the console messages. To help diagnose problems where POPFile does not appear to start up properly, the utility can be used to temporarily override the current configuration and display the console messages.
  
-If you are using Windows 9x you will need to use a batch file to run the utility (see the next section) instead of just running msgcapture.exe.+Starting with the 0.22.5 release the installer creates a Start Menu shortcut for the utility: 
 + 
 +Start -> Programs -> POPFile -> Support -> Message Capture utility 
 + 
 +(this shortcut will work on Windows 9x as well as on more modern versions of Windows) 
 + 
 +If you prefer you can run the utility (msgcapture.exe) manually to start POPFile (instead of the normal method) but if you are using Windows 9x you will need to use a batch file to run the utility (see the next section) instead of just running msgcapture.exe.
  
 The Message Capture utility will perform some simple validity checks, start POPFile and display the console messages which are normally hidden. If POPFile detects a problem it sometimes shuts itself down after showing some error messages. The Message Capture utility will perform some simple validity checks, start POPFile and display the console messages which are normally hidden. If POPFile detects a problem it sometimes shuts itself down after showing some error messages.
 +
  
  
 ===== Windows 9x systems ===== ===== Windows 9x systems =====
 +
 +The installer for POPFile 0.22.5 (or later) creates a Start Menu shortcut for the Message Capture utility which works on Windows 9x systems.
 +
 +For POPFile 0.22.4 (or earlier) a batch file is required to run the Message Capture utility on Windows 9x systems. Some installers create a suitable batch file (''pfi-run.bat'').
  
 The POPFILE_ROOT and POPFILE_USER environment variables are used to find the POPFile program files and the user's POPFile configuration file. The POPFILE_ROOT and POPFILE_USER environment variables are used to find the POPFile program files and the user's POPFile configuration file.
Line 39: Line 69:
 Recent Windows installers create a suitable batch file ('pfi-run.bat') in the 'User Data' folder. By default this batch file will use the Message Capture utility to run POPFile. Recent Windows installers create a suitable batch file ('pfi-run.bat') in the 'User Data' folder. By default this batch file will use the Message Capture utility to run POPFile.
  
-If you are using an old version of POPFile then you will have to create your own batch file. For example, on a system which has POPFile 0.20.0 installed in the default location on drive C (C:\Program Files\POPFile) the following batch file can be used:+If you are using an old version of POPFile then you will have to create your own batch file. For example, on a system which has POPFile 0.20.0 installed in the default location on drive C (''C:\Program Files\POPFile'') the following batch file can be used:
  
 <code> <code>
Line 79: Line 109:
 Start -> Programs -> POPFile -> Support -> PFI Diagnostic utility (simple) Start -> Programs -> POPFile -> Support -> PFI Diagnostic utility (simple)
  
-This shortcut is created by the Windows installer for POPFile 0.22.0 or later. The diagnostic utility can also be downloaded separately [[http://www.sugelan.co.uk/popfile/download/test/pfidiag.zip| (42 KB zip file)]]+This shortcut is created by the Windows installer for POPFile 0.22.0 or later. The diagnostic utility can also be downloaded separately [[http://www.sugelan.co.uk/popfile/download/test/pfidiag.zip| (62 KB zip file)]]
  
 
howtos/messagecapture.1180272602.txt.gz · Last modified: 2008/02/08 19:49 (external edit)
Old revisions

Should you find anything in the documentation that is incomplete, unclear, outdated or just plain wrong, please let us know and leave a note in the Documentation Forum.

Recent changes RSS feed Donate Driven by DokuWiki
The content of this wiki is protected by the GNU Fee Documentation License