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. Who to make a package ?

Who to make a package ?

Scheduled Pinned Locked Moved C / C++ / MFC
jsonhelptutorialquestion
12 Posts 8 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.
  • S Suresh H

    Hello All, I have a dll file and a win 32 API executable file. If I try to use run the exe in other systems it gives error some library files are missing ..application cannot be used. So can u please tell me how to make a package which will install all the required library files and also register the dll in the system regedt32.exe Thanking you,:) Suresh HC.

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

    Inno Setup[^] is perfect, and free


    [VisualCalc][Flags Beginner's Guide] | [Forums Guidelines][My Best Advice]

    S R 2 Replies Last reply
    0
    • S Suresh H

      Hello All, I have a dll file and a win 32 API executable file. If I try to use run the exe in other systems it gives error some library files are missing ..application cannot be used. So can u please tell me how to make a package which will install all the required library files and also register the dll in the system regedt32.exe Thanking you,:) Suresh HC.

      H Offline
      H Offline
      Hans Dietrich
      wrote on last edited by
      #4

      Are the dll and exe in the same directory? What does the error message say, exactly? Also, remember that debug MFC builds will be linked to debug MFC dll's - so you should only distribute release builds. Finally, if you are using VS2005, the other system may not have the necessary VS2005 redistributables, so you will have to install them on the other system.

      S 1 Reply Last reply
      0
      • H Hans Dietrich

        Are the dll and exe in the same directory? What does the error message say, exactly? Also, remember that debug MFC builds will be linked to debug MFC dll's - so you should only distribute release builds. Finally, if you are using VS2005, the other system may not have the necessary VS2005 redistributables, so you will have to install them on the other system.

        S Offline
        S Offline
        Suresh H
        wrote on last edited by
        #5

        Yes exe and dll are in the same directory , but in the other system there is no visual studio just windows .. when I try to execute the exe its give some library files missing.

        T 1 Reply Last reply
        0
        • P prasad_som

          Have a look at InstallShield[^].

          Prasad Notifier using ATL | Operator new[],delete[][^]

          S Offline
          S Offline
          Suresh H
          wrote on last edited by
          #6

          Thanks prasad I will go through the link.

          1 Reply Last reply
          0
          • T toxcct

            Inno Setup[^] is perfect, and free


            [VisualCalc][Flags Beginner's Guide] | [Forums Guidelines][My Best Advice]

            S Offline
            S Offline
            Suresh H
            wrote on last edited by
            #7

            Thanks toxcct I will go through the link.

            1 Reply Last reply
            0
            • S Suresh H

              Yes exe and dll are in the same directory , but in the other system there is no visual studio just windows .. when I try to execute the exe its give some library files missing.

              T Offline
              T Offline
              toxcct
              wrote on last edited by
              #8

              then you either have to compile the MFC as a static library, or provide with your exe the DLLs required (most of the time, mfc_xx_.dll, mscvr_xx_.dll, msvcp_xx_.dll where xx is the version of the dll)


              [VisualCalc][Flags Beginner's Guide] | [Forums Guidelines][My Best Advice]

              1 Reply Last reply
              0
              • T toxcct

                Inno Setup[^] is perfect, and free


                [VisualCalc][Flags Beginner's Guide] | [Forums Guidelines][My Best Advice]

                R Offline
                R Offline
                Rajesh R Subramanian
                wrote on last edited by
                #9

                I second that. Inno is easy to use and serves the purpose well, for being a freebie.


                I am not ashamed to confess that I am ignorant of what I do not know. - Marcus Tullius Cicero

                1 Reply Last reply
                0
                • S Suresh H

                  Hello All, I have a dll file and a win 32 API executable file. If I try to use run the exe in other systems it gives error some library files are missing ..application cannot be used. So can u please tell me how to make a package which will install all the required library files and also register the dll in the system regedt32.exe Thanking you,:) Suresh HC.

                  H Offline
                  H Offline
                  Hamid Taebi
                  wrote on last edited by
                  #10

                  And see Modified easy Installer [^]


                  WhiteSky


                  1 Reply Last reply
                  0
                  • S Suresh H

                    Hello All, I have a dll file and a win 32 API executable file. If I try to use run the exe in other systems it gives error some library files are missing ..application cannot be used. So can u please tell me how to make a package which will install all the required library files and also register the dll in the system regedt32.exe Thanking you,:) Suresh HC.

                    D Offline
                    D Offline
                    David Crow
                    wrote on last edited by
                    #11

                    Suresh H wrote:

                    ...it gives error some library files are missing...

                    Such as?


                    "Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

                    "Judge not by the eye but by the heart." - Native American Proverb

                    1 Reply Last reply
                    0
                    • S Suresh H

                      Hello All, I have a dll file and a win 32 API executable file. If I try to use run the exe in other systems it gives error some library files are missing ..application cannot be used. So can u please tell me how to make a package which will install all the required library files and also register the dll in the system regedt32.exe Thanking you,:) Suresh HC.

                      M Offline
                      M Offline
                      Mark Salsbery
                      wrote on last edited by
                      #12

                      Lots of info here: Deployment (C++)[^]

                      "Do you know what it's like to fall in the mud and get kicked... in the head... with an iron boot? Of course you don't, no one does. It never happens. It's a dumb question... skip it."

                      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