📄 jwamsidefs.pas
字号:
{******************************************************************************}
{ }
{ Windows Installer API interface Unit for Object Pascal }
{ }
{ Portions created by Microsoft are Copyright (C) 1995-2001 Microsoft }
{ Corporation. All Rights Reserved. }
{ }
{ The original file is: msidefs.h, released June 2000. The original Pascal }
{ code is: MsiDefs.pas, released June 2001. The initial developer of the }
{ Pascal code is Marcel van Brakel (brakelm@chello.nl). }
{ }
{ Portions created by Marcel van Brakel are Copyright (C) 1999-2001 }
{ Marcel van Brakel. All Rights Reserved. }
{ }
{ Obtained through: Joint Endeavour of Delphi Innovators (Project JEDI) }
{ }
{ You may retrieve the latest version of this file at the Project JEDI home }
{ page, located at http://delphi-jedi.org or my personal homepage located at }
{ http://members.chello.nl/m.vanbrakel2 }
{ }
{ The contents of this file are used with permission, subject to the Mozilla }
{ Public License Version 1.1 (the "License"); you may not use this file except }
{ in compliance with the License. You may obtain a copy of the License at }
{ http://www.mozilla.org/MPL/MPL-1.1.html }
{ }
{ Software distributed under the License is distributed on an "AS IS" basis, }
{ WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for }
{ the specific language governing rights and limitations under the License. }
{ }
{ Alternatively, the contents of this file may be used under the terms of the }
{ GNU Lesser General Public License (the "LGPL License"), in which case the }
{ provisions of the LGPL License are applicable instead of those above. }
{ If you wish to allow use of your version of this file only under the terms }
{ of the LGPL License and not to allow others to use your version of this file }
{ under the MPL, indicate your decision by deleting the provisions above and }
{ replace them with the notice and other provisions required by the LGPL }
{ License. If you do not delete the provisions above, a recipient may use }
{ your version of this file under either the MPL or the LGPL License. }
{ }
{ For more information about the LGPL: http://www.gnu.org/copyleft/lesser.html }
{ }
{******************************************************************************}
unit JwaMsiDefs;
{$WEAKPACKAGEUNIT}
{$HPPEMIT ''}
{$HPPEMIT '#include "msidefs.h"'}
{$HPPEMIT ''}
{$I WINDEFINES.INC}
interface
uses
JwaWinType;
//------------------------------------------------------------------------------
// INSTALLER PROPERTY DEFINITIONS
//------------------------------------------------------------------------------
const
// Required properties: set in Property table
IPROPNAME_PRODUCTNAME = TEXT('ProductName'); // name registered for display
{$EXTERNALSYM IPROPNAME_PRODUCTNAME}
IPROPNAME_PRODUCTCODE = TEXT('ProductCode'); // unique string GUID for product
{$EXTERNALSYM IPROPNAME_PRODUCTCODE}
IPROPNAME_PRODUCTVERSION = TEXT('ProductVersion'); // string product version
{$EXTERNALSYM IPROPNAME_PRODUCTVERSION}
IPROPNAME_INSTALLLANGUAGE = TEXT('ProductLanguage'); // install language of product, use to load resources
{$EXTERNALSYM IPROPNAME_INSTALLLANGUAGE}
IPROPNAME_MANUFACTURER = TEXT('Manufacturer'); // name of manufacturer
{$EXTERNALSYM IPROPNAME_MANUFACTURER}
// Customization properties: set in Property table
IPROPNAME_UPGRADECODE = TEXT('UpgradeCode'); // unique string GUID for product family
{$EXTERNALSYM IPROPNAME_UPGRADECODE}
IPROPNAME_PIDTEMPLATE = TEXT('PIDTemplate'); // drives Product ID processing
{$EXTERNALSYM IPROPNAME_PIDTEMPLATE}
IPROPNAME_DISKPROMPT = TEXT('DiskPrompt'); // prompt for CD
{$EXTERNALSYM IPROPNAME_DISKPROMPT}
IPROPNAME_LEFTUNIT = TEXT('LeftUnit'); // name of unit placed to left of number instead of right
{$EXTERNALSYM IPROPNAME_LEFTUNIT}
IPROPNAME_ADMIN_PROPERTIES = TEXT('AdminProperties'); // properties to stuff in admin package
{$EXTERNALSYM IPROPNAME_ADMIN_PROPERTIES}
IPROPNAME_DEFAULTUIFONT = TEXT('DefaultUIFont'); // the font used in the UI if no other font is specified
{$EXTERNALSYM IPROPNAME_DEFAULTUIFONT}
IPROPNAME_ALLOWEDPROPERTIES = TEXT('SecureCustomProperties');
{$EXTERNALSYM IPROPNAME_ALLOWEDPROPERTIES}
IPROPNAME_ENABLEUSERCONTROL = TEXT('EnableUserControl'); // allows user to specify any public property
{$EXTERNALSYM IPROPNAME_ENABLEUSERCONTROL}
IPROPNAME_HIDDEN_PROPERTIES = TEXT('MsiHiddenProperties'); // properties that should not be dumped into the log file
{$EXTERNALSYM IPROPNAME_HIDDEN_PROPERTIES}
// Customization properties: set on command-line or in Property table
IPROPNAME_USERNAME = TEXT('USERNAME');
{$EXTERNALSYM IPROPNAME_USERNAME}
IPROPNAME_COMPANYNAME = TEXT('COMPANYNAME');
{$EXTERNALSYM IPROPNAME_COMPANYNAME}
IPROPNAME_PIDKEY = TEXT('PIDKEY'); // used with PIDTemplate to form ProductID
{$EXTERNALSYM IPROPNAME_PIDKEY}
IPROPNAME_PATCH = TEXT('PATCH'); // patch package to apply - SET BY INSTALLER
{$EXTERNALSYM IPROPNAME_PATCH}
IPROPNAME_TARGETDIR = TEXT('TARGETDIR'); // target location - defaults to ROOTDRIVE
{$EXTERNALSYM IPROPNAME_TARGETDIR}
IPROPNAME_ACTION = TEXT('ACTION'); // top-level action to perform - default to INSTALL
{$EXTERNALSYM IPROPNAME_ACTION}
IPROPNAME_LIMITUI = TEXT('LIMITUI'); // limit ui level to Basic
{$EXTERNALSYM IPROPNAME_LIMITUI}
IPROPNAME_LOGACTION = TEXT('LOGACTION'); // log only these actions
{$EXTERNALSYM IPROPNAME_LOGACTION}
IPROPNAME_ALLUSERS = TEXT('ALLUSERS'); // install for all users
{$EXTERNALSYM IPROPNAME_ALLUSERS}
IPROPNAME_INSTALLLEVEL = TEXT('INSTALLLEVEL');
{$EXTERNALSYM IPROPNAME_INSTALLLEVEL}
IPROPNAME_REBOOT = TEXT('REBOOT'); // force or suppress reboot
{$EXTERNALSYM IPROPNAME_REBOOT}
IPROPNAME_REBOOTPROMPT = TEXT('REBOOTPROMPT'); // allow or suppress reboot prompt
{$EXTERNALSYM IPROPNAME_REBOOTPROMPT}
IPROPNAME_EXECUTEMODE = TEXT('EXECUTEMODE'); // NONE or SCRIPT
{$EXTERNALSYM IPROPNAME_EXECUTEMODE}
IPROPVALUE_EXECUTEMODE_NONE = TEXT('NONE'); // do not update system
{$EXTERNALSYM IPROPVALUE_EXECUTEMODE_NONE}
IPROPVALUE_EXECUTEMODE_SCRIPT = TEXT('SCRIPT'); // default - run script to update system
{$EXTERNALSYM IPROPVALUE_EXECUTEMODE_SCRIPT}
IPROPNAME_EXECUTEACTION = TEXT('EXECUTEACTION'); // run action on server side
{$EXTERNALSYM IPROPNAME_EXECUTEACTION}
IPROPNAME_SOURCELIST = TEXT('SOURCELIST');
{$EXTERNALSYM IPROPNAME_SOURCELIST}
IPROPNAME_ROOTDRIVE = TEXT('ROOTDRIVE'); // default drive to install - SET BY INSTALLER
{$EXTERNALSYM IPROPNAME_ROOTDRIVE}
IPROPNAME_TRANSFORMS = TEXT('TRANSFORMS'); // transforms to apply
{$EXTERNALSYM IPROPNAME_TRANSFORMS}
IPROPNAME_TRANSFORMSATSOURCE = TEXT('TRANSFORMSATSOURCE'); // transforms can be found at source
{$EXTERNALSYM IPROPNAME_TRANSFORMSATSOURCE}
IPROPNAME_TRANSFORMSSECURE = TEXT('TRANSFORMSSECURE'); // file transforms are secured
{$EXTERNALSYM IPROPNAME_TRANSFORMSSECURE}
IPROPNAME_SEQUENCE = TEXT('SEQUENCE'); // sequence table to run with SEQUENCE action
{$EXTERNALSYM IPROPNAME_SEQUENCE}
IPROPNAME_SHORTFILENAMES = TEXT('SHORTFILENAMES'); // force short file names
{$EXTERNALSYM IPROPNAME_SHORTFILENAMES}
IPROPNAME_PRIMARYFOLDER = TEXT('PRIMARYFOLDER'); // Folder on the volume the author wants costing info for
{$EXTERNALSYM IPROPNAME_PRIMARYFOLDER}
IPROPNAME_AFTERREBOOT = TEXT('AFTERREBOOT'); // install is after a ForceReboot triggered reboot
{$EXTERNALSYM IPROPNAME_AFTERREBOOT}
IPROPNAME_NOCOMPANYNAME = TEXT('NOCOMPANYNAME');
{$EXTERNALSYM IPROPNAME_NOCOMPANYNAME}
IPROPNAME_NOUSERNAME = TEXT('NOUSERNAME');
{$EXTERNALSYM IPROPNAME_NOUSERNAME}
IPROPNAME_DISABLEROLLBACK = TEXT('DISABLEROLLBACK'); // disable rollback for this install
{$EXTERNALSYM IPROPNAME_DISABLEROLLBACK}
IPROPNAME_AVAILABLEFREEREG = TEXT('AVAILABLEFREEREG'); // set up the free space in the registry before commencing the install
{$EXTERNALSYM IPROPNAME_AVAILABLEFREEREG}
IPROPNAME_DISABLEADVTSHORTCUTS = TEXT('DISABLEADVTSHORTCUTS'); // disable creating darwin shortcuts even if supported
{$EXTERNALSYM IPROPNAME_DISABLEADVTSHORTCUTS}
IPROPNAME_PATCHNEWPACKAGECODE = TEXT('PATCHNEWPACKAGECODE'); // added to property table by patch transforms - used to update
{$EXTERNALSYM IPROPNAME_PATCHNEWPACKAGECODE}
// PackageCode of admin packages when patching admin installs
IPROPNAME_PATCHNEWSUMMARYSUBJECT = TEXT('PATCHNEWSUMMARYSUBJECT'); // added to property table by patch transforms - used to update
{$EXTERNALSYM IPROPNAME_PATCHNEWSUMMARYSUBJECT}
// Subject summary info property of admin packages when patching admin installs
IPROPNAME_PATCHNEWSUMMARYCOMMENTS = TEXT('PATCHNEWSUMMARYCOMMENTS'); // added to property table by patch transforms - used to update
{$EXTERNALSYM IPROPNAME_PATCHNEWSUMMARYCOMMENTS}
// Comments summary info property of admin packages when patching admin installs
IPROPNAME_PRODUCTLANGUAGE = TEXT('PRODUCTLANGUAGE'); // requested language, must be one in summary information list, selects language transform
{$EXTERNALSYM IPROPNAME_PRODUCTLANGUAGE}
IPROPNAME_CHECKCRCS = TEXT('MSICHECKCRCS'); // requests Darwin to check CRCs after copying, moving, patching & duplicating files.
{$EXTERNALSYM IPROPNAME_CHECKCRCS}
IPROPNAME_MSINODISABLEMEDIA = TEXT('MSINODISABLEMEDIA'); // if set, DISABLEMEDIA won't be set in the AdminProperties stream during an admin install of
{$EXTERNALSYM IPROPNAME_MSINODISABLEMEDIA} // a package with compressed source
// property used for URT bootstrapping
IPROPNAME_CARRYINGNDP = TEXT('CARRYINGNDP');
{$EXTERNALSYM IPROPNAME_CARRYINGNDP}
IPROPVALUE__CARRYINGNDP_URTREINSTALL = TEXT('URTREINSTALL'); // reinstalling/ uninstalling core URT files
{$EXTERNALSYM IPROPVALUE__CARRYINGNDP_URTREINSTALL}
IPROPVALUE__CARRYINGNDP_URTUPGRADE = TEXT('URTUPGRADE'); // upgrading core URT files
{$EXTERNALSYM IPROPVALUE__CARRYINGNDP_URTUPGRADE}
// property used for multiple instance support
IPROPNAME_MSINEWINSTANCE = TEXT('MSINEWINSTANCE');
{$EXTERNALSYM IPROPNAME_MSINEWINSTANCE}
IPROPNAME_MSIINSTANCEGUID = TEXT('MSIINSTANCEGUID');
{$EXTERNALSYM IPROPNAME_MSIINSTANCEGUID}
// Properties used to populate Add/Remove Control Panel values
IPROPNAME_ARPAUTHORIZEDCDFPREFIX = TEXT('ARPAUTHORIZEDCDFPREFIX');
{$EXTERNALSYM IPROPNAME_ARPAUTHORIZEDCDFPREFIX}
IPROPNAME_ARPCOMMENTS = TEXT('ARPCOMMENTS');
{$EXTERNALSYM IPROPNAME_ARPCOMMENTS}
IPROPNAME_ARPCONTACT = TEXT('ARPCONTACT');
{$EXTERNALSYM IPROPNAME_ARPCONTACT}
IPROPNAME_ARPHELPLINK = TEXT('ARPHELPLINK');
{$EXTERNALSYM IPROPNAME_ARPHELPLINK}
IPROPNAME_ARPHELPTELEPHONE = TEXT('ARPHELPTELEPHONE');
{$EXTERNALSYM IPROPNAME_ARPHELPTELEPHONE}
IPROPNAME_ARPINSTALLLOCATION = TEXT('ARPINSTALLLOCATION');
{$EXTERNALSYM IPROPNAME_ARPINSTALLLOCATION}
IPROPNAME_ARPNOMODIFY = TEXT('ARPNOMODIFY');
{$EXTERNALSYM IPROPNAME_ARPNOMODIFY}
IPROPNAME_ARPNOREMOVE = TEXT('ARPNOREMOVE');
{$EXTERNALSYM IPROPNAME_ARPNOREMOVE}
IPROPNAME_ARPNOREPAIR = TEXT('ARPNOREPAIR');
{$EXTERNALSYM IPROPNAME_ARPNOREPAIR}
IPROPNAME_ARPREADME = TEXT('ARPREADME');
{$EXTERNALSYM IPROPNAME_ARPREADME}
IPROPNAME_ARPSIZE = TEXT('ARPSIZE');
{$EXTERNALSYM IPROPNAME_ARPSIZE}
IPROPNAME_ARPSYSTEMCOMPONENT = TEXT('ARPSYSTEMCOMPONENT');
{$EXTERNALSYM IPROPNAME_ARPSYSTEMCOMPONENT}
IPROPNAME_ARPURLINFOABOUT = TEXT('ARPURLINFOABOUT');
{$EXTERNALSYM IPROPNAME_ARPURLINFOABOUT}
IPROPNAME_ARPURLUPDATEINFO = TEXT('ARPURLUPDATEINFO');
{$EXTERNALSYM IPROPNAME_ARPURLUPDATEINFO}
IPROPNAME_ARPPRODUCTICON = TEXT('ARPPRODUCTICON');
{$EXTERNALSYM IPROPNAME_ARPPRODUCTICON}
// Dynamic properties set by installer during install
IPROPNAME_INSTALLED = TEXT('Installed'); // product already installed
{$EXTERNALSYM IPROPNAME_INSTALLED}
IPROPNAME_PRODUCTSTATE = TEXT('ProductState'); // state of product (installed,advertised,etc...)
{$EXTERNALSYM IPROPNAME_PRODUCTSTATE}
IPROPNAME_PRESELECTED = TEXT('Preselected'); // selections made on command line
{$EXTERNALSYM IPROPNAME_PRESELECTED}
IPROPNAME_RESUME = TEXT('RESUME'); // resuming suspended install
{$EXTERNALSYM IPROPNAME_RESUME}
IPROPNAME_UPDATESTARTED = TEXT('UpdateStarted'); // have begun to update system
{$EXTERNALSYM IPROPNAME_UPDATESTARTED}
IPROPNAME_PRODUCTID = TEXT('ProductID'); // the complete validated Product ID
{$EXTERNALSYM IPROPNAME_PRODUCTID}
IPROPNAME_OUTOFDISKSPACE = TEXT('OutOfDiskSpace');
{$EXTERNALSYM IPROPNAME_OUTOFDISKSPACE}
IPROPNAME_OUTOFNORBDISKSPACE = TEXT('OutOfNoRbDiskSpace');
{$EXTERNALSYM IPROPNAME_OUTOFNORBDISKSPACE}
IPROPNAME_COSTINGCOMPLETE = TEXT('CostingComplete');
{$EXTERNALSYM IPROPNAME_COSTINGCOMPLETE}
IPROPNAME_SOURCEDIR = TEXT('SourceDir'); // source location - SET BY INSTALLER
{$EXTERNALSYM IPROPNAME_SOURCEDIR}
IPROPNAME_REPLACEDINUSEFILES = TEXT('ReplacedInUseFiles'); // need reboot to completely install one or more files
{$EXTERNALSYM IPROPNAME_REPLACEDINUSEFILES}
IPROPNAME_PRIMARYFOLDER_PATH = TEXT('PrimaryVolumePath');
{$EXTERNALSYM IPROPNAME_PRIMARYFOLDER_PATH}
IPROPNAME_PRIMARYFOLDER_SPACEAVAILABLE = TEXT('PrimaryVolumeSpaceAvailable');
{$EXTERNALSYM IPROPNAME_PRIMARYFOLDER_SPACEAVAILABLE}
IPROPNAME_PRIMARYFOLDER_SPACEREQUIRED = TEXT('PrimaryVolumeSpaceRequired');
{$EXTERNALSYM IPROPNAME_PRIMARYFOLDER_SPACEREQUIRED}
IPROPNAME_PRIMARYFOLDER_SPACEREMAINING = TEXT('PrimaryVolumeSpaceRemaining');
{$EXTERNALSYM IPROPNAME_PRIMARYFOLDER_SPACEREMAINING}
IPROPNAME_ISADMINPACKAGE = TEXT('IsAdminPackage');
{$EXTERNALSYM IPROPNAME_ISADMINPACKAGE}
IPROPNAME_ROLLBACKDISABLED = TEXT('RollbackDisabled');
{$EXTERNALSYM IPROPNAME_ROLLBACKDISABLED}
IPROPNAME_RESTRICTEDUSERCONTROL = TEXT('RestrictedUserControl');
{$EXTERNALSYM IPROPNAME_RESTRICTEDUSERCONTROL}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -