Results 1 to 14 of 14

Thread: putting your vb app to a computer without vb runtime???

  1. #1

    Thread Starter
    Hyperactive Member LawnNinja's Avatar
    Join Date
    Aug 2006
    Posts
    446

    putting your vb app to a computer without vb runtime???

    I have Inno setup but I'm unclear on one thing. How do you go about finding the required files to run your program.

  2. #2
    Frenzied Member numtel's Avatar
    Join Date
    Apr 2000
    Location
    CA
    Posts
    1,163

    Re: putting your vb app to a computer without vb runtime???

    Do the package and deployment wizard first then you'll know what files are required.

  3. #3
    Addicted Member
    Join Date
    May 2006
    Posts
    216

    Re: putting your vb app to a computer without vb runtime???

    ok i got the same question too i got extra folders in it which it loads data from how do i add that to my setup?

  4. #4
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: putting your vb app to a computer without vb runtime???

    PDW will not always find all the files that you need however ********** will expecially for Inno Setup.

  5. #5
    Lively Member
    Join Date
    Apr 2006
    Posts
    69

    Re: putting your vb app to a computer without vb runtime???

    And you can use depends.exe to find EVERYTHING your app calls (run it in dynamic mode). That's what I used, and then I figured all the DLLS that came installed with Windows and all the dlls that you're not allowed redistributing, and the ones that were left were the ones it needed.

    EDIT: Personally If I were you I would switch to NSIS, and get HM NIS Editor, it makes everything for you, then you can customise, ask me for more help if you want to (nsis has a smaller overhead (34kb I believe)). It's a matter of personal preference though.

  6. #6
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: putting your vb app to a computer without vb runtime???

    That's the hard way and you have to do that with each dll you have in your project to cross check.

  7. #7
    Lively Member
    Join Date
    Apr 2006
    Posts
    69

    Re: putting your vb app to a computer without vb runtime???

    Yeh it was pretty hard. I remember I asked the same question and you responded, and told me to use inno script. But it didn't tell me of a dll that I knew I had, and then the trial ran out so I couldn't further test it

  8. #8
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: putting your vb app to a computer without vb runtime???

    It would not find dll's that you do not have a reference for in your project. If you dynamically load it... it will not be found. Otherwise all dll's will be found.

  9. #9
    Lively Member
    Join Date
    Apr 2006
    Posts
    69

    Re: putting your vb app to a computer without vb runtime???

    Quote Originally Posted by randem
    It would not find dll's that you do not have a reference for in your project. If you dynamically load it... it will not be found. Otherwise all dll's will be found.
    I think it was that an OCX in my prog loaded a seperate DLL, and it didn't find that DLL. Anyways it did give me a good list (everything else except another dll that was called in the same way). In the end I just got rid of that dll entirely from my program because it wasn't needed, and didn't distribute it.

  10. #10
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: putting your vb app to a computer without vb runtime???

    Also you may not have seen it because it was removed for possibly being unsafe to deploy.

  11. #11
    Lively Member
    Join Date
    Apr 2006
    Posts
    69

    Re: putting your vb app to a computer without vb runtime???

    The first dll is safe, it's xaudio.dll and it's called by mp3p.ocx. It's for playing MP3 files.

  12. #12
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: putting your vb app to a computer without vb runtime???

    If that ocx was referenced in your project the dll would have been found or at least noted. If you did not have the correct paths in the search path for ********** to search it would not have found it, but it would have still been noted that it was needed. Two very different issues.

  13. #13

  14. #14

    Thread Starter
    Hyperactive Member LawnNinja's Avatar
    Join Date
    Aug 2006
    Posts
    446

    Re: putting your vb app to a computer without vb runtime???

    Thanks everone.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width