Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Problem installing drivers from QtInstaller
Forum Updated to NodeBB v4.3 + New Features

Problem installing drivers from QtInstaller

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
1 Posts 1 Posters 162 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Agurtza
    wrote on last edited by
    #1

    Hi!!

    I am having some problems installing drivers with my application. I use QtInstaller 3.2.2 to do the installer, in windows.

    If I install the driver without using the installer it always works perfectly.
    But with the installer, it gives me problems, it retries several times and when I click 'Ignore', then it does it correctly. But while I click on 'Retry' it always fails.

    The call to that installer is as follows:

    Component.prototype.createOperationsForArchive = function(archive)
    {
            // add an extract operation with a modified path
    	component.addOperation("Extract", archive, "@TargetDir@/VCPdriver");
    	if (installer.isInstaller()) 
    	{
    		component.addElevatedOperation("Execute","{0,256}", "@TargetDir@\\VCPdriver\\CP210xVCPInstaller_x64.exe");
    	}
    }
    

    And in the package file:

    <RequiresAdminRights>true</RequiresAdminRights>
    

    The error code is as follows: -2147418112
    There is no error information in the event viewer.

    Any ideas?
    Thank you!

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved