New Post: Option to launch app after close
The simplest approach is to avoid inconvenience of the raw WiX and use Wix# ManagedSetup.Create a "WixSharp Managed Setup - Custom UI" project with VS Wix# templates...
View ArticleNew Post: Maintain directory structure
It looks like you are trying to do what is already implemented as a Wix# native feature :) You can add the whole directory with the files in a single step:var project = new Project("MyProduct", new...
View ArticleNew Post: Including Redistribuatble .Net in SilentBootstrapper
I have been attempting something similar to this, but I keep getting compile errors:"The Bundle element contains an unhandled extension element 'RegistrySearchRef'. Please ensure that the extension for...
View ArticleNew Post: Web setup feature
Hi, i want one platform neutral setup and reference either x86 or x64 setup depending on some OS feature remotely. Both platform dependent setups are hosted on a webs server or FTP. if (some feature...
View ArticleNew Post: Including Redistribuatble .Net in SilentBootstrapper
Most likely your code doesn't specify that Util extension needs to be included. Try adding this: bootstrapper.IncludeWixExtension(WixExtension.Util); BTW now you can use dedicated UtilRegistrySearch...
View ArticleNew Post: Web setup feature
Probably you already aware that MSI doesn't support "platform neutral setup". It's a shame but nothing we can do about it. My immediate intuitive answer to this requirement is to build a bootstrapper...
View ArticleNew Post: Option to launch app after close
Thank you for your reply. Meanwhile i've found a workarround without custom dialog. First i added a custom project property: project.AddProperty(new Property(new...
View ArticleNew Post: Including Redistribuatble .Net in SilentBootstrapper
Hello, I've also tried to implement this, however I keep getting an error 'command exited with code 255'. I even tried the exact same code from the sample 'WixBootstrapper_NoUI', same as the last code...
View ArticleNew Post: Web setup feature
Hi Oleg, and what about downloading them from internet? Custom dialog for WiX or custom UI setup with custom code behind, or? Regards Martin
View ArticleNew Post: Web setup feature
As for me I would go with... custom Bootstrapper or an external custom UI as in the External_UI sample. These are the reasons:Using custom dialog would require the MSI host to be built and run in the...
View ArticleNew Post: Including Redistribuatble .Net in SilentBootstrapper
I assume it is a compiler error you are getting in VS. It might be something that upsets the build script (e.g. unhanded exception). Just to verify the health of your environment can you please see if...
View ArticleNew Post: Including Redistribuatble .Net in SilentBootstrapper
OK I see your EDIT. It can help if I give you a quick highlight on what exactly is happening during the build. The first stage is compiling your build script (assembly with static main). This will...
View ArticleNew Post: Including Redistribuatble .Net in SilentBootstrapper
Thanks for your reply, I can indeed delete the file, so it's not locked. However, if I rename it (ex: setup_.exe), it seems to work, but I get a warning:"light.exe : error LGHT0388 : The file name...
View ArticleNew Post: Including Redistribuatble .Net in SilentBootstrapper
Yeah, I've seen this one before. This is the changed behavior delivered with WiX v3.10.2.You can easily fix it by specifying the new exe name in the bootstrapper.Build("MyProduct.exe").Oleg Shilo...
View ArticleNew Post: Option to launch app after close
Great. There is nothing wrong with this approach at all. I do prefer Managed Setup but not because it works better :) As a side note, I am impressed that you are using native WiX dialog customization....
View ArticleNew Post: Including Redistribuatble .Net in SilentBootstrapper
Ah, I see. Thanks, that fixed the issue. I had to change the detection condition to ReleaseVersion>379893 (Checks if the current version installed is 4.5.2 or...
View ArticleNew Post: Web setup feature
After some more consideration I think I overlooked something very obvious. Create a custom very simple downloader app://my_web_setup.exestaticvoid Main(string[] args) { if(args.First() == "/i") {...
View ArticleNew Post: Web setup feature
Hello Oleg, thank you very much for your tip! But why i cannot use the "DownloadUrl" attribute of the <MsiPackage > element of a bundle? Regards Martin
View ArticleNew Post: Web setup feature
> But why i cannot use the "DownloadUrl" You can. I just didn't considered it. :) It seems even a better and more natural approach. You will still need to do the magic of with detecting your CPU...
View Article