Error downloading msi file using the setup.exe file RRS feed

  • Question

  • Hi,

    I have created an installer project in Visual Studio 2019 and added my program (TrackManager) to it. I added the installer url and placed the setup.exe and SetupTrackManager.msi file both in the download folder on the website. Both files can be downloaded individually without any problem and I can run and install the SetupTrackManager.msi file without issues.

    When I start the Setup.exe file it is supposed to download the msi file and run it, but that is where it goes wrong. I get the error:

    Downloading 'SetupTrackManager.msi' from 'trackmanager.nl/downloads/SetupTrackManager.msi' to ''

    It appears it tries to download the file to an empty target, which of course does not exist. I cannot find any setting that allows me to specify the target nor have I found any prerequisite for this that I missed. I have not signed the app yet, which gives an warning when installing, but I don't see how that should be of any influence.

    A tip in the right direction would be much appreciated.

    Sunday, November 1, 2020 10:52 AM

All replies

  • If you do not find an appropriate solution, then maybe offer just the .msi file for downloads, if it works well without setup.exe.

    You can also prepare a downloadable .zip file that includes the installation package.

    Sunday, November 1, 2020 11:17 AM
  • Thanks for your reply. Both your solutions have their own advantages and drawbacks. Although this does solve the problem in the short run, the zip solution does not work with auto-updates that check to see if there is a new version on the originating website. The setup.exe file checks for prerequisites and installs them if necessary. The msi does not offer this functionality.
    For now I will go with the msi-only solution, but I would like to have it working the way it was intended.

    Sunday, November 1, 2020 4:32 PM
  • Hi ScubaFuz,

    Thanks for your feedback.

    Since your question is more related to visual studio installer project, you can consider posting your question on the following forum for more help.


    Thank you for your understanding.

    Best Regards,

    Xingyu Zhao

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, November 2, 2020 2:02 AM