New Post: TFS support
I think I found it Oleg! (the problem, not the solution) My colleague who manage TFS is not here today so I will ask here in case you know....When I do my file collections I do it that way: var project...
View ArticleNew Post: TFS support
mm.. I look at another project they have using Wix, and they use environment variable to get file location... is there a way to do that with Wix# please?
View ArticleNew Post: TFS support
Basically how can I use the Wix syntax:<File Id="MyExecutable" Name="$(var.MyProject.TargetFileName)" Source="$(var.MyProject.TargetPath)" DiskId="1" /> as...
View ArticleNew Post: TFS support
With the NuGet Wix# project the working directory is always set to the 'project directory' so you can always adjust your code references (e.g. SourceBaseDir/OutDir)....
View ArticleNew Post: Simple .Net Bootstrapper
Sorry, only now I has some time to look at your project. I cannot load it into VS (some problems with references) but it doesn't matter because the problem is in the building the msi with BuildMSI.cmd....
View ArticleNew Post: Simple .Net Bootstrapper
Hi Oleg, that's it. Adding the "public" solved the problem. The MSI is built now. Will let you know if the bootstrapping works as expected as soon as I have time to try it out ;) Thank you very much!
View ArticleNew Post: Adding the possibility to migrate Features at upgrade
Hi, I try to look in the code but didn't found this possibility. When upgrading being able to detect the previous installation and its installed features. i use this to do it : private static void...
View ArticleNew Post: Multiple issues with Wix#
Hello, I've troubles making Wix# work as I want. Why are only a few Steps for CustomActions implemented into Wix#? I want to run a custom action after AppSearch but there doesn't seem to be a way for...
View ArticleNew Post: Adding the possibility to migrate Features at upgrade
Sure. But keep in mind that modifying XML the way you did is not a "dirty trick". It is a legitimate approach handling the situations when you need to access optional WiX attributes not covered by...
View ArticleNew Post: A few newbie questions
Hi Pavel, It isn't a bug. I have modified your code a little so I can run it. I also added the output to verify that the wildcard path works OK: project.ResolveWildCards() .AllFiles .ForEach(f...
View ArticleNew Post: A few newbie questions
Lovely, thanks a lot for the very quick reply. What about the implementation for the NeverOverwrite Wix option? Is it expected to work for *.config files in my example in combination with...
View ArticleNew Post: Large Number of files to add
fall95_3, Oleg's solution is probably better than mine. I just did not see it when I wrote my own implementation. Jean-Marc
View ArticleNew Post: Upgrades out of order?
It appears that when an upgrade is installed, the newer version is installed fine, but before the older version is uninstalled. Do you you if this is normal behavior of MSI's? Shouldn't it be that the...
View ArticleNew Post: Upgrades out of order?
If the above is per design, is there any way we can combine something like: wixProject.MajorUpgradeStrategy = new MajorUpgradeStrategy { UpgradeVersions = VersionRange.ThisAndOlder +...
View ArticleNew Post: Notes
Oleg, Something I noticed: Project.SourceBaseDir is apparently required if you have a ManagedAction defined in an external assembly (otherwise you get a compile error). As a result of defining...
View ArticleNew Post: Large Number of files to add
You can even skip the last param :) Files files = new Files(wixProject.SourceBaseDir + @"\*.*");In fact even the following should be OK: Files files = new Files("*.*");
View ArticleNew Post: Upgrades out of order?
You can set the desired step to any value as follows: project.MajorUpgradeStrategy = MajorUpgradeStrategy.Default; project.MajorUpgradeStrategy.RemoveExistingProductAfter = Step.InstallInitialize;
View ArticleNew Post: Notes
I cannot reproduce the problem. <Wix# Samples>\DTF (ManagedCA)\Different Scenarios\ExternalAssembly sample works from both command prompt and VS. Moving dependencies to the different location is...
View ArticleNew Post: A few newbie questions
I think Condition.NOT_Installed alone does what you want. If the file exist it doesn't overwrite it. Tough I am not sure about the MajorUpgrade scenario.
View ArticleNew Post: Support for ComponentGroup
Can we please know how to implement IIS / Website throught WIX#..
View Article