This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: retrieve TITLE field from a file
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Dec 26, 2007
09:50 AM
retrieve TITLE field from a file
hey there.
how do I retrieve the TITLE field from a file? you know, when you right-click a file, there is a summary tab. within, there are some fields. How do I get these in installScript (not MSI project)?
Thanks
Guy.
how do I retrieve the TITLE field from a file? you know, when you right-click a file, there is a summary tab. within, there are some fields. How do I get these in installScript (not MSI project)?
Thanks
Guy.
(4) Replies
‎Dec 26, 2007
10:01 AM
It depends on the file. Some files store the properties in the document's default stream and some files create additional SummaryInformation streams to store the data.
I've never worked on a comprehensive/full-proof method so I can't give you an exact answer.
I've never worked on a comprehensive/full-proof method so I can't give you an exact answer.
‎Dec 28, 2007
04:52 PM
Thanks.
I need the title field from the summary tab, within the summary information of a file. this field is available for every file, so I guess that it's part of the NTFS.
is there a way to extract this information (or any other piece of information) from the summary information?
thanks!
I need the title field from the summary tab, within the summary information of a file. this field is available for every file, so I guess that it's part of the NTFS.
is there a way to extract this information (or any other piece of information) from the summary information?
thanks!
‎Dec 28, 2007
05:18 PM
I'm not aware of a simple way; I gather the COM structured storage API functions, such as StgOpenStorageEx, will do this... (MSI files have a specific API to get this data, but I don't think those functions work on arbitrary files.)
‎Dec 31, 2007
03:05 PM
I'm not sure if this would help you or not - You can access extended file properties using Microsoft's dsofile.dll http://www.microsoft.com/technet/scriptcenter/resources/tales/sg0305.mspx
Additionally, it appears that there is a way to access certain properties using vb script: http://www.microsoft.com/technet/scriptcenter/guide/sas_fil_lunl.mspx?mfr=true
Additionally, it appears that there is a way to access certain properties using vb script: http://www.microsoft.com/technet/scriptcenter/guide/sas_fil_lunl.mspx?mfr=true