Announcement

Collapse
No announcement yet.

VB6 installation

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • VB6 installation

    I am using Setup Factory 9.5 to install my VB6 software. The problem that I am having is in installing my 32bit software on to 64bit system. Sometimes it works and sometimes comes up with an OCX error. I have never had any problems in installing to 32bit systems.

  • #2
    Can you provide an installation log showing the error? Can you register the OCX after the installation? If yes, you may need to change the installation order.

    Ulrich

    Comment


    • #3
      Thanks, but all I have is the project report. From where can I get an installation log? In any case how do I change the installation order?

      Comment


      • #4
        The installation log can be found where you specified it in the project settings.

        Click image for larger version

Name:	SCRN-2017-03-09-02.png
Views:	228
Size:	62.8 KB
ID:	297682

        The install order field can be found on the Advanced tab of the File Properties.

        Click image for larger version

Name:	SCRN-2017-03-09-03.png
Views:	230
Size:	27.1 KB
ID:	297683

        Ulrich
        Last edited by Ulrich; 03-09-2017, 06:58 PM.

        Comment


        • #5
          Thanks for that info. See attached. sunmoon480x_10-03-2017_09-29-53.txt

          Comment


          • #6
            You provided the build log. Please find the setup log, and check for errors.

            Ulrich

            Comment


            • #7
              I thought that judging by the images that you sent that I was doing the right thing. Please tell me where I can find the build log. All the files in the project have a build order of 1000.

              Douglas Green

              Comment


              • #8
                You stated that your application does not run after installed, showing an OCX error. The build log is useless for debugging this, and I never asked for it. What I asked you to provide is the installation log, created on the target computer where the issue happens, in the folder and with the name as defined in your project settings. I even showed a screenshot you where this setting can be found in the IDE. Please provide this file, and answer my previous question if you are able to register the OCX manually after deployment.

                Ulrich

                Comment


                • #9
                  I will get this from my two customers that are having problems. I have had no problems with the 64bit system that I have in my office.

                  Comment


                  • #10
                    By the way, what is the filename that I am looking for?

                    Comment


                    • #11
                      Here are two log files received from the customer who has Windows 10 Home.


                      Comment


                      • #12
                        Sun & Moon Calculator Setup Log.txt Sun & Moon Calculator Uninstall Log.txt

                        Comment


                        • #13
                          Hi Douglas, I see two issues here.
                          1. You are deploying a custom OCX (DouglasS.ocx), but are not registering it on the user's computer. I do not know if it is not required, or if it was forgotten.
                          2. For the last portion of the log file, it looks like somebody attempted to run a 64-bit install of your application. This is a Visual Basic 6 application, so it cannot be a 64-bit executable, and using a native x64 setup makes no sense. Windows prevents you from registering 32-bit libraries in folders reserved for 64-bit files, and most certainly this is why you get the system error in the log.
                          I do not understand why you would attempt to build an x64 setup. This could make sense if your application was built with a more recent version of Visual Basic .NET, allowing to construct a true 64-bit application. As long as your product is 32-bits, your installer should also be 32-bits, so only the folders, designed for 32-bit applications on a 64-bit platform, are used.

                          Ulrich

                          Comment


                          • #14
                            Thanks for that - will look into it

                            Comment


                            • #15
                              This is the new message from a customer since I made some changes to the installation:
                              “I tried your latest version. It says that it will install shortcuts, but does not install them.
                              I still get the same error message when I run it:
                              Component `DouglasM.ocx` or one of its dependencies not correctly registered: a file is missing or invalid.”
                              Thanks

                              Comment

                              Working...
                              X
                              😀
                              🥰
                              🤢
                              😎
                              😡
                              👍
                              👎