Command line
Command-line switches
PSTViewer Pro installation files support all msiexec command-line options. For importing profiles via the command line, please see Profile deployment topic.
msiexec /Option <Required Parameter> [Optional Parameter] Install Options
</package | /i> <Product.msi> Installs or configures a product
/a <Product.msi>
Administrative install - Installs a product on the network.
/j<u|m> <Product.msi> [/t <Transform List>] [/g <Language ID>] Advertises a product - m to all users, u to current user
</uninstall | /x> <Product.msi | ProductCode>
Uninstalls the product Display Options
/quiet
Quiet mode, no user interaction
/passive
Unattended mode - progress bar only
/q[n|b|r|f]
Sets user interface level n - No UI
b - Basic UI
r - Reduced UI
f - Full UI (default)
/help
Help information Restart Options
/norestart
Do not restart after the installation is complete.
/promptrestart
Prompts the user for restart if necessary
/forcerestart
Always restart the computer after installation Logging Options
/l[i|w|e|a|r|u|c|m|o|p|v|x|+|!|*] <LogFile> i - Status messages
w - Nonfatal warnings e - All error messages a - Start up of actions
r - Action-specific records u - User requests
c - Initial UI parameters
m - Out-of-memory or fatal exit information o - Out-of-disk-space messages
p - Terminal properties v - Verbose output
x - Extra debugging information
+ - Append to the existing log file
! - Flush each line to the log
* - Log all information, except for v and x options
/log <LogFile>
Equivalent of /l* <LogFile> Update Options
/update <Update1.msp>[;Update2.msp] Applies update(s)
/uninstall <PatchCodeGuid>[;Update2.msp] /package <Product.msi | ProductCode> Remove update(s) for a product
Repair Options
/f[p|e|c|m|s|o|d|a|u|v] <Product.msi | ProductCode>
Repairs a product
p - only if the file is missing
o - if a file is missing or an older version is installed (default) e - if a file is missing or an equal or older version is installed d - if a file is missing or a different version is installed
c - if a file is missing or checksum does not match the calculated value a - forces all files to be reinstalled
u - all required user-specific registry entries (default)
m - All required computer-specific registry entries (default) s - all existing shortcuts (default)
v - runs from source and recaches local package Setting Public Properties
[PROPERTY=PropertyValue]
Command-line parameters
The Command-line interface of PSTViewer Pro can be accessed via the PSTViewerConsole.exe file, located in the same directory as PSTViewer.exe.
Usage: PSTViewerConsole.exe [options] [<file1> [<file2> ...]]
Options description:
h, help
Show usage description.
Usage: PSTViewerConsole.exe --help
a, associate
Associate specified file extensions with the application.
Usage: PSTViewerConsole.exe --associate <format[s]>
p, print
Print specified message to default or specified printer. Usage: PSTViewerConsole.exe --print <file[s]>
e, export
Export messages with a predefined profile.
Usage: PSTViewerConsole.exe --export <profile> <file[s]>
Example:
"C:\Program Files\Encryptomatic, LLC\PSTViewer Pro\PSTViewerConsole.exe" --e "PDF - attachments converted/included" "C:\your_file.msg"
"C:\Program Files\Encryptomatic, LLC\PSTViewer Pro\PSTViewerConsole.exe" --e "PDF - attachments converted/included" "C:\your_folder_with_messages"
Customize export for PST/OST.
To specify extended format please add the next fields to the end of path:
{1} {2} | {3}
where:
{1} = :: [begin extended command]
{2} = <internal path inside PST/OST file> [for example: \Indox\John Doe] | [delimeter]
{3} = T or F [T - export with subfolders (recursively), F - export without subfolders] All parts are mandatory if :: is specified after file path.
Example:
Export Inbox folder from pst file (without subfolders):
"C:\Program Files\Encryptomatic, LLC\PSTViewer Pro\PSTViewerConsole.exe" --e "PDF - attachments converted/included" "C:\your_psf_file.pst::\Inbox|F"
Export Inbox\NewFolder folder from pst file with subfolders:
"C:\Program Files\Encryptomatic, LLC\PSTViewer Pro\PSTViewerConsole.exe" --e "PDF - attachments converted/included" "C:\your_psf_file.pst::\Inbox
\NewFolder|T"
c, command
Load command-line switches from the specified file.
Usage: PSTViewerConsole.exe --command <file>
w, nobrowse
Disable messages loading at startup.
Usage: PSTViewerConsole.exe --nobrowse
r, runprofile
Choose the profile with GUI layout.
Usage: PSTViewerConsole.exe --runprofile <profile name>
l, log
Turn on the log file.
Usage: PSTViewerConsole.exe --log <file>
i, printer
Specify default printer.
Usage: PSTViewerConsole.exe --printer <name>
k, key
Register the application with a specified serial key for the current user. Key will be applied during the next start of the application.
Usage: PSTViewerConsole.exe --key <serial key>
m, mkey
Register the application with a specified master key for the local machine. Key will be applied during the start of the unregistered application. Administrative privileges are required for this command.
Usage: PSTViewerConsole.exe --mkey <serial key>
delkey
Erase serial key for the current user.
Usage: PSTViewerConsole.exe --delkey
delmkey
Erase master key for the local machine. It will not influence already registered copies, but for new users, the application will be unregistered.
Usage: PSTViewerConsole.exe --delmkey
g, gui or GUIFLAGS
Configure visibility of GUI elements. Usage:
PSTViewerConsole.exe --gui <element1,element2[,...]> or
PSTViewer.Setup.exe GUIFLAGS="<element1,element2[,...]>
PSTViewer GUI elements:
- MLP - Mail List Panel
- FEP - File Explorer Panel
- FTP - Favorites Tree Panel
- FMP - Filter Mail Panel
- MMP - Main menu panel
- SCH - Search elements
- NUP - Remove 'Check for updates' and 'Update settings' options from the Help
Toolbar buttons:
- OPF - Open file
- REP - Reply message
- FWD - Forward messages
- PRN - Print messages
- EXP - Export messages
UPDATE_POLICY
Choose update policy. It can be found in the Help menu.
Usage: UPDATE_POLICY="Never" | "Ask" | "Auto"
Options for update policy:
- Never - Set 'Do not check for updates automatically' options in 'Updates Options' dialog;
- Ask - Set 'Check and prompt me to download and install the updates' options in 'Updates Options' This option is set by default;
- Auto - Set 'Check and automatically download and install' options in 'Updates Options'
GUILANG
Set the language for PSTViewer Pro interface. Usage: GUILANG="<language>"
The list of languages that PSTViewer Pro supports:
- zh-CN
- zh-TW
- en-US
- fr-FR
- de-DE
- it-IT
- pl-PL
- pt-PT
- ru-RU
- Spanish.es-ES
/exelang
Set the language for installation process. Usage: /exelang <LangId>
The table with different <LangId> can be found here: http://msdn.microsoft.com/en-us/goglobal/bb964664.aspx
Example (to install French version):
PSTViewer.Setup.exe /exelang 1036
<file_extension>_ASSOC
Associate PSTViewer with msg, eml, pst or/and ost files. Usage:
- EML_ASSOC="1" - associate PSTViewer Pro with eml files;
- MSG_ASSOC="1" - associate PSTViewer Pro with msg files;
- PST_ASSOC="1" - associate PSTViewer Pro with pst files;
- OST_ASSOC="1" - associate PSTViewer Pro with ost files;
- ALL_ASSOC="1" - associate PSTViewer Pro with msg, eml, pst, and ost
Usage:
msiexec /i PSTViewer.Setup-8.x.x.xxxx.msi /qn PIDKEY="xxxxxxxx-xxxx-xxxx- xxxx-xxxxxxxx" GUILANG="French.fr-FR" GUIFLAGS="FWD,REP,FTP" ALL_ASSOC="1"
or
PSTViewer.Setup.exe /qn PST_ASSOC="1" MSG_ASSOC="1" GUIFLAGS="FWD,REP,FTP, NUP"
Consult the Windows ® Installer SDK for additional documentation on the command line syntax.