Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User aradicev's Avatar
    Join Date
    Jan 2009
    Posts
    20
    Hi,

    in my pkg file I have the following code that controls the installation based upon the machine ID.

    IF ((MachineUID = <some machnine id>) OR (MachineUID = <some machnine id>) ... )

    ELSE
    "file.txt" -"",FT,TE
    ENDIF

    for MR and FP1 this works fine, but for FP2 where makesis fails with:

    error: invalid destination path or syntax.
    ***Non-Zero Status: makesis.exe returned with exit value = 1

  2. #2
    Nokia Developer Champion savaj's Avatar
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034
    Quote Originally Posted by aradicev View Post
    Hi,

    in my pkg file I have the following code that controls the installation based upon the machine ID.

    IF ((MachineUID = <some machnine id>) OR (MachineUID = <some machnine id>) ... )

    ELSE
    "file.txt" -"",FT,TE
    ENDIF

    for MR and FP1 this works fine, but for FP2 where makesis fails with:

    error: invalid destination path or syntax.
    ***Non-Zero Status: makesis.exe returned with exit value = 1
    Make sure that there is no special character in a statement (-"",FT,TE).

  3. #3
    Nokia Developer Champion kiran10182's Avatar
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,236
    Which specific line is causing the problem in your .pkg file?

    Give it a try with giving fullname for FT and TE. FILETEXT, TEXTEXIT
    Nokia Developer Wiki Moderation team

  4. #4
    Registered User aradicev's Avatar
    Join Date
    Jan 2009
    Posts
    20
    The line

    "file.txt" -"",FT,TE

    is responsible ... if I remove it it works.
    I have also tried the full command names FILETEXT, TEXTEXIT. I have also tried without TE, but nothing helped.

    regards

  5. #5
    Nokia Developer Champion savaj's Avatar
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034
    And what about special character??? once delete this line and type by your own, it might work.

  6. #6
    Registered User aradicev's Avatar
    Join Date
    Jan 2009
    Posts
    20
    Quote Originally Posted by savaj View Post
    And what about special character??? once delete this line and type by your own, it might work.
    well, I'll try this too since I have no better idea at the moment, but I don't give it much hope since the same line works quit well for MR and FP1 builds

    regards

  7. #7
    Registered User aradicev's Avatar
    Join Date
    Jan 2009
    Posts
    20
    Well, as I have already suspected, there were no special characters, but I have found another thing which dazzles me even more. Inside the IF clause I had a line:

    ""-"!:\Data\MyDir\*.*", FN

    which removes that path upon uninstall. If I remove this line everything works

    I do not see the connection ... this particular line is within the IF clause and the other one is ("file.txt" -"",FT,TE) in the ELSE clause.
    How on earth those two can be in conflict ?!

Similar Threads

  1. Replies: 4
    Last Post: 2007-12-18, 11:06
  2. SIS not created, Carbide ignores pkg file
    By KarstenBln in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2007-09-14, 15:12
  3. problem installing sis file
    By lucidness in forum Symbian C++
    Replies: 8
    Last Post: 2006-04-20, 17:51
  4. The lang-code problem in pkg file
    By Wah in forum Symbian C++
    Replies: 0
    Last Post: 2006-02-20, 04:22
  5. Replies: 1
    Last Post: 2003-04-16, 10:07

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved