New Post: Executing a binary resource
SimplifiedBootstrapper does exactly what you are asking for. The pseudo code: [CustomAction] publicstatic ActionResult RunConfigUtilAction(Session session) { string utilApp =...
View ArticleNew Post: WiX Bundled Version Update
WiX Toolset 3.9 R2 have been released at 21 Jan 2015. There are some important fixes included. Please, update bundled version of WiX in WiX#.
View ArticleNew Post: Dynamicly adding files and folders
Hi, The 'WildCard Files' samples was exactly what i needed thanks kind regards, Michiel
View ArticleNew Post: Nesting a feature under the default feature
I'd like to nest a feature under the auto-generated feature - because i'd rather not specify my own 'root' feature for every item in my project. It doesn't look like there are any hooks to do this...
View ArticleNew Post: Nesting a feature under the default feature
It is rather an API challenge. I am not sure what would be the best (friendlies) syntax for this. May be project.RootFeature (with the default initialization) is the way to go.//explicit root...
View ArticleNew Post: Full Custom WPF UI : return feedback from customaction to any of...
Is there a way to send back some data (string is enough) from a custom action to any of the events available in GenericSetup ? I tried GenericSetup.Message(InstallMessage.Info, Record ) but it doesn't...
View ArticleNew Post: Full Custom WPF UI : return feedback from customaction to any of...
I don't know how exactly access the session of the running MSI. The GenericSetup was developed with ExternalUI in mind and main emphasis was made on the receiving progress message but not nesesarely...
View ArticleNew Post: How to add % in RegValue,
Try to add new RegValue(RegistryHive.ClassesRoot,"test\\shell\\open\\command","","\"[INSTALLDIR]test.exe\" \"%1\"") but % sign cause registry value to be hex value instead of string...
View ArticleNew Post: How to add % in RegValue,
I just inserted your code into the Registry sample and it seems to work just fine. The value type is an "expandable string":
View ArticleNew Post: How to add % in RegValue,
When I run the setup and export the registry setting to a reg file, I get : [HKEY_CLASSES_ROOT\test\shell\open\command]@=hex(2):22,00,43,.............00,00,00 Compared to what is inserted from previous...
View ArticleNew Post: How to add % in RegValue,
Try to repeat the test I described in my first answer and let me know if you got the same result as mine.
View ArticleNew Post: Support for ComponentGroup
How to implement Secure in WebAddress? Dirs = new[] { new Dir(new Id("IIS_WEBSITEPHYSICALPATH"), @"%ProgramFiles%\" + productName + "_" +productVersion, new Dir("Web", new...
View ArticleNew Post: How to add % in RegValue,
If I export it to a reg file it still is exported as hex values, but it doesn't seem to matter... it's recognized as path
View ArticleNew Post: How to add % in RegValue,
I assume that your experiment produced the same result as mine. Meaning that WiX/MSI and Wix# work perfectly. And troubleshooting of the registry exporting is really outside of the Wix# scope. Though I...
View ArticleNew Post: Support for ComponentGroup
This WiX error is saying you that Secure attribute can be set only to the yes/no value while you are trying to set it to the property value. Wix may not like it in two cases:This property does not...
View ArticleNew Post: bootstrapper + 2x msi with custom Clr dialog does not show custom...
I'm trying to create a bootstrapper that launches 2 other msi's, both containing a custom crl dialog. When the msi are run separately (without bootstrapper),, the custom clr dialog shows correctly....
View ArticleNew Post: bootstrapper + 2x msi with custom Clr dialog does not show custom...
Unfortunately there is nothing you can do within Wix# to fix this. The initialization of the UI is completely under control of MSI and WiX runtime. The easiest solution would be to extend your custom...
View ArticleNew Post: Problems installing Wix#
Hi, Currently I cannot work out how to install WiX#... The install.cmd give either a 'Requested registry access is not allowed' error with MyComputer as the assembly that failed, and if I run it as...
View ArticleNew Post: Problems installing Wix#
You do need to run it as admin as install.cmd created en environment variable (writes to the registry). In fact this is all what this batch file does. However you need to run it from the location of...
View Article