Quantcast
Channel: wixsharp Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1354

New Post: Including MSM merge modules in a Wix# installer - how to? What am I doing wrong?

$
0
0
The formatting let you down. This is the code you are effectively executing:
new Project("SetupLettersDiagnostics",
            new Dir(@"%ProgramFiles%\test",
                    new File(featureA, Path.Combine("", "nunit.exe")),
                    ...
                    new File(featureA, Path.Combine("", "Lib", "nunit-console-runner.dll"),
                             new Merge(featureB, "MyMergeModule.msm"))));
The fix is to move Merge into one level up (into the Dir constructor)

Unfortunately the File constructor arguments validation routine has a bug, which leads to the malformed message:
"Only {0}, {1} and {2} items can be added to {2}"//instead of"Only {0}, {1} and {2} items can be added to {3}"
The correct message should be: "Only WixSharp.FileShortcut, WixSharp.FileAssociation and WixSharp.ServiceInstaller items can be added to WixSharp.File"

The error message problem is corrected and the fix will be available in the next release.

Viewing all articles
Browse latest Browse all 1354

Trending Articles


FLASHBACK WITH SIRASA FM AT GALGAMUWA 2022


Mp3 Download: Mdu - Mazola


Imitation gun was fired at motorist in Leicester road-rage incident


Ndebele names


MCKINNEY EMALINE “EMMA” OF WES...


Okra & Motia — The Workshop (Prod by Hammer)


Skint TV teen to be sentenced


Moondru Mudichu 19-09-2017 – Polimer tv Serial


YOSVANI JAMES Arrested by Miami-Dade County Corrections on Jan 10, 2017


Stories • Goddess Stepmom



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>