No announcement yet.

Dependency file not found when building project. SetupFactory

  • Filter
  • Time
  • Show
Clear All
new posts

  • Dependency file not found when building project. SetupFactory

    I'm using Setup Factory trying to build an installer for a NET 4.0 WPF desktop application. Everything seems fine, but when I try to build the project, I get an error on the build:

    Build failed.
    -------- Errors ---------
    Compressing files...
    Error 2090: Dependency file not found: C:\Program Files (x86)\Setup Factory 9\Dependencies\dotnet4\dotNetFx40_Full_x86_x64.exe

    And indeed such file does not exist on my machine. In fact, there is no directory named 'dotnet4' in the 'Dependencies' folder. Any clues as to why this is happening? I've tried re-installing Setup Factory a few times and that didn't help.

    If I configure the setup project and do not make any NET library a prerequisite, the build goes fine and the resulting setup.exe file properly installs the application. That works because I already know that I have NET 4 on my machine.

    Why would I not even have the

    C:\Program Files (x86)\Setup Factory 9\Dependencies\dotnet4\

    folder on my machine?

    Any suggestions are welcome.

  • #2
    Please read the information provided in the "Information" tab of the dependency module:

    This dependency module requires you to supply a copy of the redistributable (dotNetFx40_Full_x86_x64.exe). Download the .NET installation file from the URL below into a new folder \Dependencies\dotnet4 within the Setup Factory program directory:
    Click image for larger version

Name:	SCRN-2014-06-20-02.png
Views:	1
Size:	50.8 KB
ID:	284210