How to specify Vendor name, size and version
-
Hi All,
i'm creating the sis file with smart installer for my app and i'd like to know how and where should i specify vendor name, application size and version.
I've seen that i can simply use:
@VERSION = 1.0.0@
I've read it in another article 1 minutes ago
But now i' not able to understand where and how specify app size and vendor name.
Thanks to all -
UPDATE: I read now you have mobile app so i don't know if this can work. Sorry.
Example, create a file called my.rc, the file my.rc is composed by this:
@
IDI_ICON1 ICON DISCARDABLE "logo64.ico"1 VERSIONINFO
FILEVERSION 1,0,0,0
PRODUCTVERSION 1,0,0,0
FILEOS 0x50004
FILETYPE 0x1
{
BLOCK "StringFileInfo"
{
BLOCK "040904E4"
{
VALUE "CompanyName", "mycompany name"
VALUE "FileDescription", "myprogram 1.0"
VALUE "FileVersion", "1.0.0.0"
VALUE "ProductName", "myprogram"
VALUE "ProductVersion", "1.0.0.0"
VALUE "OriginalFilename", "myapp.exe"
}
}
}@
the
@IDI_ICON1 ICON DISCARDABLE "logo64.ico"@ is for add icon image to the executable.
Than in your .pro file write this line:
@
RC_FILE = myapp.rc
@This "link":http://msdn.microsoft.com/en-us/library/aa381058(v=vs.85).aspx can help you.
-
This don't work for linux?
[quote author="Gerolf Reinwardt" date="1292616750"]This is the Microsoft sollution. The rc is the microsoft resource format. If you can use it for mobile apps that run on another system then MS Windows Mobile, it will not help. It's a pure MS solution...[/quote]
-
Afaik not. That's why we created a custom solution for Linux in my old department. You can put the text somewhere as static text in yout binaries, but the RC compiler is a windows specific thing. Also this version SDK to read the versions. That's why you find it on msdn (Microsoft developer network).
If you look "here":http://doc.qt.nokia.com/4.6.2/appicon.html you can guess that it's only windows. I didn#t find some place that explicitly states that, but I'm pretty sure it is :-) Otherwise we would have used it some time ago...
-
Which platform are you targeting? xsacha already provided some clue on how to set this in symbian. In Maemo you will need to change the packaging scripts (as each package generated may be using a different version which may or may not differ from the version of the project).
-
[quote author="qwertyuiopearendil" date="1292610149"]Hi All,
i'm creating the sis file with smart installer for my app and i'd like to know how and where should i specify vendor name, application size and version.[/quote]
From the O.P., a sis file. Must mean Symbian? -
[quote author="xsacha" date="1292644822"]Note: Has to be an SVG (Tiny?).[/quote]
Yes, it has to be tiny.
http://wiki.forum.nokia.com/index.php/How_to_create_application_icon(SVG)_in_S60_3rd_edition -
[quote author="Gerolf Reinwardt" date="1292756704"]The link does not work, as the breakets break the link :-([/quote]
Tried to cheat with percentage encoding, but this forum is too smart to fall for that.
I trust resourceful persons to find a way to access the link ;) -
Working link:
"How to create application icon SVG in S60 3rd edition":http://wiki.forum.nokia.com/index.php/How_to_create_application_icon(SVG)_in_S60_3rd_edition
Use Url-encoding symbols for difficult link :)