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

New Post: WixSharp executing project.

$
0
0
Hi,

I notice when I am doing simple project like the following, that wixsharp seems to build the MSI when I build my app in visual studio. Is there a way I can turn this off so it only runs when I actually execute the code in visual studio. (Press the Start button).

Thanks,

Ward.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

 using WixSharp;

namespace Wix6
{
    class Program
    {
        static void Main(string[] args)
        {

            string compiler = @"D:\Data\Ward\Downloads\Compressed\WixSharp.1.0.41.0\Wix_bin\bin";

            Compiler.WixLocation = compiler;

            var project = new Project("MSI1");

            project.GUID = new Guid("6f330b47-2577-43ad-9095-1861ba25889b");

            Compiler.BuildMsi(project);

        }
    }
}


Viewing all articles
Browse latest Browse all 1354

Trending Articles



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