Wish B4JPackager

Jmu5667

Well-Known Member
Licensed User
Longtime User
Hello

The built in packager is an awesome tool. I would however request that we be able to set the EXE file properties such as file version etc.

I currently can set #PackagerProperty: IconFile = ..\Files\icon.ico, so would it be difficult to do #PackagerProperty: FileVersion = 1.0.0.1

The complete list of properties :
CompanyName
FileDescription
FileVersion
LegalCopyright
OriginalFilename
ProductName
ProductVersion

Regards (fingers crossed)

John.
 
Last edited:
Will be included in the next beta:
Code: Copy
#PackagerProperty: AssemblyTitle = This is the title
#PackagerProperty: AssemblyDescription = Description
#PackagerProperty: AssemblyCompany = Cool company
#PackagerProperty: AssemblyProduct = Cool product
#PackagerProperty: AssemblyVersion = 1.2.3.0

And:
Code: Copy
#PackagerProperty: RequireAdministrator = True
 
What are the correspondences in inno?

B4X: Copy
#PackagerProperty: AssemblyTitle = This is the title    'inno: ???????
#PackagerProperty: AssemblyDescription = Description    'inno: VersionInfoDescription?
#PackagerProperty: AssemblyCompany = Cool company       'inno: AppCopyright? -- AppPublisher?
#PackagerProperty: AssemblyProduct = Cool product       'inno: AppName?
#PackagerProperty: AssemblyVersion = 1.2.3.0            'inno: AppVersion? -- VersionInfoVersion?
#PackagerProperty: RequireAdministrator = True          'inno: ????
 
Will be included in the next beta:
Code: Copy
#PackagerProperty: AssemblyTitle = This is the title
#PackagerProperty: AssemblyDescription = Description
#PackagerProperty: AssemblyCompany = Cool company
#PackagerProperty: AssemblyProduct = Cool product
#PackagerProperty: AssemblyVersion = 1.2.3.0

And:
Code: Copy
#PackagerProperty: RequireAdministrator = True
Two questions:
1. Any reason not to allow setting the text of the Copyright notice as well?
2. Will these be applied to the exe in the ...\Build\ folder, the one in the ...Build\Bin\ folder, or both?
 
Any reason not to allow setting the text of the Copyright notice as well?
You can pass all of the .Net fields: https://learn.microsoft.com/en-us/dotnet/standard/assembly/set-attributes
Code: Copy
#PackagerProperty: AssemblyCopyrightAttribute = Copyright string
As long as it starts with Assembly, it will be added as an assembly attribute.

Will these be applied to the exe in the ...\Build\ folder, the one in the ...Build\Bin\ folder, or both?
Only to the one in the Build folder.
 
Back
Top