Question

hii, well i develop a setup.exe(bootstrapper) using GenerateBootstrapper.Bootstrapper to load my msi file after check and installing prerequisites.It perfectly running if i make ComponentsLocation

*) either "HomeSite" to download prerequisites from the microsoft and install.

*) or "Relative" to take the prerequisites at the same location where my application exist and install.

But in my scenario i want that when i run setup.exe(bootstrapper) it first check component in the location where my application exist and IF it's(component) is not exist there then it download them from vendor's URL(Microsoft). Is it possible with wix v3.5???

Was it helpful?

Solution

This is not possible with the msbuild GenerateBootstrapper task.

As for the burn.exe tool in wix v3.5, it is still in development and currently undocumented. The wix.chm in the latest weekly release does not yet mention burn.exe at the time of writing.

edit: The reason that it is not possible is that it is not really useful. I imagine you have two different deployement scenarios:

  • the software is delivered on a CD or DVD with all the prerequisites included
  • the software is downloaded as a zip archive and the prequisites are omitted to minimize download time

You need to prepare two different file trees anyway in this case. So just create a different bootstrapper for each scenario.

edit2: you can also create the two different bootstrappers, then create a third setup.exe which is a simple application that determines which of the two boostrappers to launch.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top