Software Installation scripts

Discussion in 'Software' started by adtimg, May 7, 2003.

  1. adtimg

    adtimg Private E-2

    I'm wondering if someone could direct me to a tutorial on software installation.
    I'd like to learn how to make VB installer check whether some software or files that may be necessary to run an app exist on a target machine and then install them or update them if my supplied files are newer versions.
    For instance, I made an app in VB6 that uses an Access database and connects using jet. I get a message stating that, for my app to work on a machine running Windows98, DCOM 98 must be installed.
    Currently, I just include the file and tell users to install it if they meet the criteria. This doesn't seem professional and I'm reasonably sure there's a way to script an install sequence to take care of that for me. I'd like to learn a whole bunch of other things like manipulating registry entries etc., but for now just file installs is cool.
    TIA
    Tim Garrison
     
  2. iamien

    iamien Cptn "Eh!"

    Hmm i dont know VB but i do know Delphi
    The way i would do it is that i would have it read the registry and go to where Dcom is located, check if it exists and if so what version it is.
    After that just take apropriate action
     
    Last edited: May 7, 2003
  3. adtimg

    adtimg Private E-2

    Yep

    Hence my need to learn the method for doing this
    Thanks
     
  4. Kodo

    Kodo SNATCHSQUATCH

  5. adtimg

    adtimg Private E-2

    Thanks

    Somewhere I need to find an example using get version info to make an exe run when my installer runs based on the returned values. I searched the msdn the other day and didn't find that page so I really appreciate the link. :)
    Microsoft seems to assume that everyone reading through, is already knowledgeable on what to do. I suppose that's the correct thing to do.
    For all I know, I might just need to include the exe in the project and write those code strings. Or just include the file and installer sdk will know what to do on it's own (but I doubt that last bit)
    If I could only afford to build a machine with multiple OS to use as a target that would be cool.
    Thanks again
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds