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

New Post: "Illegal characters in path" trying to run any sample installer

$
0
0
Typically Wix# compiler is capable of finding WiX installation even without relying on WIXSHARP_WIXDIR variable. Though if this for whatever reason is not happening using VS templates is preferably a better option to start the troubleshooting with.

This is what you can do.
  1. Create a fresh project from "WixSharp Setup" template.
  2. In package management console execute install-package WixSharp
  3. In package management console execute install-package WixSharp.wix.bin
  4. In the code assign Compiler.WixLocation to the location of the WiX bin (either relative or absolute)
//DON'T FORGET to execute "install-package wixsharp" in the package manager console
Compiler.WixLocation = @"..\packages\WixSharp.wix.bin.3.10.1\tools\bin";
Let me know it it worked for you.

Viewing all articles
Browse latest Browse all 1354

Trending Articles



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