New Post: determine install dir from external UI
The most beneficial technique for any investigation including discovering the relationships between properties and elements is to compile the C# script with the Compiler.PreserveTempFiles = true;. This...
View ArticleNew Post: determine install dir from external UI
Thanks for your help, so in my startInstall, I should do StartInstall("CUSTOM_UI=true INSTALLDIR=\"C:\test\CustomDir\" /q "); and whether I do project.UI = WUI.WixUI_InstallDir; or project.UI =...
View ArticleNew Post: determine install dir from external UI
seems to work now, pretty nice. StartInstall("CUSTOM_UI=true INSTALLDIR=C:\test1\CustomDir"); if I tried to put /q, it complains and said it is an invalid command argument. Other than that, it works....
View ArticleNew Post: determine install dir from external UI
Great. Yes the /q is a pure MsiEecx command line argument and it should not be used with StartInstall project.UI = WUI.WixUI_InstallDir; Does not make a difference because it is an instruction for the...
View ArticleNew Post: Simple .Net Bootstrapper
Hi there, I've been trying for quite some time to get a simple .Net-Bootstrapper to work. The Bootstrapper should determine if .Net 4.5 is installed and install it in case it's not installed yet and...
View ArticleNew Post: Simple .Net Bootstrapper
Please find the code skeleton of the potential solution here: https://dl.dropboxusercontent.com/u/2192462/Support/Crazychief/Bootstrapper.7z
View ArticleNew Post: Simple .Net Bootstrapper
Hi Oleg, thank you very much for the immediate response. I've been working with this sample and always keep getting the following error message: Searching for custom action entry points in setup.cs.dll...
View ArticleNew Post: Simple .Net Bootstrapper
Before we proceed can you tell me if you can compile the SimplifiedBootstrepper sample?can compile the code sample I shared with you?
View ArticleNew Post: Simple .Net Bootstrapper
Sorry, I am off now. Will be able to discuss further in 2 weeks.
View ArticleNew Post: Regarding custom action
i got the below code from this site.using System; using System.Windows.Forms; using WixSharp; using Microsoft.Deployment.WindowsInstaller; class Script { static public void Main(string[] args) { var...
View ArticleNew Post: Simple .Net Bootstrapper
Hi, sorry for the delayed answer. Yes I can compile both examples. I can send you the project if you want to try it out. Just tell me where to.
View ArticleNew Post: determine install dir from external UI
using External_UI/WinFormsSetup as the starting point, this is basically what I have done. Hopefully, it will save a new user some times implementing this solution. In myproductSetup.cs, add this...
View ArticleNew Post: RegFile -- add a constructor that assigns it to a Wix# "Feature"
It works!! Loaded up Release v1.0.8.0, set up my features of Dev, QA, and Prod, and assigned each entry to a feature. Excerpt from my working installer below. There are two .reg files per feature. The...
View ArticleNew Post: Including MSM merge modules in a Wix# installer - how to? What am I...
So I decided to create a merge module for the NUnit Test runner, to include in some diagnostics deployments. It seems to generate the MSM just fine. However, when I try to include it in my main...
View ArticleNew Post: How can I skip the license agreement?
I'm trying to figure out how to skip the license agreement entirely and wasn't able to find an example from the Samples directory. I'm using the UI WUI.WixUI_InstallDir. I've tried ProgressOnly, but it...
View ArticleNew Post: Regarding custom action
Sorry for the delay, I was on holidays :)WiX SDK uses the CustomAction attribute. Thus it can be any method of any class as long as it is public , static and marked with [CustomAction]Oleg
View ArticleNew Post: Simple .Net Bootstrapper
OK I am back. :) You can share the project on Dropbox(or similar)and just post the link here. Alternatively you can use "support" email from here: http://www.csscript.net/wixsharp.html
View ArticleNew Post: Including MSM merge modules in a Wix# installer - how to? What am I...
The formatting let you down. This is the code you are effectively executing: new Project("SetupLettersDiagnostics", new Dir(@"%ProgramFiles%\test", new File(featureA, Path.Combine("", "nunit.exe")),...
View ArticleNew Post: How can I skip the license agreement?
You have a few option here. With the current release (v1.0.8.0) you can accomplish this via XML Injection: ... Compiler.WixSourceGenerated += Compiler_WixSourceGenerated; Compiler.BuildMsi(project); }...
View Article