×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Jun 2004
    Posts
    13

    PKG abort file installation

    I have several questions about PKG file syntax and installation.
    Does anybody know the syntax for PKG file to abort installation.
    There is an option to show a text dialog with TA or TE, but in this case user can still cancel the dialog and continue the installation.

    I want my application to be installed only on Rel2.6 devices. Is there any way to check it and not let the user to install on Rel1.2 or Rel2.0 devices?

    Is PKG file supports more than one line in IF condition?
    I mean, we can write like this
    Code:
    IF
       statement
    ENDIF
    I'd like to write
    Code:
    IF
    {
        statement1;
        statement2;
        ...
    }
    ENDIF

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167
    just use the right Series60ProductID in your pkg, and it can only be installed in supported platforms.

    yucca

  3. #3
    Registered User
    Join Date
    Jun 2004
    Posts
    13
    Thank you. I also thought it can be done. I wrote correct platform ID for Rel2.6 in PKG file and built SIS. After it I could install it on 6600 cancelling all the warnings I had about noncompatible platform.
    Should I write ID somewhere else except PKG file?

  4. #4
    Super Contributor
    Join Date
    Apr 2003
    Location
    Czech Republic
    Posts
    915
    This doesn't work?

    (0x10200BAB), 0, 0, 0, {"Series60ProductID"}

    It might be that it is on some phones broken and they ignore this value and install the application anyway...

  5. #5
    Registered User
    Join Date
    Jun 2004
    Posts
    13
    Unfortunately, it doesn't work... giving just a warning.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×