×

Discussion Board

Results 1 to 14 of 14
  1. #1
    Regular Contributor
    Join Date
    Sep 2006
    Posts
    185

    Setting Path txt File

    Hi All,

    I have a small request anybody know how setting path txt file during install?
    see this example when I import display a licence agreement during installation it's appear for me this path on my PC
    For Example1:
    Code:
    File will be displayed during install: C:\DOCUME~1\USER\LOCALS~1\Temp\MKS0\PRO2.TXT
    How do I can make small path like this example2?
    File will be displayed during install: C:\WINDOWS\MKS0\Pro.txt

    Thank a lot...

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

    Smile Re: Setting Path txt File

    Hi,

    Yes. You can use small path.
    For e.g: You can have following entry in your .pkg file
    "C:\WINDOWS\MKS0\Pro.txt"-"",FT,TA

    Content of the file will be displayed on installation time.

    Search for "FT" , "TA" in the following link:
    http://www.symbian.com/developer/tec...ang_indep.html

    PS: Provided that Pro.txt file resides on C:\WINDOWS\MKS0\

    I hope i have understood your question properly.

    Kiran.

  3. #3
    Regular Contributor
    Join Date
    Sep 2006
    Posts
    185

    Re: Setting Path txt File

    Hi Kiran,

    By using UmakeSIS Tool By Gip when Open EPOC SIS Files will be appears the SIS file Contents this path:
    File will be displayed during install: C:\WINDOWS\MKS0\Pro.txt
    File will be displayed during install: C:\DOCUME~1\USER\LOCALS~1\Temp\MKS0\PRO2.TXT

    But be sure, WINDOWS * MKS0 * Pro.txt don't install! just it's the path displayed txt file.

    I didn't know how is that?

  4. #4
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,344

    Unhappy Re: Setting Path txt File

    Hello Zero 6630,
    Quote Originally Posted by Zero 6630
    Hi Kiran,

    By using UmakeSIS Tool By Gip when Open EPOC SIS Files will be appears the SIS file Contents this path:
    File will be displayed during install: C:\WINDOWS\MKS0\Pro.txt
    File will be displayed during install: C:\DOCUME~1\USER\LOCALS~1\Temp\MKS0\PRO2.TXT

    But be sure, WINDOWS * MKS0 * Pro.txt don't install! just it's the path displayed txt file.

    I didn't know how is that?
    I have not come across such a tool. So i don't know what's there beneath.
    Don't have any idea. Really. Sorry for that.

    Kiran.

  5. #5
    Regular Contributor
    Join Date
    Sep 2006
    Posts
    185

    Re: Setting Path txt File

    in fact I mean the path on my computer

    when I use display a licence agreement during installation it's will chose this path on my computer C:\Documents and Settings\User\Local Settings\Temp\..!
    you are know this files this is Essential folders of PC can't deleting her or changing it even to make like this path (C:\WINDOWS\)

    I hope to give me the good method for that.

  6. #6
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,671

    Re: Setting Path txt File

    People will not see the path of the text file during install, they will see the text file instead.
    If you are annoyed with the path being packaged into the .sis file (which is normally not seen, but unsis reveals it), you can set the Temp environment variable to an other location. Like c:\temp (make sure that the folder exists of course).

  7. #7
    Regular Contributor
    Join Date
    Sep 2006
    Posts
    185

    Re: Setting Path txt File

    Hi,
    I think this is will clarify my question completely.
    Here is examples with pics I hope to Understands me!

    in The beginning when Add "Show txt File" manual and chose the location of the txt file will appear for example this pic:
    http://img179.imageshack.us/img179/731/image1zh6.jpg

    And UnMakeSIS Tool will give me like this pic:
    http://img179.imageshack.us/img179/2647/image2ym9.jpg

    Why not Stay location just as he C:\Nokia.txt ?
    now the real image which made me wanted this method...
    http://img220.imageshack.us/img220/43/image3dw1.jpg

    This is from contents SimWorks AntiVirus!!!
    If know about her give me the method.

  8. #8
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,671

    Re: Setting Path txt File

    You might want to read my previous post.
    So the "C:\DOCUME~1\USER\LOCALS~1\Temp" part is what your Temp variable contains.

  9. #9
    Regular Contributor
    Join Date
    Sep 2006
    Posts
    185

    Re: Setting Path txt File

    I have this message when cut the temp file to C:\Temp

    Code:
    Error
    Failed to save project: The system cannot find the path specified
                                  {Cancel}  {Retry}

  10. #10
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,344

    Question Re: Setting Path txt File

    Hi,
    Quote Originally Posted by Zero 6630
    I have this message when cut the temp file to C:\Temp

    Code:
    Error
    Failed to save project: The system cannot find the path specified
                                  {Cancel}  {Retry}
    Is C:\Temp really exist on your PC?
    And what path are you feeding to save the project?

    Kiran.

  11. #11
    Regular Contributor
    Join Date
    Sep 2006
    Posts
    185

    Re: Setting Path txt File

    Yes C:\Temp is exist on my PC, and I save it in folder of my project.
    Last edited by Zero 6630; 2007-02-05 at 08:28.

  12. #12
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,671

    Re: Setting Path txt File

    I would not save my project in the Temp folder. What are you doing exactly?

  13. #13
    Nokia Developer Moderator
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    4,533

    Re: Setting Path txt File

    Quote Originally Posted by Zero 6630
    Yes C:\Temp is exist on my PC, and I save it in folder of my project.
    If you are annoyed with the path being packaged into the .sis file (which is normally not seen, but unsis reveals it), you can set the Temp environment variable to an other location. Like c:\temp (make sure that the folder exists of course).
    Zero, you have confused to what Wizard_hu suggested...and you have mixed up the whole suggestion thing. I suggest for your own satisfaction, make a directory in the C:\ called 'Temp'. and do 'your stuff'. I firmly believe you have tried to set your environment variable (path) and then got entangled as it might have not done what you felt it did.

    Just to simplify your own logic, create that temp directory in the c:\ and see if it works for you.

    Good luck my friend
    cheers
    Neil

  14. #14
    Regular Contributor
    Join Date
    Sep 2006
    Posts
    185

    Thumbs up Re: Setting Path txt File

    for yet it's failed... is still found that path by unsis!!!
    File will be displayed during install: C:\DOCUME~1\USER\LOCALS~1\Temp\MKS0\PRO2.TXT

    I'm searching about this method on internet and SDK.hlp and not find like this?
    i don't know how is that work?
    File will be displayed during install: C:\WINDOWS\MKS0\Pro.txt

    ====================

    Check UnMakeSIS tool on Simworks program then give me your result
    if you can doing like this. C:\WINDOWS\MKS0\Pro.txt

    1.Attached The Tool below...
    2.Download SimWorks from the link:http://www.simworks.biz/sav/AntiVirus.php?id=update
    Attached Files Attached Files
    Last edited by Zero 6630; 2007-02-10 at 16:23.

Similar Threads

  1. Carbide bug: Aif Compiler: File or path name too long
    By alexbirkett in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 2
    Last Post: 2008-05-10, 18:30
  2. Replies: 4
    Last Post: 2006-07-17, 05:58
  3. Tips on using NDS 1.1
    By mitts in forum Symbian Tools & SDKs
    Replies: 7
    Last Post: 2006-01-18, 16:07
  4. What is the default path to read a file from?
    By lakshmi.prasanna in forum Symbian
    Replies: 2
    Last Post: 2005-11-30, 14:45

Posting Permissions

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