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

New Post: How to catch the OnBuildCompleted event to sign my setup file?

$
0
0
> But how could it be, that build doesn't fail, if the last line of my code is project.BuildMsi(),
I cannot explain that. But you've seen the Wix# source code, It always wait fro WiX compiler to finish with Process.WaitForExit().

The easiest way to solve the problem would be to create a "Hello World" style project that exhibits the problem and send it to me.

If it cannot be done you can test your asynch build assumption. You can modify the code as below:
var msi = project.BuildMsi();
Console.WriteLine("MSI: " + msi);
//have here whatever code that fails the build
This should produce the following output:
ProductName: MyProduct
Version    : 1.0.0.0
ProductId  : {6fe30b47-2577-43ad-9095-1861ca25889c}
UpgradeCode: {6fe30b47-2577-43ad-9095-1861ba25889b}
 
Auto-generated InstallDir ID:
  INSTALLDIR=%ProgramFiles%\My Company\My Product
MSI: c:\users\<user>\documents\visual studio 2015\Projects\WixSharp Setup15\WixSharp Setup15\MyProduct.msi
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
The output above was produced by the default Wix# project template. The placement of the "MSI: c..." below the "INSTALLDIR..." line indicates that execution in my case was synchronous. Let's see what it does in your case.

Viewing all articles
Browse latest Browse all 1354

Trending Articles



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