×

Discussion Board

Results 1 to 10 of 10
  1. #1
    Registered User
    Join Date
    Jan 2011
    Posts
    167

    Need help on sis Installation process.

    Hello friends,

    i want to create one application which ask for keys from user at the time of installation and if enter wrong key then terminate the installation process.

    Do anybody have code-example for S60 3rd and 5th edition?
    Pls, Guide me.


    Bheda Dilipsinh

  2. #2
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,347

    Re: Need help on sis Installation process.

    Well, I think you need to create your own logic to do that. Hints:

    1) Use IMEI
    2) You may use Cryptography APIs along with the IMEI to generate some logic: http://wiki.forum.nokia.com/index.ph...ptography_APIs
    3) Or you may use your own key generation logic
    Nokia Developer Wiki Moderation team

  3. #3
    Registered User
    Join Date
    Jan 2011
    Posts
    167

    Re: Need help on sis Installation process.

    Hello Kiran,

    i will use my own authentication logic but my problem is : how to control "Installer or Installation Process".


    Well, kiran , right_now i m working in "Saltriver Infosystem Pvt Ltd" in "Ahmedabad".
    Before 3 to 4 years, company have an employee named "Kiran" and he is now in "Finland".
    So, is it "YOU"?


    Bheda Dilipsinh

  4. #4
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    4,080

    Re: Need help on sis Installation process.

    Never heard about password protected "installation" , which you are trying to achieve, ofcourse it has its "Uninstall" part available , with some modifications in pkg file etc.

    You can try what is suggested in #2. Do not let user open the app, until & unless user has entered the correct code.

  5. #5
    Registered User
    Join Date
    Jan 2011
    Posts
    167

    Re: Need help on sis Installation process.

    dear vineet,

    as we can show notes at time of installation, cant we use any GUI to show on installation?

    is it possible to not show any ICON of our GUI application on screen?


    Bheda Dilipsinh

  6. #6
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    4,080

    Re: Need help on sis Installation process.

    AFAIK, only the project's pkg file contains the options/information which we want to show to the user & there is no such provision in pkg file to show any kind of dialog box to the user while installing.

  7. #7
    Regular Contributor
    Join Date
    Feb 2006
    Location
    Los Angeles
    Posts
    217

    Re: Need help on sis Installation process.

    You can show a "continue or exit" dialog during install using a TEXTEXIT pkg line. For example:

    Code:
    if (DISPLAYXPIXELS<>240) OR (DISPLAYYPIXELS<>320)
    "..\docs\resolution_not_supported__240x320.txt"-"", FILETEXT, TEXTEXIT
    ENDIF
    This shows users a message and gives them two options: "Continue" or "Exit"

    I think that's as fancy as you can get in the pkg script. Your best bet might be to encrypt your data files, tell the user during install they will need a key to run your software (continue or exit), then ask for a key when the app is first run. (Don't decrypt the data files, re-encrypt them with a new key based on the provided key and the IMEI, and decrypt them on load.)

  8. #8
    Registered User
    Join Date
    Jan 2011
    Posts
    167

    Re: Need help on sis Installation process.

    Dear Vineet,

    its not AFAIK, its true and already have such application which shows me notes while installation process.

    Ok, tell me, if i have GUI application and i dont want show any ICON on screen, So how can I?


    Bheda Dilipsinh
    Last edited by dilipsinh; 2011-02-26 at 06:39.

  9. #9
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    4,080

    Re: Need help on sis Installation process.

    well i already phased out the option of suggesting to show the message, as i knew that it gives the users a liberty to continue with the installation.

    well if you want to hide the GUI app icon, you can simply mention a flag in your project's _reg.rss file :

    hidden=KAppIsHidden;

    refer here also: http://wiki.forum.nokia.com/index.ph...n_icon_in_menu

  10. #10
    Registered User
    Join Date
    Jan 2011
    Posts
    167

    Re: Need help on sis Installation process.

    Thanks Vineet

    Regards,
    Bheda Dilipsinh

Similar Threads

  1. Need help regarding jar file installation
    By kalpspugaz in forum Mobile Java General
    Replies: 2
    Last Post: 2010-09-18, 16:52
  2. SIS Installation Error on E65 during installation process
    By FrankTheFox in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 3
    Last Post: 2009-09-01, 22:14
  3. Need help in for new installation
    By zerglim in forum Symbian
    Replies: 1
    Last Post: 2004-06-04, 20:03

Posting Permissions

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