Comments (6)
Dark does not dump out standard actions (they are
unnecessary) and light only adds back the standard actions
that are necessary to get the MSI to install. This creates
smaller MSIs that have no bloat.
from issues.
I agree with the previous issue loggers that there should be a
way for the sequence of all sequence tables (not just
InstallExecuteSequence) to preserve their relative
sequencing, when passed through a complete
dark/candle/light cycle.
Now that dark is available, I suspect that most people will try
the dark/candle/light cycle using an .msi file created by Visual
Studio. Since Visual Studio doesn't use the 'standard' action
sequence numbers then the technique of decompiling custom
actions to "before"/"after" action names is guaranteed to be
flawed unless the standard actions are also decompiled and
compiled. The result will be that many people will conclude
that dark/candle/light is broken in some way and may
abandon it
Request IDs 984404 and 991833 are examples of this. I've
experienced similar problems and they seem to be caused by
the AppSearch and LaunchConditions actions being setup by
Visual Studio in a reversal of the standard way. This results in
custom actions that are sequenced relative to these actions
also ending up in the wrong sequence.
Suggestion: Retain the existing design concept of not
including the standard actions in the .wxs file and continue to
automatically insert the standard actions via candle/light.
This would continue to optimise the size of the .msi file for
those WiX authors who are only interested in compiling via
candle/light and are not interested in using dark.
However, if standard actions are encountered by dark with
non-standard sequence numbers then output all actions to
the .wxs file and allow those actions to override the standard
sequence numbers when compiling via candle/light. If all of
the standard actions encountered by dark use standard
sequence numbers then there would be no need to output
the standard actions to the .wxs file.
from issues.
Should be fixed in v2.0.2722.0, dark now has switch to
preserve sequence tables.
from issues.
The problem with not allowing standard actions to be
exported is that if you decompile an MSI that was generated
using VS.NET, then recompile again (all using Wix), the
installation will fail. An error is always displayed indicating
that that you do not have the correct framework version.
Once I copied all the InstallExecutionSequence rows from the
MSI that VS.NET built to the one the candle.exe built, my
MSI worked. The point is that, dark.exe DOES NOT export
everything that is necessary.
(I previous added a bug relating specifically to the VS.NET
msi decompile/compile issue)
from issues.
I believe there may be a misunderstanding. The bug is not
necessarily against dark (see my earlier comment), and there
are still major considerations outstanding.
- These standard actions are not actually being re-added
by light. (Unless you just now fixed this.) - Even if light was fixed to readd these actions, the original
sequencing of those actions are lost from their first 'dark'
import. Standard actions do not have to be sequenced in
their suggested locations and this is commonly different for
some standard actions (e.g. RemoveExistingProducts).
Perhaps #2 can be resolved through a command-line switch
that allows dark to export all standard actions with their
same sequence to the .wxs file.
from issues.
It's possible some of these are candle's fault for not-
reinserting them.
Still, dark needs some sort of mechanism (perhaps a new
command-line switch) for choosing to export the standard
actions in the order they were in the initial install. Standard
actions have many variations on scheduling and we'd want to
preserve those choices somehow.
from issues.
Related Issues (20)
- Regression of RemoveFolderEx in WiX v4 HOT 2
- wix convert fails when leading xml tag defines encoding
- Parallelize UpdateFileFacadesCommand HOT 2
- Adapt to lack of v141 VC toolset on GitHub Actions runner images
- Short reference for GUID variable
- Attempting to override a standard action fails if previously referenced HOT 1
- Unable to add files in the MSI using the `Files` element HOT 1
- Page Not Found: The Discussions page and all the useful history in there is 404 :'( HOT 2
- Page Not Found: /documentation/ HOT 1
- -includepath option is displayed in "wix build" help message as -include
- The WixVariable 'overridable' attribute appears to be ignored (Bundle / WixLib)
- Unable to define BootstrapperApplication in a .wixlib in v5.0.0 HOT 1
- Project name with Space not working in Bundle HOT 2
- Could not run another process with elevated access after the Install Finalize action HOT 5
- Next triage meeting scheduled for 16-July @0930 PT (UTC-7)
- When using the msi internal UI with WixInternalUIBootstrapperApplication on high dpi monitor, the UI is too small HOT 2
- error WIX0095: Multiple primary references were found for Feature 'TestUpdate' in Feature 'TestApp' and Feature 'TestApp' HOT 2
- Not able to set Custom icon on top left corner of installer HOT 2
- The code has broken after upgrading to .NET 8 HOT 9
- Cloning the project gives NU1008 error
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.