Documentation ¶
Overview ¶
Package appattr describes the attributes of unpackaged (aka "Classic" or "Desktop") applications in Windows.
Index ¶
- Constants
- type List
- type Type
- type Value
- func AuthorizedCDFPrefix(data string) Value
- func Comments(data string) Value
- func Contact(data string) Value
- func DisplayIcon(data string) Value
- func DisplayName(data string) Value
- func DisplayVersion(data string) Value
- func EstimatedSize(kb uint32) Value
- func HelpLink(data string) Value
- func HelpTelephone(data string) Value
- func InstallDate(data string) Value
- func InstallLocation(data string) Value
- func InstallSource(data string) Value
- func Language(data string) Value
- func ModifyPath(data string) Value
- func Publisher(data string) Value
- func Readme(data string) Value
- func SettingsIdentifier(data string) Value
- func URLInfoAbout(data string) Value
- func URLUpdateInfo(data string) Value
- func UninstallString(data string) Value
- func Version(data uint32) Value
- func VersionMajor(data uint32) Value
- func VersionMinor(data uint32) Value
Constants ¶
const DateLayout = "20060102"
DateLayout can be used with Time.Format to format installation dates.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type List ¶
type List []Value
List is a list of application attributes.
type Type ¶
type Type uint32
Type identifies the type of an attribute.
When attributes are written to the registry, their type determines the type of registry value that will be written.
type Value ¶
Value is an application attribute that can be recorded in the Windows registry.
func AuthorizedCDFPrefix ¶
AuthorizedCDFPrefix returns an AuthorizedCDFPrefix attribute.
func DisplayIcon ¶
DisplayIcon returns an DisplayIcon attribute.
func DisplayVersion ¶
DisplayVersion returns a DisplayVersion attribute.
func EstimatedSize ¶
EstimatedSize returns an EstimatedSize attribute. The size is in KB.
func HelpTelephone ¶
HelpTelephone returns a HelpTelephone attribute.
func InstallDate ¶
InstallDate returns an InstallDate attribute.
func InstallLocation ¶
InstallLocation returns an InstallLocation attribute.
func InstallSource ¶
InstallSource returns an InstallSource attribute.
func SettingsIdentifier ¶
SettingsIdentifier returns an SettingsIdentifier attribute.
func URLInfoAbout ¶
URLInfoAbout returns a URLInfoAbout attribute.
func URLUpdateInfo ¶
URLUpdateInfo returns a URLUpdateInfo attribute.
func UninstallString ¶
UninstallString returns an UninstallString attribute.
func VersionMajor ¶
VersionMajor returns a VersionMajor attribute.
func VersionMinor ¶
VersionMinor returns a VersionMinor attribute.