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

New Post: Is it possible to use it to harvest files?

$
0
0
OK. It's already implemented. See "WildCard Files" and "ReleasFolder"samples.

Top-level file discovery
var project =
    new Project("MyProduct",
        new Dir(@"%ProgramFiles%\MyCompany\MyProduct",
            new DirFiles(@"Release\Bin\*.*"),
            new Dir("GlobalResources", 
                new DirFiles(@"Release\Bin\GlobalResources\*.*")),
            new Dir("Images", 
                new DirFiles(@"Release\Bin\Images\*.*")),
            new ExeFileShortcut("Uninstall MyProduct", "[System64Folder]msiexec.exe", "/x [ProductCode]")));
Deep file discovery
var project =
    new Project("MyProduct",
        new Dir(@"%ProgramFiles%\My Company\My Product",
            new Dir("Documentation", new Files(@"\\BUILDSERVER\My Product\Release\Documentation\*.*")), 
            new Files(@"..\Release Folder\Release\*.*",
                        f => !f.EndsWith(".obj") &&
                            !f.EndsWith(".pdb")),

Viewing all articles
Browse latest Browse all 1354

Trending Articles



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