SIS file question: Application may not be compatible
Hi folks,
I need to create a SIS file for an application for a Nokia N70. I have created a PKG file, used MakeSIS to make the SIS file, and it basically works - I can install the app and it runs OK.
However it warns "Application may not be compatible with phone. Quit installation?" during the installation. This is not a good user experience.
Does anyone know what check may be failing to give that warning? The SIS file contains the lines, which I think are correct for an N70 running in English:
[CODE]&EN
(0x10200F9A), 0, 0, 0, {"MachineUID"}
[/CODE]
Any help would be much appreciated!
Thanks,
Mark
Re: SIS file question: Application may not be compatible
maybe you should use the platform ID instead, something like this:
(0x102032BD), 0, 0, 0, {"Series60ProductID"}; 2ed FP3 -->
yucca
Re: SIS file question: Application may not be compatible
Thanks for the suggestion. I think that will work (I've done it before) but this application is N70 specific, not Series60-version specific.
The check I have used (MachineUID) [I]should[/I] work, should it not?
Thanks,
Mark
Re: SIS file question: Application may not be compatible
Ah... should have tried this before posting really, but removing the MachineUID check does NOT fix the problem. Still says it might be incompatible.
So what's it checking to give this error? Anyone know the precise meaning of this warning?
Thanks,
Mark
Re: SIS file question: Application may not be compatible
you need to have the Series60ProductID, it will take the warning out. Then you could try if you can get the machine ID with Hal (not sure if it is possible, but something to check about) and have if clauses that will prevent installation to any other machine.
yucca
Re: SIS file question: Application may not be compatible
[QUOTE=symbianyucca]you need to have the Series60ProductID, it will take the warning out.[/QUOTE]
Thanks Yucca - that did the trick. I have put both checks in (Series60ProductID and MachineUID) and now it installs without the warning - and should still check it's being installed on an N70 as it did before.
Thanks very much!
-Mark
Re: SIS file question: Application may not be compatible
what I ment was to do something like this in your pkg:
IF MachineUid=0x10200F9A ; N70?
;install files here
ELSE ;
"notsupported.txt"-"", FILETEXT
ENDIF
and remember to add Series60ProductID as usual.
yucca