Need to create exe file which can run on any system without installing.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • venkatanarasimhaa
    New Member
    • Dec 2007
    • 20

    #16
    Need to create exe file which can run on any system without installing.

    Hi Hari,

    Is there any other way to copy all the DLLs and OCXs through progamatically.
    or Is there any way to keep all the required DLLs and OCXs in the exe itself.




    Originally posted by CyberSoftHari
    Good and this can be use for register Dll and OCX.
    When the admin uses write protected for a drive then it seems they don’t want other application to install (May be for virus protection or file versioning problem)
    Last edited by venkatanarasimhaa; Dec 31 '07, 01:53 PM. Reason: Edited.

    Comment

    • CyberSoftHari
      Recognized Expert Contributor
      • Sep 2007
      • 488

      #17
      If your (System) admin allows you to register DLL and OCX then you can do what I prefer before. If all the rights were locked then you have to contact your administrator.

      Comment

      • Killer42
        Recognized Expert Expert
        • Oct 2006
        • 8429

        #18
        Originally posted by venkatanarasimh aa
        ... Is there any way to create an EXE file which can run on any system without installing it through setup.exe ?
        Sure. Don't use VB.

        I like VB and don't like to discourage people from using it. But as far as I'm aware, it cannot create a truly standalone program. Assembler can do it, of course, and presumably there are other languages which can.

        Comment

        • werks
          New Member
          • Dec 2007
          • 218

          #19
          Hi venkatanarasimh aa,

          Have you google your question?

          Happy New Year..

          Comment

          • VijaySofist
            New Member
            • Jun 2007
            • 107

            #20
            Originally posted by venkatanarasimh aa
            Hi Vijay,

            I can not copy the .dll or .ocx files to the system32 folder as I dont have any rights to do the same. even if i try to do the same, it will say "disk is write-protected. Access-denied".


            Is there any way that i can include all those .dll and .ocx files in the exe file itself without any setup. y because, the same will be used by others where in they dont have any hard disk to install on their systems. They are working on client systems.

            Hope y got my problem.
            Please help me on this. Thanks in advance.

            Venkat.
            Hi Venkat!

            Sorry for the late Reply yaar.

            Can you please request your System administrator to copy and paste the mscomct2.ocx in the target machine and run the command regsvr32 mscomct2.ocx in the Start-->Run Window of the same.

            Please Reply us the Status.

            With Regards
            Vijay. R

            Comment

            • debasisdas
              Recognized Expert Expert
              • Dec 2006
              • 8119

              #21
              Originally posted by venkatanarasimh aa
              Is there any other way to copy all the DLLs and OCXs through progamatically.
              or Is there any way to keep all the required DLLs and OCXs in the exe itself.
              Then you have only one option left , install VB 6.0 itself in the target systems.

              then you can directly run your exe.

              Comment

              • lotus18
                Contributor
                • Nov 2007
                • 865

                #22
                Originally posted by debasisdas
                Then you have only one option left , install VB 6.0 itself in the target systems.

                then you can directly run your exe.
                I think this will only applicable if he is not using any ocx controls (other references) : )

                Comment

                • CyberSoftHari
                  Recognized Expert Contributor
                  • Sep 2007
                  • 488

                  #23
                  Setup package is essential for every EXE (or at least copy Ocx and dll then register). It is not good practice to install VB in client machine (instead you can install your package).
                  Note: How sure about your EXE requires OCX and DLL only from VB (there may require some other supportive files).

                  Comment

                  • lotus18
                    Contributor
                    • Nov 2007
                    • 865

                    #24
                    Originally posted by CyberSoftHari
                    It is not good practice to install VB in client machine (instead you can install your package).
                    Yes I agree with you. Installing VB in client machine is not really a good practice. The only way to solve this problem (I think) is to ask for permission to install it.

                    Rey Sean

                    Comment

                    Working...