×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 20
  1. #1
    Registered User
    Join Date
    Dec 2007
    Posts
    31

    Question how to get installed name of sis

    Dear sir / madam :
    I want to kown whether in the directory C:\system\install \ contain the name of my installed programm , such as project1.sis that i have installed .
    if that directory doesn't contian the sis ,how and where can
    i get the name of installed sis

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Czech Republic
    Posts
    2,037

    Re: how to get installed name of sis

    Hi,

    why do you need this? Might be that if you will explain it, we could provide you better solution. Note also that on 3rd it will not work.

    Anyway you can try the RApaLsSession class to enumerate all installed applications(note that I did not test the code):

    Code:
    	
      	RApaLsSession ls;
    	User::LeaveIfError(ls.Connect());
    	CleanupClosePushL(ls);
    	
    	User::LeaveIfError(ls.GetAllApps()); 
    
    	TInt err = KErrNone;
    	TApaAppInfo appInfo;
    	do
    	{
    		err = ls.GetNextApp(appInfo);
    		if (KErrNone == err && appInfo.iCaption.Length())
    		{	
    			// appInfo.iUid.iUid, 
    			// appInfo.iCaption, 
    			// appInfo.iFullName.Ptr(), 
    		}
     
    	} while(KErrNone == err);
    	
    	CleanupStack::PopAndDestroy(); // ls
    BR
    STeN

  3. #3
    Regular Contributor
    Join Date
    Jan 2005
    Location
    Estonia
    Posts
    350

    Re: how to get installed name of sis

    AFAIK this code does not show the installed applications that don't have UI, i.e. contain only background programs or libraries.
    "I only know that I know nothing." (Socrates)

  4. #4
    Registered User
    Join Date
    Dec 2007
    Posts
    31

    Re: how to get installed name of sis

    Thank you very much for pay attetion to my problems,may be i donn't explain my problems clearly,

    I just want to get the insallation name of my project only ,

    for example ,my project's install name is "project1.sis " ,

    so i want to write code to get " project1.sis ", my order is that :

    to diffrent person wanting to install my programme ,i will give

    him/her different installing name ,such as project1.sis project2

    .sis project3.sis etc ....,by getting the installation name ,i

    can kown who is using the project ,so i can set diffrent data

    for them

    thank you very much

  5. #5
    Regular Contributor
    Join Date
    Jan 2005
    Location
    Estonia
    Posts
    350

    Re: how to get installed name of sis

    Forget it. As I said - user can easily rename the SIS file before installing it and anyway you have no access to SIS file.
    Consider using phone's IMEI or IMSI codes instead
    "I only know that I know nothing." (Socrates)

  6. #6
    Registered User
    Join Date
    Dec 2007
    Posts
    31

    Question Re: how to get installed name of sis

    thank you ,but
    I know that on S60 2.0 ,the installing file such as prokect1.sis

    is backuped in directory C:\system\install \ ,there ,has the

    file having the same name as my installation files such as

    project1.sis .but to S60 3.0 , i don't kown whether

    C:\system\install \ has the same name file olso ,because

    my project is download by wap (GPRS) ,so the user don't kown

    the installation file name ,they only kown the appliaction's

    name

  7. #7
    Regular Contributor
    Join Date
    Jan 2005
    Location
    Estonia
    Posts
    350

    Re: how to get installed name of sis

    You could do all the fancy stuff in 2.0, but not in 3.0.
    When and how and why are you going to set the "different data"?
    "I only know that I know nothing." (Socrates)

  8. #8
    Registered User
    Join Date
    Dec 2007
    Posts
    31

    Re: how to get installed name of sis

    thank you .
    i do this , beacause in out country ,in diffrent area ,we want to
    set diffrent data, or there will be collisions .

  9. #9
    Registered User
    Join Date
    Dec 2007
    Posts
    31

    Question Re: how to get installed name of sis

    I just want to get the insallation name of my project only ,

    for example ,my project's install name is "project1.sis " ,

    so i want to write code to get " project1.sis ", my order is that :

    to diffrent area persons wanting to install my programme ,i will give

    him/her different installing name ,such as project1.sis project2

    .sis project3.sis etc ....,by getting the installation name ,i

    can kown where the the project is being used,so i can set

    diffrent data for them to void collition

    thank you very much

  10. #10
    Regular Contributor
    Join Date
    Jan 2005
    Location
    Estonia
    Posts
    350

    Re: how to get installed name of sis

    If by WHERE you mean country then it is easier to query the country code from the phone
    "I only know that I know nothing." (Socrates)

  11. #11
    Registered User
    Join Date
    Dec 2007
    Posts
    31

    Question Re: how to get installed name of sis

    thank you .by where i mean under which directory i can get

    my project's installation name ,such as myproject1.sis .

    in our country ,some data may be sentive to diffrent area

    peaples. so i have set some data basing on diffrent area

    thank you

  12. #12
    Regular Contributor
    Join Date
    Jan 2005
    Location
    Estonia
    Posts
    350

    Re: how to get installed name of sis

    Try to understand - YOU CAN NOT GET IT.
    "I only know that I know nothing." (Socrates)

  13. #13
    Registered User
    Join Date
    Dec 2007
    Posts
    31

    Re: how to get installed name of sis

    may be there is another way ,as the user download the sis through web ,so after the user download , in which directory does the sis store ?

  14. #14
    Regular Contributor
    Join Date
    Jan 2005
    Location
    Estonia
    Posts
    350

    Re: how to get installed name of sis

    Scan these folders.
    _LIT(KPath1, "c:\\nokia\\installs\\");
    _LIT(KPath2, "c:\\data\\installs\\");
    _LIT(KPath3, "e:\\nokia\\installs\\");
    _LIT(KPath4, "e:\\data\\installs\\");
    _LIT(KPath5, "e:\\");
    _LIT(KPath6, "c:\\system\\temp\\");
    _LIT(KPath7, "e:\\system\\temp\\");

    I made for my application a separate program that is started during installation. It scans through these folders and copies the SIS file for future use.
    "I only know that I know nothing." (Socrates)

  15. #15
    Registered User
    Join Date
    Dec 2007
    Posts
    31

    Re: how to get installed name of sis

    thank you ,but i serch in thoes directory ,but cann't find my
    sis

Similar Threads

  1. Replies: 4
    Last Post: 2007-03-09, 13:42
  2. SIS Cannot be installed in E60/E61
    By hmleung in forum Symbian
    Replies: 4
    Last Post: 2006-10-31, 02:22
  3. Replies: 7
    Last Post: 2006-10-27, 10:49
  4. Replies: 0
    Last Post: 2006-02-08, 19:40
  5. Replies: 2
    Last Post: 2002-12-04, 03:04

Posting Permissions

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