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
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Visual Studio Installer

Visual Studio Installer

Scheduled Pinned Locked Moved C / C++ / MFC
csharpvisual-studiotutorialquestion
6 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.
  • A Offline
    A Offline
    Anthony B
    wrote on last edited by
    #1

    I have to create a Visual Studio Installer Project in order to install my application (a single executable file) and a Freeware Tool (as in example Acrobat Reader). I can't find the way to let the Freeware Tool installation executable file to be launched by the Visual Studio Installer Project (during the installation of the mine application) !!! Which settings have I to do in my Visual Studio Installer Project? Thanks a lot !!!!

    J 1 Reply Last reply
    0
    • A Anthony B

      I have to create a Visual Studio Installer Project in order to install my application (a single executable file) and a Freeware Tool (as in example Acrobat Reader). I can't find the way to let the Freeware Tool installation executable file to be launched by the Visual Studio Installer Project (during the installation of the mine application) !!! Which settings have I to do in my Visual Studio Installer Project? Thanks a lot !!!!

      J Offline
      J Offline
      JoeZhang
      wrote on last edited by
      #2

      Normally, each a software packet has a file,named setup.exe or install.exe,that executes the task of install this software to user's harddisk. Just launch this executable file during your install program via the CreateProcess Win32 API, for more information and usage about CreateProcess,please click http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/createprocess.asp

      A 1 Reply Last reply
      0
      • J JoeZhang

        Normally, each a software packet has a file,named setup.exe or install.exe,that executes the task of install this software to user's harddisk. Just launch this executable file during your install program via the CreateProcess Win32 API, for more information and usage about CreateProcess,please click http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/createprocess.asp

        A Offline
        A Offline
        Anthony B
        wrote on last edited by
        #3

        If I have well understood, you suggest me to insert a line of code in my application in order to launch the installation file. I'd like to don't modify the source code of my application. I'd prefer that the installation package makes this operation. Is it possible ??

        J 1 Reply Last reply
        0
        • A Anthony B

          If I have well understood, you suggest me to insert a line of code in my application in order to launch the installation file. I'd like to don't modify the source code of my application. I'd prefer that the installation package makes this operation. Is it possible ??

          J Offline
          J Offline
          JoeZhang
          wrote on last edited by
          #4

          The executable file cannot execute itself until the user,the system or the other program launchs it! By the way,what's your installer for? why you dont want to add the line of code?

          A 1 Reply Last reply
          0
          • J JoeZhang

            The executable file cannot execute itself until the user,the system or the other program launchs it! By the way,what's your installer for? why you dont want to add the line of code?

            A Offline
            A Offline
            Anthony B
            wrote on last edited by
            #5

            This is the situation: I have developed an application that uses DAO interface. This application has to run in any PC (WINNT) and I don't know if Access (or the DAO support) is installed. But I have got the executable file (MS Redist) that installs the DAO support. I have to create an installation package for my application (.msi file) and I'd like that this package installs the DAO support before installing my application. I don't like to insert a line of code in my application in order to solve this problem, because is not a software requirement required by the customer and because my application has already been test. I think that it is possible to solve this problem but I don't know how !!!

            J 1 Reply Last reply
            0
            • A Anthony B

              This is the situation: I have developed an application that uses DAO interface. This application has to run in any PC (WINNT) and I don't know if Access (or the DAO support) is installed. But I have got the executable file (MS Redist) that installs the DAO support. I have to create an installation package for my application (.msi file) and I'd like that this package installs the DAO support before installing my application. I don't like to insert a line of code in my application in order to solve this problem, because is not a software requirement required by the customer and because my application has already been test. I think that it is possible to solve this problem but I don't know how !!!

              J Offline
              J Offline
              JoeZhang
              wrote on last edited by
              #6

              Ask the user manually install this packet before launch your installer:-O

              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