×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Jan 2004
    Posts
    6

    File corrupted - with signed sis

    Hi,

    I've tried to sign my sis file using a developer cer file from symbiansigned.
    Everything looks ok in the build output, but when I try to install the sis on the N80, I get "File corrupted".
    I've used the default GCCE release configuration.

    I saw someone mentioning that the signsis tool was the problem, but then I suppose more people would have noticed?

    Please see the partly included build output for clues. Had to shorten it due to limitations on forum post size.

    Hope you can help me

    regards,
    annehj


    *************

    **** Full rebuild of configuration S60 3.0 Phone (GCCE) Release for project MyApplication ****

    'Building file: ../gfx/MyApplication.mifdef'
    'Invoking: MIF Compiler'
    perl -S epocmifdef.pl -p"C:\cvs\symbian\MyApplication\" -hC:\develop\S60\Symbian\9.1\S60_3rd\EPOC32\include\MyApplication.mbg -o"/develop/S60/Symbian/9.1/S60_3rd/EPOC32/DATA/Z/resource/apps/MyApplication.mif" ../gfx/MyApplication.mifdef
    Reading source list file: ../gfx/MyApplication.mifdef.txt
    Checking: C:\cvs\symbian\MyApplication\gfx\qgn_menu_MyApplication.svg
    Choosing...
    Loading mif icons...
    Loading file: C:\cvs\symbian\MyApplication\gfx\qgn_menu_MyApplication.svg
    Writing mif: /develop/S60/Symbian/9.1/S60_3rd/EPOC32/DATA/Z/resource/apps/MyApplication.mif
    Writing mbg...C:\develop\S60\Symbian\9.1\S60_3rd\EPOC32\include\MyApplication.mbg
    'Finished building: ../gfx/MyApplication.mifdef'
    ' '
    'Building file: ../data/MyApplication.rss'
    'Invoking: Resource Compiler'
    perl.exe -S epocrc.pl -u -DLANGUAGE_sc -I"C:\cvs\symbian\MyApplication\inc" -I"C:\cvs\symbian\MyApplication\data" -I- -I"C:\develop\S60\Symbian\9.1\S60_3rd\epoc32\include" -I"C:\develop\S60\Symbian\9.1\S60_3rd\epoc32\include\variant" -I"C:\develop\S60\CSLArmToolchain\lib\gcc\arm-none-symbianelf\3.4.3\include" -o"C:/develop/S60/Symbian/9.1/S60_3rd/EPOC32/DATA/Z/resource/apps/MyApplication.rsc" -hC:\develop\S60\Symbian\9.1\S60_3rd\EPOC32\include\MyApplication.rsg ../data/MyApplication.rss

    [deleted]
    ' '
    'Building file: ../src/MyApplication.cpp'
    'Invoking: GCCE Compiler'
    arm-none-symbianelf-g++.exe -c -pipe -mapcs -nostdinc -x c++ -march=armv5t -fexceptions -mfloat-abi=soft -D_DEBUG -D_UNICODE -D__GCCE__ -D__SYMBIAN32__ -D__EPOC32__ -D__MARM__ -D__EABI__ -D__MARM_ARMV5__ -D__EXE__ -D__SUPPORT_CPP_EXCEPTIONS__ -D__SERIES60_30__ -D__SERIES60_3X__ -D__PRODUCT_INCLUDE__="C:\develop\S60\Symbian\9.1\S60_3rd\epoc32\include\variant\Symbian_OS_v9.1.hrh" -include "C:\develop\S60\Symbian\9.1\S60_3rd\\EPOC32\INCLUDE\GCCE\GCCE.h" -Wall -Wno-ctor-dtor-privacy -Wno-unknown-pragmas -I "C:\cvs\symbian\MyApplication\inc" -I "C:\cvs\symbian\MyApplication\data" -I "C:\develop\S60\Symbian\9.1\S60_3rd\epoc32\include" -I "C:\develop\S60\Symbian\9.1\S60_3rd\epoc32\include\variant" -I "C:\develop\S60\CSLArmToolchain\lib\gcc\arm-none-symbianelf\3.4.3\include" -o src/MyApplication.o ../src/MyApplication.cpp
    'Finished building: ../src/MyApplication.cpp'
    ' '

    [deleted]

    'Finished building: ../src/MyApplicationAppUi.cpp'
    ' '
    'Building file: ../src/MyApplicationAppView.cpp'
    'Invoking: GCCE Compiler'
    arm-none-symbianelf-g++.exe -c -pipe -mapcs -nostdinc -x c++ -march=armv5t -fexceptions -mfloat-abi=soft -D_DEBUG -D_UNICODE -D__GCCE__ -D__SYMBIAN32__ -D__EPOC32__ -D__MARM__ -D__EABI__ -D__MARM_ARMV5__ -D__EXE__ -D__SUPPORT_CPP_EXCEPTIONS__ -D__SERIES60_30__ -D__SERIES60_3X__ -D__PRODUCT_INCLUDE__="C:\develop\S60\Symbian\9.1\S60_3rd\epoc32\include\variant\Symbian_OS_v9.1.hrh" -include "C:\develop\S60\Symbian\9.1\S60_3rd\\EPOC32\INCLUDE\GCCE\GCCE.h" -Wall -Wno-ctor-dtor-privacy -Wno-unknown-pragmas -I "C:\cvs\symbian\MyApplication\inc" -I "C:\cvs\symbian\MyApplication\data" -I "C:\develop\S60\Symbian\9.1\S60_3rd\epoc32\include" -I "C:\develop\S60\Symbian\9.1\S60_3rd\epoc32\include\variant" -I "C:\develop\S60\CSLArmToolchain\lib\gcc\arm-none-symbianelf\3.4.3\include" -o src/MyApplicationAppView.o ../src/MyApplicationAppView.cpp
    'Finished building: ../src/MyApplicationAppView.cpp'
    ' '
    [deleted]
    ' '
    'Building file: ../src/MyApplicationDocument.cpp'
    'Invoking: GCCE Compiler'
    arm-none-symbianelf-g++.exe -c -pipe -mapcs -nostdinc -x c++ -march=armv5t -fexceptions -mfloat-abi=soft -D_DEBUG -D_UNICODE -D__GCCE__ -D__SYMBIAN32__ -D__EPOC32__ -D__MARM__ -D__EABI__ -D__MARM_ARMV5__ -D__EXE__ -D__SUPPORT_CPP_EXCEPTIONS__ -D__SERIES60_30__ -D__SERIES60_3X__ -D__PRODUCT_INCLUDE__="C:\develop\S60\Symbian\9.1\S60_3rd\epoc32\include\variant\Symbian_OS_v9.1.hrh" -include "C:\develop\S60\Symbian\9.1\S60_3rd\\EPOC32\INCLUDE\GCCE\GCCE.h" -Wall -Wno-ctor-dtor-privacy -Wno-unknown-pragmas -I "C:\cvs\symbian\MyApplication\inc" -I "C:\cvs\symbian\MyApplication\data" -I "C:\develop\S60\Symbian\9.1\S60_3rd\epoc32\include" -I "C:\develop\S60\Symbian\9.1\S60_3rd\epoc32\include\variant" -I "C:\develop\S60\CSLArmToolchain\lib\gcc\arm-none-symbianelf\3.4.3\include" -o src/MyApplicationDocument.o ../src/MyApplicationDocument.cpp
    In file included from C://develop//S60//Symbian//9.1//S60_3rd//epoc32//include/eikenv.h:25,
    from C://develop//S60//Symbian//9.1//S60_3rd//epoc32//include/eiksrvs.h:14,
    from C://develop//S60//Symbian//9.1//S60_3rd//epoc32//include/eiksrvc.h:9,
    from C://develop//S60//Symbian//9.1//S60_3rd//epoc32//include/eikspmod.h:18,
    from C://develop//S60//Symbian//9.1//S60_3rd//epoc32//include/Eikspane.h:10,
    from C://develop//S60//Symbian//9.1//S60_3rd//epoc32//include/aknappui.h:25,
    from C://cvs//symbian//MyApplication//inc/MyApplicationAppUi.h:14,
    from ../src/MyApplicationDocument.cpp:12:
    C://develop//S60//Symbian//9.1//S60_3rd//epoc32//include/babitflags.h:240:7: warning: no newline at end of file
    In file included from C://develop//S60//Symbian//9.1//S60_3rd//epoc32//include/aknappui.h:29,
    from C://cvs//symbian//MyApplication//inc/MyApplicationAppUi.h:14,
    from ../src/MyApplicationDocument.cpp:12:
    C://develop//S60//Symbian//9.1//S60_3rd//epoc32//include/AknTouchPaneObserver.h:47:19: warning: no newline at end of file
    'Finished building: ../src/MyApplicationDocument.cpp'
    ' '
    'Invoking: GCCE Linker'
    arm-none-symbianelf-ld.exe --check-sections --no-undefined --no-allow-shlib-undefined -nostdlib -shared --entry _E32Startup -Tdata 0x400000 -Ttext 0x8000 --target1-abs --discard-locals --default-symver -u_E32Startup -L"C:\develop\S60\CSLArmToolchain\lib\gcc\arm-none-symbianelf\3.4.3" -L"C:\develop\S60\CSLArmToolchain\arm-none-symbianelf\lib" -soname "MyApplication{000a0000}.exe" -o "MyApplication.sym" -Map C:\develop\S60\Symbian\9.1\S60_3rd\epoc32\release\GCCE\UREL\\MyApplication.exe.map ./src/MyApplication.o ./src/MyApplicationAppUi.o ./src/MyApplicationAppView.o ./src/MyApplicationApplication.o ./src/MyApplicationDocument.o "C:\develop\S60\Symbian\9.1\S60_3rd\epoc32\release\ARMV5\UREL\eexe.lib" C:\develop\S60\Symbian\9.1\S60_3rd\epoc32\release\ARMV5\LIB\dfpaeabi.dso C:\develop\S60\Symbian\9.1\S60_3rd\epoc32\release\ARMV5\LIB\drtaeabi.dso C:\develop\S60\Symbian\9.1\S60_3rd\epoc32\release\ARMV5\LIB\dfprvct2_2.dso C:\develop\S60\Symbian\9.1\S60_3rd\epoc32\release\ARMV5\LIB\scppnwdl.dso C:\develop\S60\Symbian\9.1\S60_3rd\epoc32\release\ARMV5\LIB\drtrvct2_2.dso C:\develop\S60\Symbian\9.1\S60_3rd\epoc32\release\ARMV5\UREL\usrt2_2.lib C:\develop\S60\Symbian\9.1\S60_3rd\epoc32\release\ARMV5\LIB\euser.dso C:\develop\S60\Symbian\9.1\S60_3rd\epoc32\release\ARMV5\LIB\apparc.dso C:\develop\S60\Symbian\9.1\S60_3rd\epoc32\release\ARMV5\LIB\cone.dso C:\develop\S60\Symbian\9.1\S60_3rd\epoc32\release\ARMV5\LIB\eikcore.dso C:\develop\S60\Symbian\9.1\S60_3rd\epoc32\release\ARMV5\LIB\avkon.dso C:\develop\S60\Symbian\9.1\S60_3rd\epoc32\release\ARMV5\LIB\commonengine.dso C:\develop\S60\Symbian\9.1\S60_3rd\epoc32\release\ARMV5\LIB\efsrv.dso C:\develop\S60\Symbian\9.1\S60_3rd\epoc32\release\ARMV5\LIB\estor.dso -lsupc++ -lgcc
    'Finished building: MyApplication.sym'
    ' '
    'Building target: C:/develop/S60/Symbian/9.1/S60_3rd/epoc32/release/GCCE/UREL/MyApplication.exe'
    'Invoking: Post linker'
    elf2e32.exe --targettype=EXE --libpath="C:\develop\S60\Symbian\9.1\S60_3rd\epoc32\release\ARMV5\LIB" --capability=NONE --uid1=0x1000007a --uid2=0x100039CE --uid3=0x0BF65C6D --sid=0x0BF65C6D --vid=0x00000000 --elfinput="MyApplication.sym" --output="C:/develop/S60/Symbian/9.1/S60_3rd/epoc32/release/GCCE/UREL/MyApplication.exe" --linkas=MyApplication{000a0000}[0x0BF65C6D].exe
    'Finished building target: C:/develop/S60/Symbian/9.1/S60_3rd/epoc32/release/GCCE/UREL/MyApplication.exe'
    ' '
    'Building file: sis/MyApplication.pkg'
    'Invoking: CreateSis (Installation File Generator)'
    createsis create -pass myPassword -cert C:\cvs\symbian\MyApplication\data\MyApplication.cer -key C:\cvs\symbian\MyApplication\data\MyApplication.key "sis/MyApplication.pkg" C:/cvs/symbian/MyApplication/sis/MyApplication.sis
    Processing sis/MyApplication.pkg...
    Created sis/MyApplication-tmp.SIS
    Signing sis/MyApplication-tmp.SIS with C:\cvs\symbian\MyApplication\data\MyApplication.cer and C:\cvs\symbian\MyApplication\data\MyApplication.key -> C:/cvs/symbian/MyApplication/sis/MyApplication.sis
    'Finished building: sis/MyApplication.pkg'
    ' '
    Build complete for project MyApplication

  2. #2
    Nokia Developer Expert
    Join Date
    Oct 2004
    Location
    Austin, TX USA
    Posts
    271

    Re: File corrupted - with signed sis

    Are you using CodeWarrior to do this, or are you building from the command line?

    Regards,

    Matt P.

  3. #3
    Registered User
    Join Date
    Jan 2004
    Posts
    6

    Re: File corrupted - with signed sis

    Ah yes, I forgot to mention that I'm using Carbide.c++ express

  4. #4
    Registered User
    Join Date
    Jun 2006
    Location
    London
    Posts
    22

    Re: File corrupted - with signed sis

    Hey, am using N80 as well and even for me the install fails with "File Corrupted". I'm still trying to fight this.

    Btw, if you are able to generate the sis file, then your GCCE build must have gone well with all necessary files created.

    I have the following done before trying to install the sis file

    - Created a Developer certificate (using a ACS Publisher Id cer, key)
    - Got an UID in the protected range (as the app will be signed using signsis)
    - Although I'm not really using any capabilities (just basic ones), I still have signed the app with the Developer certificate.

    When trying to install on the phone, the certificate check goes fine, and then the error "File corrupted" is throwed. If I try to install without the Dev certificate (remember I do not have any special capabilities) then it fails with "certificate error".

    I really couldn't find the cause of this "File corrupted" problem. I suspect it must be something to do with UID's, _reg file etc.. If anyone has built and installed a sis file on N80 (or any S60v3 device) please respond .

    thanks,
    Kishore.

  5. #5
    Registered User
    Join Date
    Dec 2007
    Posts
    3

    Re: File corrupted - with signed sis

    I've got the same problem when building sis file for my e50 device using SDK 60_3rd edition.
    Does anyone of you guys have any advice how to fix it? Please respond.

Similar Threads

  1. PKG file, SISAR & Symbian Signed
    By heuven in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2006-01-12, 09:16
  2. recreate signed sis file
    By rahulsingh in forum Symbian
    Replies: 2
    Last Post: 2005-10-28, 10:37
  3. Creating Themes on the Fly ( creating the SIS file )
    By bayugyug in forum Streaming and Video
    Replies: 0
    Last Post: 2005-10-20, 12:16
  4. FILE CORRUPTED Message
    By S.S.Sudhakar in forum Symbian
    Replies: 1
    Last Post: 2004-12-30, 09:06
  5. Error in Creation of SIS File
    By amitaggarwal in forum Symbian
    Replies: 2
    Last Post: 2004-12-01, 03:57

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×