Comments (11)
Almost certainly, you are doing the same as in this discussion.
Look in a binlog from MSBuild (msbuild -bl
) and search for references to heat.exe
in it. It'll probably tell you the harvest folder does not exist.
from issues.
If that's the case, why isn't there a console output saying so? And shouldn't that be a fatal error?
from issues.
If that's the case, why isn't there a console output saying so?
I don't think the heat target even runs... look at the binlog it will show you for sure.
And shouldn't that be a fatal error?
Or maybe a warning?
from issues.
Harvest a folder...
Error if it doesn't exist
Warning if it's empty
from issues.
The files do exist.
msbuild -bl
...
this error for every file:
heat.exe : warning HEAT5151: Could not harvest data from a file that was expected to be an assembly: D:\a\Client\Client\AgentService\bin\Release\net7.0\Microsoft.Extensions.DependencyInjection.Abstractions.dll. If this file is not an assembly you can ignore this warning. Otherwise, this error detail may be helpful to diagnose the failure: Could not load file or assembly 'System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. [D:\a\Client\Client\AgentSetupWix4\AgentSetupWix4.wixproj]
from issues.
Basically this thing desperately needs a simple single page tutorial - do these 10 steps to create an installer for a simple app, not 90+ hours (guessing but the first few I've looked at are 90 minutes and there's 70+) of dojo videos that take 15 minutes in some cases to actually get to the title of the video. Do I really need 90 hours of training to build a windows installer?
from issues.
dotnet-install: .NET Core SDK with version '7.0.403' is already installed.
from issues.
Basically this thing desperately needs a simple single page tutorial
You sound passionate about this topic. Perhaps you will be the one to write a single-page tutorial and make it available for others.
Personally, I'm more interested in teaching the breadth and depth of software installation using the WiX Toolset. I also enjoy providing historical context so developers new to the domain can understand the why behind the design. That is why I produce the Deployment Dojo show for free.
For example, in the first Deployment Dojo episode on harvesting, I provide some background on heat and its deficiencies and a (possibly too) quick mention of SuppressRegistry
which will avoid the error message you are seeing.
not 90+ hours (guessing but the first few I've looked at are 90 minutes and there's 70+) of dojo videos that take 15 minutes in some cases to actually get to the title of the video. Do I really need 90 hours of training to build a windows installer?
At this time, there are 52 episodes of the Deployment Dojo, and on average, they are ~45 minutes. I understand you may be frustrated because you have expectations that aren't being met. However, exaggerating to force your point when everything you are complaining about is provided to you for free by the very people you are complaining at, is not cool.
Remember, this is an Open Source project. The source code displaying the error is available to you. You could investigate exactly why the error message happens and which switch can be used to avoid it.
If you want to be treated like a customer, then you need to pay for a product.
I'm closing this issue since it's turned into a support request. We handle support via Discussions, not issues. If you'd like to open a feature request for heat to error/warn when the harvesting directory is missing, feel free to do so.
from issues.
All I'm suggesting is that you've spent a LOT of time providing a HUGE amount of detail, but you forgot to give a simple primer for someone new to the project. I'd love to write a one pager, but I'm drowning in detail and have no idea how to do it myself, let alone teach it
Why do I need to suppress harvesting registry keys when the problem is in finding the SDK files? I don't understand why the build of the exe found them but the build of the installer can't. I'm not trying to read any registry keys, nor write them during the install.
from issues.
Remember, this is an Open Source project. The source code displaying the error is available to you. You could investigate exactly why the error message happens and which switch can be used to avoid it.
I've googled:
No results found for +wix "could not load file or assembly system.runtime version 7.0.0.0"
+wix HEAT 5151:
https://stackoverflow.com/questions/20904084/heat5151-the-given-assembly-name-or-codebase-was-invalid
I'm not harvesting from the GAC, I'm harvesting from the project output folder, so this isn't relevant to me
https://wix-users.narkive.com/NtZfvrm9/heat-exe-warning-heat5151
I'm not trying to increment the assembly version - I haven't even managed to get the first build to work, let alone an upgrade
#7124
Now I feel I'm going round in circles when the third result in google is my own question!
from issues.
I'm trying to work out where I saw episode 72 of the dojo. I have a clear memory of watching it a couple of days ago. maybe I'm hallucinating after 2 weeks full time trying to build a simple installer and getting depressed and frustrated
from issues.
Related Issues (20)
- Allow Merge Module inclusion with default feature
- WiX 5 auto-harvest (Files) creates two equal directories in the msi file
- Schema doc omits `attributeGroup` documentation
- ExePackagePayload Version attribute nullable object must have a value HOT 4
- Files-In-Use checking does not work with dynamic names HOT 3
- Files element requires the "Keep empty directories" attribute.
- Produce a wix-cli.msi HOT 6
- WixToolset.Firewall.wixext missing version information
- `wix extension list` does not display machine-wide extensions
- Build Error [NuGet security analysis]: Package 'System.Text.Json' 4.6.0 has a known high severity vulnerability error when attempting to build from fresh git clone HOT 5
- .NET 4.8 Redist signatures have changed -- causing install failures HOT 5
- Package with MSMQ custom action fails to install HOT 4
- Util User: Not able to create Domain user in standard usage HOT 2
- Managed CustomActions leave behind `SFXCA` folders
- Schedule actions based on symbols and tables
- Files element require registry key under HKCU and listed in the RemoveFile table HOT 5
- TouchFile fails due to 64-bit initialization HOT 2
- Error 2318: File does not exist HOT 1
- Page Not Found: /documentation/
- Upgrade from 3.14.1 to 5 causes incorrect `DesktopFolder` HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from issues.