CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2013
    Posts
    52

    Unhappy DLLS for installation program

    I am making an installation program. The set up project I made automatically detected dependancies. Dependencies were one ocx file I am using and some *.msm files. I haven't yet tested the installation program in the target machine.

    My problem is that I have no control over the location of dlls installed in the target machine. Those *.msm files, I think
    will be installed in the system32 (or wowsystem64?) folder. Do my msi installation program check the version of the dlls
    already available in the target machine before overwritting them?

    Another way will be to find out the dependencies with "dependency walker" and manually add those dlls to the
    application folder of my installation program. But this way will be really dificult one.

    You have any suggestion? Please help me.

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: DLLS for installation program

    Quote Originally Posted by shjdr7 View Post
    I am making an installation program.
    Oh God!
    One more attempt to reinvent the wheel!

    Why not use some already existent, good tested and free ones?
    For ex. http://www.jrsoftware.org/isinfo.php or some others?
    Victor Nijegorodov

  3. #3
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    6,620

    Re: DLLS for installation program

    Quote Originally Posted by shjdr7;2128143!
    My problem is that I have no control over the location of dlls installed in the target machine
    Yeah, you'd better have the control.
    Those *.msm files, I think will be installed in the system32 (or wowsystem64?) folder. Do my msi installation program check the version of the dllsalready available in the target machine before overwritting …You have any suggestion?.
    The suggestion is to stop programming blindly, and start reading official documentation to the tools you have in use.
    Best regards,
    Igor

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

Featured