Read-only archive of the All About Symbian forum (2001–2013) · About this archive

Generate & install sis files

3 replies · 28,432 views · Started 13 December 2007

Hello,
I'm new on this forum. I just begin to develop on Symbian C++.

I've a big problem to install my application on mobiles:

I developed an application with Carbide C++ and SDK s60 3rd Edition.
It works fine on emulator.

I build the pkg file to obtain a sis file and a sisx file.
When I try to install my app on my N95 or my E61, I get these messages:
- with sis file: Certificate Error...
- with sisx file: Unable to install.

my Build Configuration: Phone Release (GCCE) [S60_3rd_FP1_3]

Please help me because I don't have any idea...
Thanks

I have signed my application but nothing change 😞
I think the problem comes from mmp fille or pkg file.
That's the MMP file:

/*
* ==============================================================================
* Name : Test.mmp
* ==============================================================================
*/

//New style application exe
TARGET Test
TARGETTYPE EXE
UID 0x100039CE 0xA000121A

EPOCSTACKSIZE 30000

VENDORID 0
SECUREID 0xA000121A

SOURCEPATH ..\..\Utils
SOURCE Mathutils.cpp
SOURCE Glutils.cpp
SOURCE Utils3d.cpp
SOURCE Textureutils.cpp

SOURCEPATH ..\src
SOURCE Test.cpp
SOURCE TestApp.cpp
SOURCE TestAppUi.cpp

USERINCLUDE .
USERINCLUDE ..\inc
USERINCLUDE ..\..\Utils

SYSTEMINCLUDE .
SYSTEMINCLUDE \epoc32\include

LIBRARY euser.lib apparc.lib cone.lib eikcore.lib
LIBRARY avkon.lib fbscli.lib efsrv.lib
LIBRARY ImageConversion.lib
LIBRARY ws32.lib
LIBRARY libgles_cm.lib

#if 0
START RESOURCE ..\data\test_reg.rss
#ifdef WINSCW
TARGETPATH \private\10003a3f\apps
#else
TARGETPATH \private\10003a3f\import\apps
#endif
END
#endif
SOURCE TestDocument.cpp TestContainer.cpp
SOURCEPATH ..\data
START RESOURCE Test.rss
TARGET Test.rsc
TARGETPATH \\resource\apps
HEADER
LANG SC
END
SOURCEPATH ..\data
START RESOURCE Test_reg.rss
TARGET Test_reg.rsc
TARGETPATH \private\10003a3f\import\apps
END
SOURCEPATH ..\src\Shp
SOURCE ShpReader.cpp Shape.cpp

CAPABILITY ReadUserData

and the PKG file:

;Language - standard language definitions
&EN

; standard SIS file header
#{"Test"},(0xA000121A),1,0,0

;Localised Vendor name
%{"Vendor-EN"}

;Unique Vendor name
:"Vendor"

;Supports Series 60 v 3.0
[0x101F7961], 0, 0, 0, {"Series60ProductID"}

;Files to install
;You should change the source paths to match that of your environment
;<source> <destination>
"C:\Symbian\9.2\S60_3rd_FP1_3\Epoc32\release\winscw\udeb\Test.exe" -"!:\sys\bin\Test.exe"
"C:\Symbian\9.2\S60_3rd_FP1_3\Epoc32\data\z\resource\apps\Test.RSC" -"!:\resource\apps\Test.RSC"
"C:\Symbian\9.2\S60_3rd_FP1_3\Epoc32\data\Z\private\10003a3f\import\apps\test_reg.RSC" -"!:\private\10003a3f\import\apps\test_reg.RSC"
"C:\Symbian\9.2\S60_3rd_FP1_3\Epoc32\release\winscw\udeb\z\resource\apps\test_icon.mif" -"!:\resource\apps\test_icon.mif"

If you find some error, pleas tell me, thanks

othouven wrote:I have signed my application but nothing change 😞
I think the problem comes from mmp fille or pkg file.
That's the MMP file:
/*
* ==============================================================================
* Name : Test.mmp
* ==============================================================================
*/

//New style application exe
TARGET Test
TARGETTYPE EXE
UID 0x100039CE 0xA000121A

EPOCSTACKSIZE 30000

VENDORID 0
SECUREID 0xA000121A

SOURCEPATH ..\..\Utils
SOURCE Mathutils.cpp
SOURCE Glutils.cpp
SOURCE Utils3d.cpp
SOURCE Textureutils.cpp

SOURCEPATH ..\src
SOURCE Test.cpp
SOURCE TestApp.cpp
SOURCE TestAppUi.cpp

USERINCLUDE .
USERINCLUDE ..\inc
USERINCLUDE ..\..\Utils

SYSTEMINCLUDE .
SYSTEMINCLUDE \epoc32\include

LIBRARY euser.lib apparc.lib cone.lib eikcore.lib
LIBRARY avkon.lib fbscli.lib efsrv.lib
LIBRARY ImageConversion.lib
LIBRARY ws32.lib
LIBRARY libgles_cm.lib

#if 0
START RESOURCE ..\data\test_reg.rss
#ifdef WINSCW
TARGETPATH \private\10003a3f\apps
#else
TARGETPATH \private\10003a3f\import\apps
#endif
END
#endif
SOURCE TestDocument.cpp TestContainer.cpp
SOURCEPATH ..\data
START RESOURCE Test.rss
TARGET Test.rsc
TARGETPATH \\resource\apps
HEADER
LANG SC
END
SOURCEPATH ..\data
START RESOURCE Test_reg.rss
TARGET Test_reg.rsc
TARGETPATH \private\10003a3f\import\apps
END
SOURCEPATH ..\src\Shp
SOURCE ShpReader.cpp Shape.cpp

CAPABILITY ReadUserData

and the PKG file:

;Language - standard language definitions
&EN

; standard SIS file header
#{"Test"},(0xA000121A),1,0,0

;Localised Vendor name
%{"Vendor-EN"}

;Unique Vendor name
:"Vendor"

;Supports Series 60 v 3.0
[0x101F7961], 0, 0, 0, {"Series60ProductID"}

;Files to install
;You should change the source paths to match that of your environment
;<source> <destination>
"C:\Symbian\9.2\S60_3rd_FP1_3\Epoc32\release\winscw\udeb\Test.exe" -"!:\sys\bin\Test.exe"
"C:\Symbian\9.2\S60_3rd_FP1_3\Epoc32\data\z\resource\apps\Test.RSC" -"!:\resource\apps\Test.RSC"
"C:\Symbian\9.2\S60_3rd_FP1_3\Epoc32\data\Z\private\10003a3f\import\apps\test_reg.RSC" -"!:\private\10003a3f\import\apps\test_reg.RSC"
"C:\Symbian\9.2\S60_3rd_FP1_3\Epoc32\release\winscw\udeb\z\resource\apps\test_icon.mif" -"!:\resource\apps\test_icon.mif"

If you find some error, pleas tell me, thanks


Hey othouven

Where are you from?I have recently started a corse of c & c++.
Ok leave this.
What have you used for creating your .csr file??For more support mail me at: [email][email protected][/email] .I will create a .csr and certificate for you.😊