Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Setup and Deplyment Project : Running external exe

Setup and Deplyment Project : Running external exe

Scheduled Pinned Locked Moved C / C++ / MFC
helpcsharpc++visual-studiosysadmin
3 Posts 2 Posters 0 Views 1 Watching
  • 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.
  • T Offline
    T Offline
    TechAvtar
    wrote on last edited by
    #1

    Hi, I am creating a setup & deployment project in Visual Studio 2008 (VC++). I need to install a driver while running installer.msi . I have the command line for installing the driver below devcon -r install driverx.inf *driverx.sys How to include the above exe in Setup and Deployment project? I tried custom action and specified parameters "-r install driverx.inf *driverx.sys". But during installation I am getting the error message "THere is a problem with this windows installer package. A program run as par of the project did not finish as exepected .." How to configure Setup and Deployment project for executing above exe?

    H 1 Reply Last reply
    0
    • T TechAvtar

      Hi, I am creating a setup & deployment project in Visual Studio 2008 (VC++). I need to install a driver while running installer.msi . I have the command line for installing the driver below devcon -r install driverx.inf *driverx.sys How to include the above exe in Setup and Deployment project? I tried custom action and specified parameters "-r install driverx.inf *driverx.sys". But during installation I am getting the error message "THere is a problem with this windows installer package. A program run as par of the project did not finish as exepected .." How to configure Setup and Deployment project for executing above exe?

      H Offline
      H Offline
      hanq_38910130
      wrote on last edited by
      #2

      I'm not familiar with "setup&deployment" project, but know something about it in "InstallShield". In "InstallShield", there is a place you can setup "support files". These files will be copy to temporary folder when your install program is running. Then you can use script language to execute the command line. If there is a same place in "setup&deployment" project, you can add "devcon.exe" to the "support files", then use script language to run it. Is the above useful for you?

      T 1 Reply Last reply
      0
      • H hanq_38910130

        I'm not familiar with "setup&deployment" project, but know something about it in "InstallShield". In "InstallShield", there is a place you can setup "support files". These files will be copy to temporary folder when your install program is running. Then you can use script language to execute the command line. If there is a same place in "setup&deployment" project, you can add "devcon.exe" to the "support files", then use script language to run it. Is the above useful for you?

        T Offline
        T Offline
        TechAvtar
        wrote on last edited by
        #3

        Thank you very much. But I am still trying to find a way to install driver via Setup & Deployment Project. If nothing works out I will consider InstallShield.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups