error: whlie making setup file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mrkcse
    New Member
    • Dec 2007
    • 7

    error: whlie making setup file

    I have choosed wise installation system 9.0 for making setup file of my vb6 application


    It is giving following error while creating setup

    " the following dependency files are referenced in the project file but cannot be located on your computer.If files are located in different directory you can copy into system or system32 directory."

    in check boxes following dependency files it is showing

    conf.dep
    controldprj.dep
    crviewer9.dep
    crystl32.dep
    mshflxgd.dep
    scpbuttons.dep


    I have searched in my system none of the above files are found where can i get these and how to fix this problem. help me.
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    Try once to use inbuild package and deployment wizard of Visual Studio.

    Comment

    • mrkcse
      New Member
      • Dec 2007
      • 7

      #3
      If i use inbuilt P & D it is making setup despite it showed warnings that some dlls are in use and cannot copy in system32 folder i ignred those.

      after installing setup file when we access reports it is giving

      runtime error

      Runtime error : 2147206460 (80043ac4)
      Invalid directory
      details : error

      why it is giving this error.

      Comment

      • debasisdas
        Recognized Expert Expert
        • Dec 2006
        • 8119

        #4
        If the required files will not be copied how the application willl run.
        When you are using P & D wizard close all other running application even VB.
        run only the wizard .

        Comment

        • mrkcse
          New Member
          • Dec 2007
          • 7

          #5
          Iam running only P & D wizard while making setup. Eventhen it is showing the same warnings

          Comment

          • lotus18
            Contributor
            • Nov 2007
            • 865

            #6
            Originally posted by mrkcse
            Iam running only P & D wizard while making setup. Eventhen it is showing the same warnings
            Hi

            Try to locate the processes in task manager and then end that process that uses that .dll. I don't think that this it's a better idea. Please be careful enough.

            Rey Sean

            Comment

            • mrkcse
              New Member
              • Dec 2007
              • 7

              #7
              ok i will try that way , but even i have tried to create setup using inno setup after setup when we access reports it is giving runtime error as i mentioned earlier as

              Runtime error : 2147206460 (80043ac4)
              Invalid directory
              details : error


              how can i fix it.

              Comment

              • lotus18
                Contributor
                • Nov 2007
                • 865

                #8
                Originally posted by mrkcse
                ok i will try that way , but even i have tried to create setup using inno setup after setup when we access reports it is giving runtime error as i mentioned earlier as

                Runtime error : 2147206460 (80043ac4)
                Invalid directory
                details : error


                how can i fix it.
                When using inno setup, you should also copy all the references of your application (.dll's, .ocx's, .jpg., etc)

                For example, if your file.ocx is located at win32 of windows directory, the destination directory must be also in windows (win32) directory

                Code:
                [Files]
                Source: "{win}\win32\file.ocx"; DestDir: "{win}\win32\"
                Rey Sean
                Last edited by lotus18; Dec 10 '07, 12:31 PM. Reason: win32 added

                Comment

                • debasisdas
                  Recognized Expert Expert
                  • Dec 2006
                  • 8119

                  #9
                  I think you have stored / referring some files in a particular directory which is missing at the time of creating the package. Take special care to ensure the files are added to the proper directory only.

                  Comment

                  • mrkcse
                    New Member
                    • Dec 2007
                    • 7

                    #10
                    this is the inno script file of my application

                    Source: "C:\Documen ts and Settings\Admini strator\My Documents\Rama Krishna\ramakri shna\Support\cr viewer9.dll"; DestDir: "{app}"; Flags: ignoreversion

                    what does this {app} means? is it the same path of the source?

                    Comment

                    • lotus18
                      Contributor
                      • Nov 2007
                      • 865

                      #11
                      Originally posted by mrkcse
                      this is the inno script file of my application

                      Source: "C:\Documen ts and Settings\Admini strator\My Documents\Rama Krishna\ramakri shna\Support\cr viewer9.dll"; DestDir: "{app}"; Flags: ignoreversion

                      what does this {app} means? is it the same path of the source?
                      Hi

                      {app} means the application path.
                      DestDir - destination directory

                      Better check for the path components/references of your crviewer9.dll. The destination path should be the same as the path of your components if you install it to another PC.

                      Rey Sean

                      Comment

                      Working...