+ Reply to Thread
Results 1 to 1 of 1

Thread: Using a .qs file for creating a shortcut for a Qt app

  1. #1
    Join Date
    Jan 2016
    Thanked 1 Time in 1 Post
    Qt products
    Windows Android

    Default Using a .qs file for creating a shortcut for a Qt app

    I'm going to create an installer for my Qt app using Qt Installer Framework.

    I have a Qt Cal.exe file and a package_directory folder on my Windows desktop with the following contents:

    The package_directory's contents.
    The config folder contains a config.xml file.
    The packages folder contains a subfolder named com.vendor.product. And it, contains two subfolders named data and meta.
    The data subfolder contains a file named data.7z.
    The meta subfolder contains three files:
    A license.txt file, a package.xml file, and a installscript.qs file.

    By a command Line, I try to use the binarycreator.exe to create the installer this way:

    C:\Qt\QtIFW2.0.3\bin\binarycreator.exe -c C:\Users\CS\Desktop\package_directory\config\confi g.xml -p C:\Users\CS\Desktop\package_directory\packages C:\Users\CS\Desktop\Result\Cal.exe

    The Command is run well and without any error and it creates an installer (program) named Cal in the Result folder (which was on my Desktop).

    When I run the program to install it on my Windows machine, it will be installed and it also (like any usual program) creates a shortcut on the Desktop. Until now everything OK.

    But the problem!
    The problem is that, that shortcut file is an unknown file and it shows an error message!

    My question is, what is the problem with the installscript.qs file that creates an unknown file, and how to solve it, so that it creates a useful shortcut please?
    Last edited by franky; 12th February 2017 at 17:35.

+ Reply to Thread

Similar Threads

  1. Delete Windows shortcut file
    By Boron in forum Qt Programming
    Replies: 2
    Last Post: 16th January 2013, 21:17
  2. Replies: 2
    Last Post: 26th March 2012, 22:38
  3. Creating xml file from Xml Schema (xsd) file
    By pieczara in forum Newbie
    Replies: 1
    Last Post: 25th February 2011, 23:11
  4. creating Xml file using QT
    By rk0747 in forum Qt Programming
    Replies: 3
    Last Post: 30th January 2010, 11:16
  5. Creating new XML file
    By Pembar in forum Qt Programming
    Replies: 3
    Last Post: 16th May 2009, 08: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