I have a SIS with three executables (exe1, exe2 and exe3).
I want two of them, exe1 and exe2, to autostart when the phone boots.
Following a lead from a previous thread, I created the SIS using the UID for exe1 (0xEB2A9C95).
In the autostart resource (EB2A9C95.rss) for exe1 I added the paths two exe1 and exe2 in the following way:
RESOURCE STARTUP_ITEM_INFO startexe
{
executable_name = "!:\\sys\\bin\\GMPBServer.exe";
executable_name = "!:\\sys\\bin\\GmpbSmsClient.exe";
recovery = EStartupItemExPolicyNone;
}
the pkg to create the sis is the following:
What I am getting is that exe2 autostarts but exe1 does not.Code:;Language - standard language definitions &EN ; standard SIS file header #{"Exe1Project"},(0xEB2A9C95),1,0,0 ;Localised Vendor name %{"aCompany"} ;Unique Vendor name :"aCompany" ;Supports Series 60 v 3.0 [0x101F7961], 0, 0, 0, {"Series60ProductID"} ;Files to install ;GMPB Server "$(EPOCROOT)Epoc32\release\$(PLATFORM)\$(TARGET)\GMPBServer.exe" -"!:\sys\bin\GMPBServer.exe",FR,RI "$(EPOCROOT)Epoc32\data\z\resource\apps\EB2A9C95.rsc" -"c:\private\101f875a\import\[EB2A9C95].rsc" ;Remove Installed files ""-"C:\Data\Gmpb\*",FN ""-"C:\Data\Gmpb\",FN ;SMS Client "$(EPOCROOT)Epoc32\data\z\resource\apps\GmpbSmsClient.r04" -"!:\resource\apps\GmpbSmsClient.r04" "$(EPOCROOT)Epoc32\data\z\private\10003a3f\apps\GmpbSmsClient_reg.r04" -"!:\private\10003a3f\import\apps\GmpbSmsClient_reg.r04" "$(EPOCROOT)epoc32\data\z\resource\apps\GmpbSmsClient.mbm" -"!:\resource\apps\GmpbSmsClient.mbm" "C:\Symbian\Carbide\workspace\GmpbSmsClient\sis\startonboot.txt" -"!:\private\EDAAB288\startonboot.txt" "$(EPOCROOT)Epoc32\release\$(PLATFORM)\$(TARGET)\GmpbSmsClient.exe" -"!:\sys\bin\GmpbSmsClient.exe",FR,RI ;SeguridadSymbian "$(EPOCROOT)Epoc32\release\$(PLATFORM)\$(TARGET)\SeguridadSymbian.exe" -"!:\sys\bin\SeguridadSymbian.exe" "$(EPOCROOT)Epoc32\data\z\resource\apps\SeguridadSymbian.r04" -"!:\resource\apps\SeguridadSymbian.r04" "$(EPOCROOT)Epoc32\data\z\private\10003a3f\apps\SeguridadSymbian_reg.r04" -"!:\private\10003a3f\import\apps\SeguridadSymbian_reg.r04" "$(EPOCROOT)epoc32\data\z\resource\apps\SeguridadSymbian.mbm" -"!:\resource\apps\SeguridadSymbian.mbm" ;Remove Installed files "" -"C:\Data\SS\*",FN "" -"C:\Data\SS\",FN
Is this the correct way to do this?


Reply With Quote




