Qt Installer Copy Operation Fails [SOLVED]

  • I'm trying to create a setup file using Qt Installer Framework 1.4
    I want to copy some files at the end of the installation process but it seems the installer is trying to copy those files before installation is completed.
    What should I do?
    By the way this is the code I use for copying using installer. It's inside a qs file which is called by installer.

    Component.prototype.createOperations = function()
    // call the base create operations function

    component.addOperation("Copy", "@TargetDir@/somefile.txt", "@DesktopDir@/somefile.txt");


  • Seems this was just a problem with me trying to copy shortcut links.
    The code in my previous code totally works!

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.