New Post: Error when consuming Merge Modules
Hi, When using the sample source code for consuming MergeModules, I do not receive any errors: . . . var project = new Project("MyMergeModuleSetup", new Dir(@"%ProgramFiles%\My Company", new...
View ArticleNew Post: Error when consuming Merge Modules
Actually it is a WiX limitation. You need to have a directory if you want to install msm. Merge module can only be hosted by a Directory element. Tujough you don't have to have a file for that. Thus I...
View ArticleNew Post: Error when consuming Merge Modules
Thanks so much Oleg_S! The update allowed the code to work.
View ArticleNew Post: Error when consuming Merge Modules
Great. The today release didn't actually contain any changes related to MSM. It must be one of the previous releases. Though... it doesn't matter. It works :)
View ArticleNew Post: Running/using binary file in custom action
Hello I have added some binary files to the managed project. In custom actions I can read these binaries using method ReadBinary in the session object. Is there also any way for getting some path to...
View ArticleNew Post: Running/using binary file in custom action
Hi Tibor, Adding binaries to MSI and then reading them from msi DB is nothing else but a use case of adding user specified binaries to the resources and reading them at runtime. The binary itself is...
View ArticleNew Post: 3rd party libraries in Installer
Hello I am again writing about installer which I implement using ManagedProject. I need to use 3rd party library for a custom action. So I added appropriate nuget package to the installer project. But...
View ArticleNew Post: Failure reason description
I have a CustomAction that does some registry queries to determine if we can install on the target computer. If I fail the CustomAction, I would like to post the reason as the actual installation...
View ArticleNew Post: 3rd party libraries in Installer
Correct. WiX compiler MakeSfxCA.exe doesn't know that the NuGet package needs to be included in the CA package as NuGet is a VS package manager and it has no integration with WiX. Thus all non-GAC...
View ArticleNew Post: Failure reason description
When you detect the failure you can log a detailed failure reason int the session log file. You can also popup the error message if you want: [CustomAction] publicstatic ActionResult MyAction(Session...
View ArticleNew Post: Custom action rollback on Cancel button click
Hello I have a custom deferred action and a rollback custom action which is in the execute sequence before that deferred one. When there is a fail returned in the deferred action the rollback custom...
View ArticleNew Post: Custom action rollback on Cancel button click
Thank you for reporting this. You have just discovered the problem - canceling from Progress dialog doesn't work reliably. It does for native UI but not for managed one. I assume you are using...
View ArticleNew Post: Running 3rd party exes as part of bundle
Hello All, Currently i have a bundle that has to msi packages that I made. I made a custom action to detect the .Net framework and install the 4.6.1 version if it is not already installed. In the same...
View ArticleNew Post: Running 3rd party exes as part of bundle
There is nothing fundamentally wrong with running your setups this way except that if executed during the actual installation phase of your primary setup (msi) the executables will be prevented from...
View ArticleNew Post: UI is not displayed when I combine a ManagedUI MSI with a Bundle...
Is it possible to use the ManagedUI (created by the "WixSharp Managed Setup - Custom UI" visual studio template for example) as the chained MSI in a Bundle based bootstrapper? When I run the...
View ArticleNew Post: UI is not displayed when I combine a ManagedUI MSI with a Bundle...
using System; using WixSharp; using WixSharp.Bootstrapper; using WixSharpSetup.Dialogs; using io = System.IO; namespace WixSharpSetup { class Program { staticvoid Main() { var mainAppMsi =...
View ArticleNew Post: UI is not displayed when I combine a ManagedUI MSI with a Bundle...
Unfortunately Burn has a defect which leads to not showing embedded UI even when DisplayInternalUI is set to true. The issue is logged (https://github.com/wixtoolset/issues/issues/4918/) and WiX team...
View ArticleNew Post: Sample for "Modifying app config file as a post-install action"
I have been unable to locate the sample for modifying an app.config file after installation, which is mentioned in the home page. Could someone please point me to the sample? Thank you.
View ArticleNew Post: Sample for "Modifying app config file as a post-install action"
Here: https://wixsharp.codeplex.com/SourceControl/latest#src/WixSharp.Samples/Wix# Samples/DeferredActions/setup.cs
View Article