Hi All,
I have to create a new version of an app(3.x and 5.0) for my company with a different name for the application(due to company policies). The company doesn't want to create a new application as we don't want to create issues with clients having problems with installation and installation. They want the new sis to work in the same way as if the name wasn't changed.
I have made all the changes including the resource files for displaying. These changes work without any problem. But if I change the package name in the sis file header, I get an 'Update error' when I install it on a 3.0 device while the updation works fine in 5.0(It even changes the package name in application manager!!!).
I have gone through the Common Installer Errors in which it says:
"Update error"
* The installation package is attempting to overwrite a file that doesn't belong to it.
o This also applies if your Standard Application (SA) package has the same UID as an already installed one, but uses a different package name (note that this does not refer to the file name of the SIS file, but the user-visible package name declared inside the PKG file).
o You have a file, such as a resource shared between two applications, and one of the applications is already installed.
* Partial Upgrade (PU) installation package is attempting to upgrade pre-installed package.
* Attempting to install preinstalled app on top of another application that shares same package UID.
* Upgrade package is not trusted to upgrade its base package.
* Augmentation package (SP type) is using same package name used by base package.
* Installation package is attempting to overwrite orphave binary and security policy doesn't allow it.
I just want to know if there is a workaround for this to work on 3.0. Is there a way to know if any previous version of the application is installed on the phone or not before the sis file header is read?
It would be great if this is possible.
Thanks in Advance..




