×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Super Contributor
    Join Date
    Jul 2008
    Posts
    2,020

    Qt app always installs onto C:/

    Hi Folks,
    I just had the strangest of experiences - my new app was rejected with this statement:
    Comments from the QA team:
    Failed QA.
    ISSUE #1: SUMMARY: The application cannot be selected a specific drive for installation.
    STEPS TO REPRODUCE:
    1. Download the content.
    2. Install the content.
    ACTUAL RESULT: When installing the content, the content is installed to C: drive by default without prompt for selecting a specific drive during installation.
    EXPECTED RESULT: The application can be installed successfully by selecting a specific drive.
    AFFECTED DEVICES: All devices.
    FREQUENCY REPRODUCED: 100%.
    However, I have used but the pkg files as generated by Carbide. What is up here?
    The lines above are the best I have to offer.If anyone of you is of more advanced knowledge, I ask for your patience and understanding! - unknown arab poet
    http://www.tamoggemon.com - Symbian blog - Windows Phone blog
    My other blogs:
    webOS blog iPhone blog BlackBerry blog Samsung bada blog Android blog

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,169

    Re: Qt app always installs onto C:/ - WTF?

    check the pkg file, and see that it does not specify target Drive.

  3. #3
    Super Contributor
    Join Date
    Jul 2008
    Posts
    2,020

    Re: Qt app always installs onto C:/ - WTF?

    Hi Yucca,
    I am just using the Carbide generated pkg files. In fact, when I was just installing the TypeGun.sis (not the installer package) on my phone, it was wellmannered and asked.

    But, here is the inner pkg:
    Code:
    ; TypeGun_template.pkg generated by qmake at 2011-08-07T21:14:15
    ; This file is generated by qmake and should not be modified by the user
    ;
    
    ; Language
    &EN
    
    
    ; SIS header: name, uid, version
    #{"TypeGun"},(0x20038595),1,0,0
    
    ; Localised Vendor name
    %{"Vendor"}
    
    ; Unique Vendor name
    :"Vendor"
    
    
    ; Manual PKG pre-rules from PRO files
    ; Default dependency to Qt libraries
    (0x2001E61C), 4, 6, 3, {"Qt"}
    ; Default HW/platform dependencies
    [0x101F7961],0,0,0,{"S60ProductID"}
    [0x102032BE],0,0,0,{"S60ProductID"}
    [0x102752AE],0,0,0,{"S60ProductID"}
    [0x1028315F],0,0,0,{"S60ProductID"}
     
    
    ; Executable and default resource files
    "/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/release/$(PLATFORM)/$(TARGET)/TypeGun.exe"    - "!:\sys\bin\TypeGun.exe"
    "/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/data/z/resource/apps/TypeGun.rsc"    - "!:\resource\apps\TypeGun.rsc"
    "/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/data/z/private/10003a3f/import/apps/TypeGun_reg.rsc"    - "!:\private\10003a3f\import\apps\TypeGun_reg.rsc"
    ; DEPLOYMENT
    "/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/data/z/private/20038595/bossendorfer-loop-3.wav"    - "!:\private\20038595\bossendorfer-loop-3.wav"
    "/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/data/z/private/20038595/lrgboom.wav"    - "!:\private\20038595\lrgboom.wav"
    "/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/data/z/private/20038595/midboom.wav"    - "!:\private\20038595\midboom.wav"
    "/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/data/z/private/20038595/smlboom.wav"    - "!:\private\20038595\smlboom.wav"
    "/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/data/z/private/20038595/TypeGun_ar.qm"    - "!:\private\20038595\TypeGun_ar.qm"
    "/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/data/z/private/20038595/TypeGun_de.qm"    - "!:\private\20038595\TypeGun_de.qm"
    "/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/data/z/private/20038595/TypeGun_en.qm"    - "!:\private\20038595\TypeGun_en.qm"
    "/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/data/z/private/20038595/TypeGun_fr.qm"    - "!:\private\20038595\TypeGun_fr.qm"
    "/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/data/z/private/20038595/TypeGun_sk.qm"    - "!:\private\20038595\TypeGun_sk.qm"
    
    ; Manual PKG post-rules from PRO files
    "$(EPOCROOT)epoc32\data\z\resource\apps\QtTypeGun_icons.mbm" -"!:\resource\apps\QtTypeGun_icons.mbm"

    And the outer pkg:
    Code:
    ; TypeGun_installer.pkg generated by qmake at 2011-08-07T21:14:15
    ; This file is generated by qmake and should not be modified by the user
    ;
    
    ; Language
    &EN
    
    
    ; SIS header: name, uid, version
    #{"TypeGun installer"},(0xA000D7CE),1,0,0
    
    ; Localised Vendor name
    %{"Vendor"}
    
    ; Unique Vendor name
    :"Vendor"
    
    
    ; Manual PKG pre-rules from PRO files
    ; Default dependency to Qt libraries
    ; Default HW/platform dependencies
    [0x101F7961],0,0,0,{"S60ProductID"}
    [0x102032BE],0,0,0,{"S60ProductID"}
    [0x102752AE],0,0,0,{"S60ProductID"}
    [0x1028315F],0,0,0,{"S60ProductID"}
     
    
    
    "C:/Symbian/Carbide/workspace/QtTypeGun2/TypeGun.sis" - "c:\adm\TypeGun.sis"
    @"C:/Qt/4.6.3/smartinstaller.sis",(0x2002CCCD)
    All the best
    Tam
    The lines above are the best I have to offer.If anyone of you is of more advanced knowledge, I ask for your patience and understanding! - unknown arab poet
    http://www.tamoggemon.com - Symbian blog - Windows Phone blog
    My other blogs:
    webOS blog iPhone blog BlackBerry blog Samsung bada blog Android blog

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,169

    Re: Qt app always installs onto C:/ - WTF?

    please check: http://info.publish.ovi.com/?p=886

    the wrapper package should look like this in the end: http://doc.qt.nokia.com/smart-instal...er-format.html

  5. #5
    Super Contributor
    Join Date
    Jul 2008
    Posts
    2,020

    Re: Qt app always installs onto C:/ - WTF?

    Hi,
    looks like I have been installing to c:/adm - the question is if this can really be the root of the problem.

    Either way, big thanks - I will be in touch again shortly
    The lines above are the best I have to offer.If anyone of you is of more advanced knowledge, I ask for your patience and understanding! - unknown arab poet
    http://www.tamoggemon.com - Symbian blog - Windows Phone blog
    My other blogs:
    webOS blog iPhone blog BlackBerry blog Samsung bada blog Android blog

  6. #6
    Registered User
    Join Date
    Oct 2010
    Posts
    256

    Re: Qt app always installs onto C:/ - WTF?

    You probably already noticed, but the testing UID 0xA000D7CE in the installer pkg should also be changed to the reserved wrapper package UID 0x2002CCCF.

  7. #7
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,169

    Re: Qt app always installs onto C:/ - WTF?

    the UID does not matter, it only matters on signings, and with self-signing you can not use 0x2002CCCF.

  8. #8
    Super Contributor
    Join Date
    Jul 2008
    Posts
    2,020

    Re: Qt app always installs onto C:/ - WTF?

    Quote Originally Posted by jetrix74 View Post
    You probably already noticed, but the testing UID 0xA000D7CE in the installer pkg should also be changed to the reserved wrapper package UID 0x2002CCCF.
    Hi,
    oh noes - looks like I forgot to change this UID as well.

    My bad
    The lines above are the best I have to offer.If anyone of you is of more advanced knowledge, I ask for your patience and understanding! - unknown arab poet
    http://www.tamoggemon.com - Symbian blog - Windows Phone blog
    My other blogs:
    webOS blog iPhone blog BlackBerry blog Samsung bada blog Android blog

  9. #9
    Super Contributor
    Join Date
    Jul 2008
    Posts
    2,020

    Re: Qt app always installs onto C:/

    Hi,
    unfortunately, I still face the same error.

    I used this pkg file:
    Code:
    ; TypeGun_installer.pkg generated by qmake at 2011-08-07T21:14:15
    ; This file is generated by qmake and should not be modified by the user
    ;
    
    ; Language
    &EN
    
    
    ; SIS header: name, uid, version
    #{"TypeGun installer"},(0x2002CCCF),1,0,0
    
    ; Localised Vendor name
    %{"Tamoggemon"}
    
    ; Unique Vendor name
    :"Tamoggemon"
    
    
    ; Manual PKG pre-rules from PRO files
    ; Default dependency to Qt libraries
    ; Default HW/platform dependencies
    [0x101F7961],0,0,0,{"S60ProductID"}
    [0x102032BE],0,0,0,{"S60ProductID"}
    [0x102752AE],0,0,0,{"S60ProductID"}
    [0x1028315F],0,0,0,{"S60ProductID"}
     
    
    
    "C:/Symbian/Carbide/workspace/QtTypeGun2/TypeGun.sis" - "!:\private\2002CCCE\import\TypeGun.sis"
    @"C:/Qt/4.6.3/smartinstaller.sis",(0x2002CCCD)
    Looks like it is now time to change to the Qt Creator for real - I really preferred Carbide...
    The lines above are the best I have to offer.If anyone of you is of more advanced knowledge, I ask for your patience and understanding! - unknown arab poet
    http://www.tamoggemon.com - Symbian blog - Windows Phone blog
    My other blogs:
    webOS blog iPhone blog BlackBerry blog Samsung bada blog Android blog

Similar Threads

  1. Problem publishing app onto devices
    By firegod666 in forum Qt
    Replies: 0
    Last Post: 2011-06-01, 10:49
  2. Replies: 12
    Last Post: 2010-07-19, 20:43
  3. ODD can't launch app, but app installs and runs fine on phone
    By washellington in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2010-04-08, 21:03
  4. upload J2ME app onto Java phones
    By mzichao in forum Mobile Java General
    Replies: 1
    Last Post: 2005-01-11, 07:11
  5. Getting app onto 3410
    By Blindman in forum Mobile Java General
    Replies: 2
    Last Post: 2002-10-28, 10:06

Posting Permissions

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