FileName Property

Return the name of the file stored in the package.

Syntax

object.FileName [= value]

The FileName property syntax has the following parts:

Part Description
object An object expression that evaluates to a PackageFile object.
value A string which specifies the new name for the file.

Remarks

The FileName property returns the name of the file associated with the specified object. Changing this value will rename the file in the package and update the collection.

Note that the file name may contain relative path information, but should never specify an absolute path. To change the installation directory for the file, use the Directory property.

See Also

Checksum Property, Directory Property, Platform Property