December 17, 2010

qwertyuiopearendil qwertyuiopea..
Lab Rat
91 posts

How to specify Vendor name, size and version

Page  
1

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:

  1. 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

16 replies

December 17, 2010

stuk stuk
Ant Farmer
561 posts

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:

  1. IDI_ICON1               ICON    DISCARDABLE     "logo64.ico"
  2.  
  3. 1 VERSIONINFO
  4. FILEVERSION 1,0,0,0
  5. PRODUCTVERSION 1,0,0,0
  6. FILEOS 0x50004
  7. FILETYPE 0x1
  8. {
  9. BLOCK "StringFileInfo"
  10. {
  11.  BLOCK "040904E4"
  12.  {
  13.   VALUE "CompanyName", "mycompany name"
  14.   VALUE "FileDescription", "myprogram 1.0"
  15.   VALUE "FileVersion", "1.0.0.0"
  16.   VALUE "ProductName", "myprogram"
  17.   VALUE "ProductVersion", "1.0.0.0"
  18.   VALUE "OriginalFilename", "myapp.exe"
  19.  }
  20. }
  21. }

the
  1. IDI_ICON1               ICON    DISCARDABLE     "logo64.ico"
is for add icon image to the executable.
Than in your .pro file write this line:
  1. RC_FILE = myapp.rc

This link [msdn.microsoft.com]).aspx can help you.

December 17, 2010

Gerolf Gerolf
Robot Herder
3287 posts

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…

 Signature 

Nokia Certified Qt Specialist.
Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

December 17, 2010

stuk stuk
Ant Farmer
561 posts

This don’t work for linux?

Gerolf Reinwardt wrote:
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…

December 17, 2010

Gerolf Gerolf
Robot Herder
3287 posts

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 [doc.qt.nokia.com] 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…

 Signature 

Nokia Certified Qt Specialist.
Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

December 18, 2010

xsacha xsacha
Lab Rat
517 posts

This is for Symbian, right?
You just edit the .PRO or .PKG files.

For vendorinfo, I use:

  1. vendorinfo = \
  2. "%{\"Sacha\"}" \
  3. ":\"Sacha\""

For icon, I use:

  1. ICON = app.svg

Note: Has to be an SVG (Tiny?).

 Signature 

- Sacha

December 18, 2010

Tobias Hunger Tobias Hunger
Robot Herder
3387 posts

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).

December 18, 2010

xsacha xsacha
Lab Rat
517 posts

qwertyuiopearendil wrote:
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.

From the O.P., a sis file. Must mean Symbian?

 Signature 

- Sacha

December 19, 2010

koshui koshui
Lab Rat
31 posts
xsacha wrote:
Note: Has to be an SVG (Tiny?).

Yes, it has to be tiny.
http://wiki.forum.nokia.com/index.php/How_to_create_application_icon(SVG)_in_S60_3rd_edition

December 19, 2010

Gerolf Gerolf
Robot Herder
3287 posts

The link does not work, as the breakets break the link :-(

 Signature 

Nokia Certified Qt Specialist.
Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

December 19, 2010

koshui koshui
Lab Rat
31 posts
Gerolf Reinwardt wrote:
The link does not work, as the breakets break the link :-(

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 ;)

December 19, 2010

Gerolf Gerolf
Robot Herder
3287 posts

I also did, but first I only clicked on it… :-(
But I managed :-)

 Signature 

Nokia Certified Qt Specialist.
Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

December 19, 2010

stuk stuk
Ant Farmer
561 posts

The link work for me. ?!

Gerolf Reinwardt wrote:
The link does not work, as the breakets break the link :-(

December 19, 2010

Gerolf Gerolf
Robot Herder
3287 posts

If you copy it completly (including _in_S60_3rd_edition), it works.

 Signature 

Nokia Certified Qt Specialist.
Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

December 19, 2010

Vass Vass
Ant Farmer
743 posts

Working link:

How to create application icon SVG in S60 3rd edition [wiki.forum.nokia.com])_in_S60_3rd_edition

Use Url-encoding symbols for difficult link :)

 Signature 


Vasiliy

December 19, 2010

Gerolf Gerolf
Robot Herder
3287 posts

could you shortly describe, how you encoded the symbols?

EDIT: sorry, I had to read it twice…. Now it’s clear. You mean the link function from the forum editor, right? this quotaions marks double point thing…

 Signature 

Nokia Certified Qt Specialist.
Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

Page  
1

  ‹‹ Experimental packages for Symbian development on Linux      QAbstractScrollArea: scroll bar style ››

You must log in to post a reply. Not a member yet? Register here!