.NET Framework Developer Center > .NET Development Forums > MSBuild > Error :: Unable to locate application file ..\..\TestApp.msi while running setup.exe
Ask a questionAsk a question
 

General DiscussionError :: Unable to locate application file ..\..\TestApp.msi while running setup.exe

  • Tuesday, November 03, 2009 11:40 AMDmehra Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    In my scenario I have created two bootstrappers:

    1. With Relative Prerequisites (at the local repository).

    2. With HomeSite (download from the vendor's website).

    Now I have to copy my msi file for both of the bootstrappers in two different locations. So can I just put msi at one location and use it for both the bootstrapper? As it saves hard drive space (my msi file is 30 MB).

    It showing me an error ::

    Unable to locate application file ..\..\TestApp.msi

    in my buil file i have use generatebootstrapper like this..

    <GenerateBootstrapper ApplicationFile="C:\Visual Studio Programs\..\..\bin\Debug\TestApp.msi" BootstrapperItems="@(BootstrapperFile)" Path="C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\" OutputPath="bin\" ComponentsLocation="HomeSite" CopyComponents="false" Culture="en-US" />

    Is it possible to implement this scenario?

All Replies

  • Friday, November 06, 2009 3:28 AMChao KuoMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hello, Sir
    I am sorry for the lately reply.
    Are you sure the path for the applicationFile(C:\Visual Studio Programs\..\..\bin\Debug\TestApp.msi) is really right? This error is mainly caused by the setup.exe can't locate the .msi file.
    Thanks
    Chao
  • Tuesday, November 10, 2009 5:52 AMChao KuoMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    We are changing the issue type to “General Discussion” because you have not followed up with the necessary information. If you have more time to look at the issue and provide more information, please feel free to change the issue type back to “Question” by opening the Options list at the top of the post window, and changing the type. If the issue is resolved, we will appreciate it if you can share the solution so that the answer can be found and used by other community members having similar questions.

    Thank you!
    Chao