×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor
    Join Date
    Feb 2004
    Posts
    99

    Question 3rd edition Launching, EXE on App Start and Uninstall

    Hi All,

    In 3rd edition, I want to launch an exe on app removal .. I know how to achieve it( sing FR, RR, RW ) ... but I cannt even add my exe to sis. it gives me an error "Unable to install" on device E62.

    I have created the exe using wizard provided in codeworrier 3.1. which has UID 0. I changed that UID from 0 to some other. but same case.

    Even if I try to give the exe in pkg without RF, RR ... it still gives same error.

    thanks a lot in advance.

    ..
    KiraN Puranik

  2. #2
    Registered User
    Join Date
    Apr 2005
    Location
    Barcelona
    Posts
    1,678

    Re: 3rd edition Launching, EXE on App Start and Uninstall

    You'd need to define the appropriate capabilities (if required) and your devcert must support them. Otherwise your sis won't be installed. Same with the uid, you may need to use one in the protected range or not, depending on your specific case.

  3. #3
    Regular Contributor
    Join Date
    Feb 2004
    Posts
    99

    Question Re: 3rd edition Launching, EXE on App Start and Uninstall

    Hi,

    Thanks a lot for your quick reply. I am already giving a protected range of UIDs. I added Capabilities to this exe, which I was giving to my main application ( EXE ). but still its giving same problem... "Unable to install"

    In package file I am giving the path as

    "\Symbian\9.1\S60_3rd\Epoc32\winscw\c\MyData\Cleaner.exe" -"!:\sys\bin\Cleaner.exe"

    I also tried

    "\Symbian\9.1\S60_3rd\Epoc32\winscw\c\MyData\Cleaner.exe" -"!:\MyData\IMCleaner.exe"

    thanks a lot again.

    ..
    KiraN Puranik

  4. #4
    Regular Contributor
    Join Date
    Aug 2004
    Posts
    295

    Re: 3rd edition Launching, EXE on App Start and Uninstall

    Having same problems here. Please post solution if you happen to find one.
    Last edited by simo.salminen; 2006-06-30 at 08:39.

  5. #5
    Regular Contributor
    Join Date
    Feb 2004
    Posts
    99

    Thumbs up Re: 3rd edition Launching, EXE on App Start and Uninstall

    I was not giving the SID for the EXE in the MMP. Now it works fine. I put that in sys\bin\ folder

    cheers.

    ..
    KiraN Puranik

  6. #6
    Regular Contributor
    Join Date
    Aug 2004
    Posts
    295

    Re: 3rd edition Launching, EXE on App Start and Uninstall

    Ok, this solved the prob in the .mmp file:
    Code:
    #ifdef EKA2
    SECUREID    0x<your_uid>
    #endif
    in .pkg:
    Code:
    "C:\Symbian\9.1\S60_3rd\Epoc32\release\GCCE\urel\yourprog_uninst.exe" - "!:\sys\bin\yourprog_uninst.exe",FILERUN,RR,RUNWAITEND
    Please note that the SDK build chain bugs some times. I had to manually delete the .exe from the SDK before it built another one with proper secure id. You can use petran.exe -dump s to see if the .exe has the right uid.

Posting Permissions

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