New Post: Bootstrapper Installer Sample with Embedded C++ 2013 and 2015 Redist
I'm having trouble chaining from the C++ 2015 install to MyProduct.msi. It works if I re-run the installer. No idea why it doesn't chain. Testing was done on a clean Windows 7 VM.
View ArticleNew Post: .net 4.5 prerequisite is not working properly (Wix# 1.0.16.0,...
MSI way of checking prerequisites is not a direct one. It updates the certain session properties according the algorithm you specify (e.g. registry value). Then you need to schedule a special entity...
View ArticleNew Post: Bootstrapper Installer Sample with Embedded .NET 4.0 or 4.5
Thank you for sharing. Since you are becoming a more regular Wiki contributer :) you may like to know that you can even further improve your code samples by using 'C#' tag, which triggers C# syntax...
View ArticleNew Post: Bootstrapper Installer Sample with Embedded .NET 4.0 or 4.5
Is there a way to add a binary file to a Bundle or Bootstrapper and extract it to a local "redist" folder prior to starting on the Chain items?
View ArticleNew Post: Bootstrapper IconFile Not Working
Setting bootstrapper.IconFile = @"myicon.ico";has no effect on the generated .exe file icon? It shows up as the Bundle element's IconSourceFile property, but the generated exe's icon remains the...
View ArticleNew Post: Bootstrapper Installer Sample with Embedded .NET 4.0 or 4.5
I don't think so. You can do this (add binary) for msi but I don't know any similar technique for bundle. Though if you are using managed Bootstrapper application (Custom BA) then you can just embed...
View ArticleNew Post: Bootstrapper Installer Sample with Embedded C++ 2013 and 2015 Redist
There is nothing obviously wrong. Is somehow this triggered by the nature of 'C++ 2015 install'? You may test this by just replacing it with something as simple as 'new ExePackage { Name = "Dummy",...
View ArticleNew Post: Custom action calling into .NET 4 assembly
I've confirmed that the sample at src\WixSharp.Samples\Wix# Samples\DTF (ManagedCA)\Different Scenarios\ExternalAssembly builds and runs as expected, but the sample doesn't really test building either...
View ArticleNew Post: Custom action calling into .NET 4 assembly
The error message indicates that the target system doesn't have .NET 4.5+ available. You cannot build a custom action that requires .NET4.5+ and run it on the system where this runtime is unavailable....
View ArticleNew Post: Custom action calling into .NET 4 assembly
I was running the test on my development system which has 4.5 through 4.6.1 on it. Is it possible the error message means something else? Perhaps a config file configuration issue?
View ArticleNew Post: Managed UI and external .NET 4 custom actions
Is it necessary to put the same dll in the RefAssemblies array? What was the misnamed config file? Something Wix# manages internally or something that has to be specified along with the external dll?
View ArticleNew Post: Wix# Samples\DTF (ManagedCA)\Different Scenarios\ExternalAssembly
When I build the equivalent to this sample in visual Studio using the WixSharp Setup template and a class library template for the CustomAction code, it works as long as the CustomAction library...
View ArticleNew Post: Wix# Samples\DTF (ManagedCA)\Different Scenarios\ExternalAssembly
Here's my CustomAction.cs file (only source file in CustomAction.dll class library project):using System; using System.Windows.Forms; using Microsoft.Deployment.WindowsInstaller; namespace CustomAction...
View ArticleNew Post: Dir targetPath doesn't support property substitution
I added the following to my wix# Project, but got a folder called "[MASTERVIDEOROOT]" instead of a folder named by the property value... WEBSITE and WEBPORT work fine. Is this by design? Why? , new...
View ArticleNew Post: Bootstrapper IconFile Not Working
I cannot directly comment your project. May be WiX compiler cannot find your icon or icon itself somehow wrong/incompatible. Though I encourage you to have a look at...
View ArticleNew Post: Dir targetPath doesn't support property substitution
Have a look at your wxs file and you will see the problem. You are setting the name but not the id of the your Dir. And with WiX if you want to substitute the directory name with the property value...
View ArticleNew Post: Custom action calling into .NET 4 assembly
> Is it possible the error message means something else? Actually it is. The very same error will be generated if you are trying to load x64 assmebly under x86 CLR or vise versa. This can happen if...
View ArticleNew Post: Managed UI and external .NET 4 custom actions
I am not sure I follow. What do you refer as "same dll"? You can but don't have to put there the dll that implements your custom action (if it's what you are asking about). However you have to add all...
View ArticleNew Post: Wix# Samples\DTF (ManagedCA)\Different Scenarios\ExternalAssembly
My feeling is that it is caused by your "target framework" setting in the project properties. Instead of guessing about your project details I just created an extra sample that contains two VS projects...
View Article