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

New Post: How to install files in a folder based on custom property

$
0
0
Then you will need to create another additional directory branch:
new Dir(@"%ProgramFiles%\My Company\My Product",
    new File(@"..\Files\bin\MyApp.exe"),
    new Dir("Docs",
        new File("readme.txt"))),
new Dir(new Id("TOOLSDIR"), "Tools", 
    new File("setup.cs")),
And now set TOOLSDIR property the same way as in my prev example.

Keep in mind that as an alternative to events you you can also play with the dedicated RegValueProperty actrion
new RegValueProperty("TOOLSDIR",
                    RegistryHive.CurrentUser, 
                    @"SOFTWARE\7-Zip", 
                    "Path", 
                    defaultValue: @"C:\My Company\tools")

Viewing all articles
Browse latest Browse all 1354

Trending Articles



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