The following properties are available when a deployment project is selected in the Solution Explorer. The actual properties available at any given time are dependent on the project type.
Property
Description
AddRemoveProgramsIcon
Specifies an icon to be displayed in the Add/Remove Programs dialog box on the target computer. For more information, see AddRemoveProgramsIcon Property.
Author
Specifies the name of the author of an application or component. For more information, see Author Property.
Description
Specifies a free-form description for an installer. For more information, see Description Property (Deployment).
DetectNewerInstalledVersion
Specifies whether to check for newer versions of an application during installation. For more information, see DetectNewerInstalledVersion Property.
FriendlyName
Specifies the public name for a .cab file in a CAB project.
InstallAllUsers
Specifies whether an application will be installed for all users of a computer, or just for the current user. For more information, see InstallAllUsers Property.
Keywords
Specifies keywords used to search for an installer. For more information, see Keywords Property (Deployment).
Localization
Specifies the locale for string resources and the run-time user interface. For more information, see Localization Property.
Manufacturer
Specifies the name of the manufacturer of an application or component. For more information, see Manufacturer Property.
ManufacturerUrl
Specifies a URL for a Web site containing information about the manufacturer of an application or component. For more information, see ManufacturerUrl Property.
ModuleSignature
Specifies a unique identifier for a merge module. For more information, see ModuleSignature Property.
PostBuildEvent
Specifies a command line to be executed after the deployment project is built. For more information, see PostBuildEvent Property (Deployment).
PreBuildEvent
Specifies a command line to be executed before the deployment project is built. For more information, see PreBuildEvent Property (Deployment).
ProductCode
Specifies a unique identifier for an application. For more information, see ProductCode Property.
ProductName
Specifies a public name that describes an application or component. For more information, see ProductName Property.
RemovePreviousVersions
Specifies whether an installer will remove previous versions of an application during installation. For more information, see RemovePreviousVersions Property.
RestartWWWService
Specifies whether Internet Information Services will be stopped and restarted during installation. For more information, see RestartWWWService Property.
RunPostBuildEvent
Determines when to run the command line specified in the PostBuildEvent property. For more information, see RunPostBuildEvent Property (Deployment).
SearchPath
Specifies the path that is used to search for assemblies, files, or merge modules on the development computer. For more information, see SearchPath Property (Deployment).
Subject
Specifies additional information describing an application or component. For more information, see Subject Property.
SupportPhone
Specifies a phone number for support information for an application or component. For more information, see SupportPhone Property.
SupportUrl
Specifies a URL for a Web site containing support information for an application or component. For more information, see SupportUrl Property.
TargetPlatform
Specifies the platform that the packaged application or component is targeting. For more information, see TargetPlatform Property.
Title
Specifies the title of an installer. For more information, see Title Property.
UpgradeCode
Specifies a shared identifier that represents multiple versions of an application. For more information, see UpgradeCode Property.
Version
Specifies the version number of an installer, merge module, or .cab file. For more information, see Version Property (Deployment).
WebDependencies
Specifies dependencies for a selected CAB project. For more information, see WebDependencies Property (Cab Projects).
[出处:http://msdn.microsoft.com/en-us/library/seykw6dt(v=vs.80).aspx]
==================================================
这些变量在制作安装程序时,可能会用到。以“[Version]”方式即可在参数中使用变量。