Results 1 to 18 of 18

Thread: Need installing assistance [RESOLVED]

  1. #1

    Thread Starter
    Supreme User Madboy's Avatar
    Join Date
    Oct 2003
    Location
    England
    Posts
    3,253

    Cool Need installing assistance [RESOLVED]

    Ok, ive finished a little program ive been working on, and i need to package it into an installer of some kind. I am aware of P&D, Inno and VSI, but i am comfortable using Install Maker Pro by clickteam. Only problem is, i dont know how to copy the ocx file(s) on to the target users computer. (so it registers the controls during installation, they DONT need to run regsvr32).

    So if anybody has any ideas, i would be truly grateful, and if no ones know suggest another installer which will copy and register the controls on target user computer.

    I think P&D [edited by moderator],
    I can't get into Inno,
    and i havnt really used VSI (downloading again would take ages!)


    Thanks
    Last edited by Madboy; Feb 3rd, 2004 at 03:08 PM.

  2. #2

  3. #3

    Thread Starter
    Supreme User Madboy's Avatar
    Join Date
    Oct 2003
    Location
    England
    Posts
    3,253
    Sorry marty

    I been through the Install Maker Pro help file and cant see anything. It mentions copying ini files and registry keys. But this wouldnt register the control

  4. #4

  5. #5

    Thread Starter
    Supreme User Madboy's Avatar
    Join Date
    Oct 2003
    Location
    England
    Posts
    3,253
    Ive never had luck with it before in the past. And what do you mean by change it, is there source available for P&D?!

  6. #6

    Thread Starter
    Supreme User Madboy's Avatar
    Join Date
    Oct 2003
    Location
    England
    Posts
    3,253
    It happened again. It says cant find dependencies for *.ocx and DLL types from C:\Windows\System yet they exist! Also which would you normally choose here, because i tried the top option:

    And yes i did reference the controls from VB
    Attached Images Attached Images  

  7. #7

  8. #8

    Thread Starter
    Supreme User Madboy's Avatar
    Join Date
    Oct 2003
    Location
    England
    Posts
    3,253
    I was unaware of that.

    Well P&D isnt working for me, there must be something else. Something easy preferably!

  9. #9

    Thread Starter
    Supreme User Madboy's Avatar
    Join Date
    Oct 2003
    Location
    England
    Posts
    3,253
    Is copying a ocx file in the registry the same as using regsvr32? Because i want the file installing automatically, so the End User doesnt have to worry about registering anything

  10. #10

  11. #11

    Thread Starter
    Supreme User Madboy's Avatar
    Join Date
    Oct 2003
    Location
    England
    Posts
    3,253
    im not sure myself , when you register a control (ocx,dll etc) it stores some values in the registry right? If thats the case can i not just copy some value to the register and just deploy the control on target users pc?

  12. #12

    Thread Starter
    Supreme User Madboy's Avatar
    Join Date
    Oct 2003
    Location
    England
    Posts
    3,253
    Agh, it doesnt matter marty. I released Source instead. For anybody interested in "Power Tweak" source, click link:

    http://www.vbforums.com/showthread.php?threadid=277544

    Thanks anyway marty, guess i will never understand the P&D installer

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


    You do not seem to understand installers. With an installer, it handles registering OCX/DLL/EXE that need to be registered. Otherwise it is not an installer. You could get a zp file to copy file to their proper location, it is not an installer.

    I am sure that this installer you are using performs this function.

  14. #14

    Thread Starter
    Supreme User Madboy's Avatar
    Join Date
    Oct 2003
    Location
    England
    Posts
    3,253
    All i know about them is, they copy files from your pc, and extract them to the other users comp

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

    That is not all of what they do. That is one function of an installer. You will have to read up on the installer that you are using no matter which one you choose.

    Installer's perform these basic functions:

    Gather files needed to include into a distribution package.

    Checks for proper OS environment to install into.

    Copy proper files to their proper locations on the destination PC.

    If needed register any ocx/dll/exe that needs it.

    Now even these basic function will not be performed properly if the human part of the equation does not know what files need to be in the installation.

  16. #16

    Thread Starter
    Supreme User Madboy's Avatar
    Join Date
    Oct 2003
    Location
    England
    Posts
    3,253
    Thanks, all i need to know is if i copy the ocx files to target users pc, will this register the control, or does the installer do this for the user? Ill check there website out, get some support from there email.

  17. #17
    Addicted Member
    Join Date
    Aug 2003
    Location
    Earth
    Posts
    139
    well if you cant solve it this way copy all the ocx files to the target mechine and make a batch sciprt which will register all the ocx files for you,but again i'll stress on using an installer ! try inno or VSI

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


    An installer will do this for you. Copy and Register the ocx. Don not attempt to shortcut this, you will only get into trouble later on.

    You can use ********** and Inno Setup and this will be done.

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