×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Sep 2009
    Posts
    17

    install .sis by c++

    I have project that require call file *.sis *.sisx to install. I try to search on google. but I don't get coding. Do you have guide, where is I get code it?

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

    Re: install .sis by c++

    You could check the wiki for API plug-ins for installer API, or simply use RApaLsSession to launch the installer with teh sis file.

  3. #3
    Registered User
    Join Date
    Sep 2009
    Posts
    17

    Re: install .sis by c++

    I get this error

    .pro
    Code:
    # Add files and directories to ship with the application 
    # by adapting the examples below.
    # file1.source = myfile
    # dir1.source = mydir
    DEPLOYMENTFOLDERS = # file1 dir1
    
    symbian:TARGET.UID3 = 0xE0B67361
    
    # Smart Installer package's UID
    # This UID is from the protected range 
    # and therefore the package will fail to install if self-signed
    # By default qmake uses the unprotected range value if unprotected UID is defined for the application
    # and 0x2002CCCF value if protected UID is given to the application
    #symbian:DEPLOYMENT.installer_header = 0x2002CCCF
    
    # Allow network access on Symbian
    symbian:TARGET.CAPABILITY += NetworkServices
    
    # If your application uses the Qt Mobility libraries, uncomment
    # the following lines and add the respective components to the 
    # MOBILITY variable. 
    # CONFIG += mobility
    # MOBILITY +=
    
    QT += core gui
    
    SOURCES += main.cpp mainwindow.cpp \
        caosync.cpp
    HEADERS += mainwindow.h \
    FORMS += mainwindow.ui \
        caosync.h
    
    # Please do not modify the following two lines. Required for deployment.
    include(deployment.pri)
    qtcAddDeployment()
    
    
    OTHER_FILES += \
        qtc_packaging/debian_harmattan/rules \
        qtc_packaging/debian_harmattan/README \
        qtc_packaging/debian_harmattan/copyright \
        qtc_packaging/debian_harmattan/control \
        qtc_packaging/debian_harmattan/compat \
        qtc_packaging/debian_harmattan/changelog
    
    LIBS += SWInstCli
    
    
    INCLUDEPATH += "C:\QtSDK\Symbian\SDKs\SymbianSR1Qt474\epoc32\include\mw"
    INCLUDEPATH += "C:\QtSDK\Symbian\SDKs\SymbianSR1Qt474\epoc32\include\platform\mw"
    INCLUDEPATH += "C:\QtSDK\Symbian\SDKs\SymbianSR1Qt474\epoc32\include"

    Code:
    
    
    :-1: Running command: C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/tools/checklib.exe stdc++ --elf C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/release/armv5/udeb/qtmain.lib
    Running command: C:/QtSDK/Symbian/tools/gcce4/bin/arm-none-symbianelf-g++.exe -Wl,-Ttext,0x8000 -Wl,--no-undefined -nodefaultlibs -Wl,-shared -Wl,-Tdata,0x400000 -Wl,--default-symver '-Wl,-soname=installfile{000a0000}[e0b67361].exe' -Wl,--entry=_E32Startup -Wl,-u,_E32Startup,C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/release/armv5/udeb/eexe.lib -o C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/release/armv5/udeb/installfile.exe.sym -Wl,-Map=C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/release/armv5/udeb/installfile.exe.map @C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/build/installfile/c_57e7148a95fcff9a/installfile_exe/armv5/udeb/installfile_udeb_objects.via --start-group C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/release/armv5/udeb/usrt3_1.lib --end-group C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/release/armv5/udeb/usrt3_1.lib C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/release/armv5/udeb/qtmain.lib C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/release/armv5/lib/libstdcppv5.dso C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/release/armv5/lib/QtGui.dso C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/release/armv5/lib/QtCore.dso C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/release/armv5/lib/libpthread.dso C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/release/armv5/lib/libc.dso C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/release/armv5/lib/libm.dso C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/release/armv5/lib/euser.dso C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/release/armv5/lib/libdl.dso C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/release/armv5/lib/stdnew.dso C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/release/armv5/lib/drtaeabi.dso C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/release/armv5/lib/dfpaeabi.dso -lsupc++ -lgcc
    c:/qtsdk/symbian/tools/gcce4/bin/../lib/gcc/arm-none-symbianelf/4.4.1/../../../../arm-none-symbianelf/bin/ld.exe: warning: C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/release/armv5/udeb/usrt3_1.lib(ucppinit.o) uses variable-size enums yet the output is to use 32-bit enums; use of enum values across objects may fail
    C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/build/installfile/c_57e7148a95fcff9a/installfile_exe/armv5/udeb/mainwindow.o: In function `MainWindow':
    C:/project/test_install/installfile/mainwindow.cpp:8: undefined reference to `SwiUI::RSWInstLauncher::RSWInstLauncher()'
    C:/project/test_install/installfile/mainwindow.cpp:8: undefined reference to `SwiUI::RSWInstLauncher::RSWInstLauncher()'
    C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/build/installfile/c_57e7148a95fcff9a/installfile_exe/armv5/udeb/mainwindow.o: In function `MainWindow::on_pushButton_clicked()':
    C:/project/test_install/installfile/mainwindow.cpp:94: undefined reference to `SwiUI::RSWInstLauncher::SilentInstall(TRequestStatus&, TDesC16 const&, TDesC8 const&)'
    collect2: ld returned 1 exit status

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

    Re: install .sis by c++

    you propably should ask Qt specific questions under Qt sections.. Anyway, do note that API plug-in APIs are not included in any SDK, you would actually need to add the libraries into the SDK, and also you should add the symbian library inclusions into your pro file.

    All and all, with Qt, I would suggest simply using the RApaLsSession, then at least there is an chance that all required librries would be included in the SDK.

  5. #5
    Regular Contributor
    Join Date
    May 2010
    Posts
    362

    Re: install .sis by c++

    Moved to "Qt for Symbian".

Similar Threads

  1. Replies: 1
    Last Post: 2010-09-30, 15:37
  2. N85: DLL install error: unable to install a protected application from an untrusted
    By Donald.Eaves in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 5
    Last Post: 2009-02-06, 22:34
  3. [split]Install sis on Series 40 (was. Re: install and run sis on s60 2nd edition fp3)
    By dariusmizuro in forum General Development Questions
    Replies: 1
    Last Post: 2009-01-15, 08:19
  4. Replies: 2
    Last Post: 2008-03-17, 12:56
  5. Cant install NMIT - invalid response during install
    By dkguru in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2003-12-11, 13:10

Posting Permissions

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