New Post: Installer WPF UI
Hi Oleg, I want to build installer using WPF UI as in your example. What about NET Framework on the client OS? How to build the installer which will work always on OS>=Win7? Use 3.5 ? Or may be...
View ArticleNew Post: InI-Files
Hi folks, I have to create and later modify ini-Files. Wixtoolset have a IniFile element I wold like to use. How can I create or modify ini-Files with WixSharp?
View ArticleNew Post: Installer WPF UI
There a few approaches to your task.You can use Bootstrapper (released a few days ago). In the Bundle class you can set .NET prerequisite:var bootstrapper = new Bundle("My Product", new...
View ArticleNew Post: Remember installation directory for upgrade
I remember now that the result of that discussion (that I could not find) was captured in the "Persisting AppInfo" sample. I checked and indeed it illustrates exactly your scenario.
View ArticleNew Post: Read Me Dialog
Is it possible insert "by code" a "Read Me" rtf Dialog before the End Dialog?
View ArticleNew Post: Read Me Dialog
Currently you can only inject CLR dialog into 'before install' dialog sequence. So the answer is no. Though you can have your completely limit-free custom UI as external-UI or embedded-UI (samples are...
View ArticleNew Post: Read Me Dialog
I understand. And no, generate a full CLR setup in my case is not a viable solution. At this moment I'm follow two ways: Try to modify the End Dialog. There is a Visual Studio Add In that permits to...
View ArticleNew Post: Session variables etc.
I'am have a custom managed function where I would like to know the value of "WixUI_InstallMode". When I ask for that I get "cannot access session details from a non-immediate custom action". Can anyone...
View ArticleNew Post: Select .net Runtime for build msi
I create msi packege with one Custom Action and when I run this package on Windows 7 with .net framework 3.5 I recive error. System.BadImageFormatException: Could not load file or assembly...
View ArticleNew Post: Session variables etc.
I assume you are trying to access session properties from the deferred action. It requires a special technique due to the MSI limitations. Read about it here:...
View ArticleNew Post: Select .net Runtime for build msi
Normally you control this via app.config CustomAction.config. This file is automatically generated and should satisfy all runtimes..but to ensure that it is the case you may want to run your build...
View ArticleNew Post: Session variables etc.
Hi Still I don't get it. I try to access the property "WixUI_InstallMode" (which I can see being set in the logfile when running in mondo mode) - but it's empty. I define my managed action like the...
View ArticleNew Post: Session variables etc.
OK, if you can access your variables then you are NOT in differed action. Deferred action cannot access any property at all. That is why you need to push it into customData. Then most likely you are...
View ArticleNew Post: Select .net Runtime for build msi
& 'D:\Build\Tools\cs-script\lib\Bin\NET 4.5\cscs.exe' .\Src\project.cs Build project normaly but& 'D:\Build\Tools\cs-script\lib\Bin\NET 3.5\cscs.exe' .\Src\project.cs Error: Specified file...
View ArticleNew Post: Select .net Runtime for build msi
Resolved Change project.ResolveWildCards(); to project.ResolveWildCards(false); andproject.CustomUI = new DialogSequence() .On(Dialogs.WelcomeDlg, Buttons.Next, new ShowDialog(Dialogs.InstallDirDlg))...
View ArticleNew Post: Select .net Runtime for build msi
It makes sense. Default arguments were introduced in .NET v4.0 and under older CLR it falls back to the signature with explicit arguments.
View ArticleNew Post: Project.Version Errors
I finally had time to look at this a little more. In my WixToolset project the Product.Version is set as follows; <Product Version="!(bind.FileVersion.HA.CADD.Revit.Core.dll)"> This syntax is...
View ArticleNew Post: Executing a binary resource
Does Wix# support anything that would resemble a CustomAction (xml element) with a specified BinaryKey and ExeCommand attributes? My intent is to execute a file (added as a binary) with command line...
View ArticleNew Post: Project.Version Errors
I have created a work around for this issue by injecting XML into the Product element. Following is the code I used... Compiler.WixSourceGenerated += document => {...
View ArticleNew Post: Project.Version Errors
Funny enough the "bind.FileVersion" work around shouldn't even work. According this https://msdn.microsoft.com/en-us/library/aa370859(v=VS.85).aspx max value for the version component is 255. But I am...
View Article