
Originally Posted by
ltomuta
Great. Now try the "!:" trick in the resource and it would not matter where you install the app.
Yes, you are right. I have just decided to test things for myself because some questions have not been answered, and here are my findings:
#1: I remembered, but did not dare to mention until re-testing that "The installation package containing the application must be trusted, i.e. it must be signed with a valid certificate." sentence in the SDK Help is true. The UID does not matter, at least auto-starting 0xExxxxxxx executable works for me with a DevCert
#2: !:\ also works
So the minimal requirements appear to be
pkguid.rss
Code:
#include <startupitem.rh>
RESOURCE STARTUP_ITEM_INFO
{
executable_name = "!:\\sys\\bin\\xy.exe";
}
xy.mmp
Code:
START RESOURCE pkguid.rss
END
xy.pkg
Code:
"C:\Symbian\9.1\S60_3rd_MR\Epoc32\Data\pkguid.rsc"-"c:\private\101f875a\import\[pkguid].rsc"
Signed with something else than self-signing.
Tested on:
- N80 3.0617.0.6
- N81 10.0.058
- E90 07.40.1.2
- N91 2.10.013
- N93 10.0.025
Of course it might not work on other devices...