-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WixQuietExecAction and deferred #206
Comments
Also I can not change ID.
or
ID still remains auto-generated. |
The only real problem is the ID assignment. Fixed. now. As for deferred actions problem, it is how MSI works. None of the session properties can be accessed from the deferred actions. An since WixQuietExec is relying on property to get the command line to be executed, it is heavily affect by the deferred actions limitation. WixSharp lets you easy tunnel properties to the deferred environment. However, WixQuietExec is such clumsy attempt to solve a very simple problem in such a convoluted way. You are much better off with DeferredCustomAction or even project events: project.AfterInstall += (SetupEventArgs e)=>
{
Process.Start("notepad.exe", e.InstallDir.PathCombine("manual.txt"));
} Have a look at "Setup Events" sample. |
---- * Added IniFile element support * Add ProgressText element support * Add UrlReservation element support * Add CustomActionRef element support * Add CustomAction rollback customization * Issue #201: WixStandardBootstrapperApplication ShowVersion * Issue #198: Files.AddRange not work; Extension method `AddRange` is renamed in `Combine` * Issue #208: Unable to sign msi file * Issue #214: Add InstallPrivileges property to project * Issue #206: WixQuietExecAction and deferred * Custom hash based ID-generation algorithm has been embedded as `WixSharp.Project.HashedTargetPathIdAlgorithm` * Separated `Project.CustomIdAlgorithm` and `Compiler.CustomIdAlgorithm` * Added `Compiler.AutoGeneration.IsWxsGenerationThreadSafe` * `Compiler.AutoGeneration` settings object made read-only
WixQuietExecCmdLine does not work if Execute is set deferred.
In the logs there are such errors:
The thing is that the Property name does not match the ID CustomAction
The text was updated successfully, but these errors were encountered: