×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Oct 2011
    Posts
    53

    Extracting pkg UID programatically OR batch file

    Hello,

    I want to extract the package UID of a sis file programatically (using a batch file is also OK), is there a way to do this using. I have seen extsis tool but that is a UI tool , I need to extract the package UId for automating some functionality.. so I cannot use the extsis manually.

    -thanks

  2. #2
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: Extracting pkg UID programatically OR batch file

    and Why do you need this ?

  3. #3
    Registered User
    Join Date
    Oct 2011
    Posts
    53

    Re: Extracting pkg UID programatically OR batch file

    This is for App provisioning.. I have a app the receives apps pushed from a server... so when i get the sis file I need to do a silent install, also I need to uninstall it on demand.. so for that I need UID of the package..

    -thanks

  4. #4
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: Extracting pkg UID programatically OR batch file

    Could you simply push it alongside the sis file from the server ? I'm assuming that your server gets the sis files from trusted source, and thus would also be knowing the UIDs for each sis file ?

  5. #5
    Registered User
    Join Date
    Oct 2011
    Posts
    53

    Re: Extracting pkg UID programatically OR batch file

    Yes I can push it from the server.... but what my need is that when the app is uploaded in the server to push we need to retrieve the UID of the package (so it will be not a good option to retrieve the UID manually always )and push that along with the app.

    -thanks

  6. #6
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: Extracting pkg UID programatically OR batch file

    Basically you could study the sis format and read it from there: http://www.developer.nokia.com/Commu...20110511040826

  7. #7
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,355

    Re: Extracting pkg UID programatically OR batch file

    Most binary files in Symbian start with 16 bytes representing three UIDs and their computed checksum. The 3rd UID from the SISX file is the package uid.
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

Similar Threads

  1. Building applicaiton using commandline using a batch file
    By symbiannil in forum Symbian Tools & SDKs
    Replies: 3
    Last Post: 2009-10-27, 08:33
  2. Run Batch file programatically
    By Asif Nazir in forum Symbian
    Replies: 3
    Last Post: 2008-03-12, 12:14
  3. pc event notification via mob (batch file)
    By F55 in forum Mobile Java General
    Replies: 0
    Last Post: 2006-06-27, 18:45
  4. Obfuscation batch file woes
    By mikejgilbert in forum Mobile Java General
    Replies: 2
    Last Post: 2004-12-07, 01:11

Posting Permissions

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