How to introduce Describtion, Company, .... and other information?
Hello,
AbiWord use NSIS and I've seen that this distribution has the Describtion, Company, release, ... informations.
How can I set them?
Thanks
Fabrizio
Archive: How to introduce Describtion, Company, .... and other information?
How to introduce Describtion, Company, .... and other information?
Hello,
AbiWord use NSIS and I've seen that this distribution has the Describtion, Company, release, ... informations.
How can I set them?
Thanks
Fabrizio
If you are referring to the setup's file properties, you will need to set the following properties in your installer source.
VIProductVersion "2.0.0.0"
VIAddVersionKey "CompanyName" "MY Corporation"
VIAddVersionKey "FileVersion" "1.0.0.0"
VIAddVersionKey "FileDescription" "My Build System"
VIAddVersionKey "InternalName" "Make.exe"
VIAddVersionKey "LegalCopyright" "2004"
VIAddVersionKey "LegalTrademarks" "MY Corporation"
VIAddVersionKey "OriginalFilename" "Make.exe"
VIAddVersionKey "ProductName" "MY Build System"
VIAddVersionKey "ProductVersion" "2.0.0.0"
For more info RTFM. ;)
Perfect!
I've not seen in your list Comment, Language, ...
Can you tell me how can introduce them?
Thank
Fabrizio
P.S. Your suggestion is on the documentation? I'm not able to find it.
4.8.3.1 VIAddVersionKey [/LANG=lang_id] keyname value
Adds a field in the Version Tab of the File Properties. This can either be a field provided by the system or a user defined field. The following fields are provided by the System:
ProductName
Comments
CompanyName
LegalCopyright
FileDescription
FileVersion
ProductVersion
InternalName
LegalTrademarks
OriginalFilename
PrivateBuild
SpecialBuild
The name of these fields are translated on the target system, whereas user defined fields remain untranslated.
If you want to add your own it would be similar to the following examples:
VIAddVersionKey "LanguageID" "1033"
VIAddVersionKey "Language" "English"
VIAddVersionKey "Comments" "Blah."
Wonderful!
Is it possibile to fill in also the filds in the part "recapitulation" (my XP version is not in English and I'm not sure this translation is correct. This is the part thet the user can modify directly)
More complex:
Do you know how to use the part digital signs?
Fabrizio
"recapitulation" What would this be in english, or what language is your OS? Doh, that is english, but I don't see that on my property page.....
"digital signs" If your refering to the Security Certificate stuff, I have never used it.
In properties
the last configuration part on the right ca give the possibility to the user to write fields like
Title, Object, Author, ...
Is it possible to fill them in with NSIS?
I hope this time I have give you a translation and describtion with a sense.
Thanks
Fabrizio
I've never filled that information in. Perhaps someone else has. I do know that when you move a file with that information across a network or to removable media that the information is lost. This means the info on the Summary page is most likely stored in the registry. Anyone know?
This thread contains some info.
The only distribution I've seen that has the fields filled is
perl activestate in the msi packadge
http://www.activestate.com/Products/...?id=ActivePerl
I don't know if:
1) this can help you
2) only msi distribution can use it
Fabrizio
It looks like someone would have to write a plugin based on this MSDN page. Or build it into NSIS as a VIAddSummaryKey function.
Here's an example.
Activestate has a perl tool to create msi distribution.
Those are features of the NTFS file system, it has nothing to do with the file itself.