Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Jul 2009
    Location
    Chicago, IL
    Posts
    169
    Thanks
    26
    Thanked 3 Times in 3 Posts

    VB.NET Deployment

    I have been searching for an answer on Google, but can't quite find one. I have a 2005 .NET deployment project that installs a DLL I wrote. However, for this to work two other Microsoft programs must be installed. They are not packaged with Windows ordinarily, and they are not detected as Dependencies. I have the two .msi files for these programs, and I was trying to find a way to, at the end of the installation of my program, call these two other .msi files and run their installations.

    Anyone have any ideas?

    Thanks!

  • #2
    New to the CF scene
    Join Date
    May 2010
    Location
    Vancouver, BC, Canada
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Post

    I assume you are using Visual Studio's built in deplotment projects to build your setup file?

    I use InstallShield myself and would try to find the appropriate distributable the put into the file.

    Eitherway you can execute an msi from within a setup project with the right command line options with "msiexec" to install them. But this is usually frowned upon as it can produce unreliable results for Windows Vista/7 UAC elevation and also unreliable uninstallation (or even detecting a successful installation).

    What are the two dependancies you're talking about?
    - Ben

  • #3
    Regular Coder
    Join Date
    Jul 2009
    Location
    Chicago, IL
    Posts
    169
    Thanks
    26
    Thanked 3 Times in 3 Posts
    Yes, I am using VS's deployment project. I am including extensibilityMSM.msi and lockbackRegKey.msi. These are necessary to install MS Office plugins on machines that don't have Visual Studio installed on them. Right now, I think I may just go with creating a batch file with msiexec "filename" for each of the two dependencies. This program is only getting installed on I believe 4 different machines at our company. I was just curious if there was a way to do this with VS's built-in deployment project.

    Thanks!


  •  

    Posting Permissions

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