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
Re: Extracting pkg UID programatically OR batch file
and Why do you need this ?
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
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 ?
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
Re: Extracting pkg UID programatically OR batch file
Basically you could study the sis format and read it from there: [url]http://www.developer.nokia.com/Community/Wiki/images/b/b7/SymbianOSv9.x_SIS_File_Format_Specification.pdf?20110511040826[/url]
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.