×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User
    Join Date
    Jan 2009
    Posts
    8

    how to make a sis file for a configuration file

    Hi,

    I have a configuration file, for my application, with .conf extension. Is it possible to make a sis file for it? The idea is that I have xml configuration in the .conf file and I want to make a sis file for it so that a user can run the sis file and the configuration are in place for the the application. If anybody knows, please suggest how could I do it.

    Thanks

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: how to make a sis file for a configuration file

    yes and NO.
    It all depends where you want to put your .conf file.

  3. #3
    Super Contributor
    Join Date
    Nov 2004
    Location
    Wiltshire, UK
    Posts
    3,644

    Re: how to make a sis file for a configuration file

    It also depends on whether you want a per sis configuration or not
    Download Symbian OS now! [url]http://developer.symbian.org[/url]

  4. #4
    Registered User
    Join Date
    Jan 2009
    Posts
    8

    Re: how to make a sis file for a configuration file

    I have a handler for it and when this conf file is launched actually the handler runs it and create the required configuration. I made a .pkg file for it but I get 'Unable to Install' message. I wonder why? My .pkg file looks like this

    &EN

    #{"Conf_xml"},(0xEFFFFFFF ),1,0,0,TYPE=SISOPTION

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

    ;Unique Vendor name
    :"Vendor"

    "\Epoc32\release\armv5\urel\configuration_xml.conf" -"!:\sys\bin\configuration_xml.conf",FR,RI

    Any suggestions?

    I was also wondering if FR and RI works only for .exe files or any extension?

  5. #5
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: how to make a sis file for a configuration file

    you can't put your non-executable files in bin.
    Rule is : you can't access any files without AllFiles capability.
    Suggestion: try using a public folder in /system/data/<app name>/

  6. #6
    Registered User
    Join Date
    Jan 2009
    Posts
    8

    Re: how to make a sis file for a configuration file

    good point and I changed it but still gives the same message..What could be the reason...

  7. #7
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: how to make a sis file for a configuration file

    what is error you are getting.
    are you sure you can use FR,RI on non-exe files.

  8. #8
    Super Contributor
    Join Date
    Nov 2004
    Location
    Wiltshire, UK
    Posts
    3,644

    Re: how to make a sis file for a configuration file

    I think the poster is refering to this - using mime types in files:
    http://developer.uiq.com/devlib/uiq_..._testmime.html

    Unfortuantly I have no idea if it works, but I would strongly caution against installing the mimetype and attempting to run/regonize it in the same install session.
    Download Symbian OS now! [url]http://developer.symbian.org[/url]

  9. #9
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: how to make a sis file for a configuration file

    hi garrygar, do clarify if what Paul is suggesting is right in your case or not. As i do not see any point of launching a configuration file .

Similar Threads

  1. problem when importing from carbide c++ to vs 2003!
    By misfit.physics in forum Symbian Tools & SDKs
    Replies: 12
    Last Post: 2008-02-19, 09:45
  2. [announce] PyUIQ. Python for UIQ 2.1 and 3.x
    By OscarBernabeu in forum Python
    Replies: 35
    Last Post: 2008-01-17, 09:12
  3. Problem to make sis file give this error *** [GetIMSI.bas] Error 1
    By ankushbabrekar in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 4
    Last Post: 2007-03-01, 11:22
  4. Replies: 6
    Last Post: 2007-03-01, 05:48
  5. using ARMI to make a sis file
    By Elgoyhen in forum Symbian Tools & SDKs
    Replies: 10
    Last Post: 2005-08-25, 04:53

Posting Permissions

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