Just to wrap up my initial question - I went eventually with the Visual
Studio Boostsrapper and followed this blog post:
http://blogs.msdn.com/b/astebner/archive/2008/11/21/9132456.aspx to achieve
what I wanted.
It gave me exactly what I needed.

My msbuild file looks like that (file name is booststrapper.msbuild):

<Project DefaultTargets="Build" xmlns="
http://schemas.microsoft.com/developer/msbuild/2003"; ToolsVersion="4.0">
  <ItemGroup>
<BootstrapperFile Include=".NETFramework,Version=v4.0">
<Visible>False</Visible>
<ProductName>Microsoft .NET Framework 4.0</ProductName>
<Install>true</Install>
</BootstrapperFile>
<BootstrapperFile Include="Microsoft.Windows.Installer.4.5">
  <Visible>False</Visible>
  <ProductName>Windows Installer 4.5</ProductName>
  <Install>true</Install>
</BootstrapperFile>
  </ItemGroup>
  <Target Name="Bootstrapper">
<GenerateBootstrapper
  ApplicationFile="MyInstaller.msi"
  ApplicationName="My App"
  BootstrapperItems="@(BootstrapperFile)"
  OutputPath=".\"
  ComponentsLocation="Relative"
  Culture="en"
/>
  </Target>
</Project>

And to create the setup.exe file, I run: msbuild.exe booststrapper.msbuild
/target:Bootstrapper

Hope it will help someone someday :)

Thanks for the help!
Shay.



On Fri, Jun 28, 2013 at 4:18 PM, Alan Fors <af...@platesmart.com> wrote:

> As I imagine it, checks for prerequisites would be performed silently. If
> all pre-req's are already installed, it would launch right into the MSI(s).
> If any pre-req's need to be installed, they would be, while an
> informational message is displayed, perhaps with a progress bar.  It would
> be okay for the BA to display a list of the pre-req's it discovered need to
> be installed, with a "OK/Cancel" option, but if there are no prerequisites
> to install, it should be silent.
>
> Alan
>
> -----Original Message-----
> From: Neil Sleightholm [mailto:n...@x2systems.com]
> Sent: Friday, June 28, 2013 3:17 AM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Is it possible to have a bundle without a UI?
>
> I might rise to the challenge but I would like to understand how this
> would work. Do you see it displaying any UI or just silently installing
> pre-reqs? That sounds a little bit anti-social just installing something
> without warning.
>
> Neil
>
>
> >There are several people on this list who might be convinced to write
> >such a BA (and possibly even contribute it back to WiX) if their time
> >were compensated. Just sayin' ;-)
> >
> >> From: r...@robmensching.com
> >> Date: Thu, 27 Jun 2013 10:35:34 -0700
> >> To: wix-users@lists.sourceforge.net
> >> Subject: Re: [WiX-users] Is it possible to have a bundle without a UI?
> >>
> >> That's reasonable too. <smile/>
> >>
> >> I've considered creating such a thing before but it's not
> >>particularly  interesting problem for me so it's not a place where I'd
> >>choose to invest  my volunteer time.
> >>
> >>
> >> On Thu, Jun 27, 2013 at 10:25 AM, Alan Fors <af...@platesmart.com>
> >>wrote:
> >>
> >> > That's a reasonable statement Rob. It would be nice, however, if
> >>there was
> >> > a simple prerequisite BA packaged with WiX. I'd like to do the same
> >>as Shay
> >> > is requesting, without needing to write a custom BA, or re-crafting
> >>the MSI
> >> > UI in the wixstdba.
> >> >
> >> > Alan
> >> >
> >> > -----Original Message-----
> >> > From: Rob Mensching [mailto:r...@robmensching.com]
> >> > Sent: Thursday, June 27, 2013 1:11 PM
> >> > To: General discussion for Windows Installer XML toolset.
> >> > Subject: Re: [WiX-users] Is it possible to have a bundle without a UI?
> >> >
> >> > It is possible however you'd need to write a custom BA. The
> >> > wixstdba (provided with the WiX toolset) is designed to create a
> >> > "single installation experience" not "bunch of independent installs
> >> > popping
> >>up".
> >> >
> >> >
> >> > On Thu, Jun 27, 2013 at 2:48 AM, Vinoth M <vino...@eurofins.com>
> >>wrote:
> >> >
> >> > > I think this is not possible with WIX Bootstrapper. Please find
> >> > > my answer in stack overflow for the same requirement.
> >> > >
> >> > > http://stackoverflow.com/a/17043234/1124244
> >> > >
> >> > > -----Original Message-----
> >> > > From: Shay Friedman [mailto:shay.fried...@gmail.com]
> >> > > Sent: Thursday, June 27, 2013 2:42 PM
> >> > > To: wix-users@lists.sourceforge.net
> >> > > Subject: [WiX-users] Is it possible to have a bundle without a UI?
> >> > >
> >> > > Hi,
> >> > >
> >> > > I've created an installer using WIX and it works fine. Now I want
> >> > > to add a prerequisite installer that installs .NET before the
> >> > > actual installer jumps in.
> >> > > The thing is that I don't want UI for this bootstrapper... I want
> >> > > something like the following flow:
> >> > > - Check if .NET is installed
> >> > > - if not, run .NET installer.
> >> > > - Run my MSI (with its UI and everything)
> >> > >
> >> > > How can I (if it's even possible) achieve that using the WIX
> >>toolset?
> >> > >
> >> > > Many thanks,
> >> > > Shay.
> >> > >
> >> > >
> >>----------------------------------------------------------------------
> >> > > -------- This SF.net email is sponsored by Windows:
> >> > >
> >> > > Build for Windows Store.
> >> > >
> >> > > http://p.sf.net/sfu/windows-dev2dev
> >> > > _______________________________________________
> >> > > WiX-users mailing list
> >> > > WiX-users@lists.sourceforge.net
> >> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> >> > >
> >> > >
> >> > > ScannedByWebsenseForEurofins
> >> > >
> >> > >
> >> > > This message has been scanned for malware by SurfControl plc.
> >> > > www.surfcontrol.com
> >> > >
> >> > >
> >> > >
> >>----------------------------------------------------------------------
> >> > > -------- This SF.net email is sponsored by Windows:
> >> > >
> >> > > Build for Windows Store.
> >> > >
> >> > > http://p.sf.net/sfu/windows-dev2dev
> >> > > _______________________________________________
> >> > > WiX-users mailing list
> >> > > WiX-users@lists.sourceforge.net
> >> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> >> > >
> >> > >
> >> >
> >> >
> >>----------------------------------------------------------------------
> >>---
> >>-----
> >> > This SF.net email is sponsored by Windows:
> >> >
> >> > Build for Windows Store.
> >> >
> >> > http://p.sf.net/sfu/windows-dev2dev
> >> > _______________________________________________
> >> > WiX-users mailing list
> >> > WiX-users@lists.sourceforge.net
> >> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >> >   CONFIDENTIAL INFORMATION: This transmission, as well as any
> >> > attached file or images transmitted contemporaneously, contain(s)
> >> > confidential information that are subject to certain and specific
> >> > privileges, or otherwise protected against unauthorized use, all of
> >> > which are hereby reserved by PlateSmart. The information contained
> >> > in this
> >>transmission, as
> >> > well as any file or images transmitted contemporaneously, is
> >>transmitted in
> >> > this form based on a reasonable expectation of privacy, consistent
> >>with
> >> > U.S. law. Any disclosure, distribution, copying, or use of the
> >>information
> >> > contained in this transmission by any person, regardless of address
> >> > or routing, is strictly prohibited. If you have received this
> >>transmission in
> >> > error, please advise the sender immediately, and delete any materials.
> >> >
> >> >
> >> >
> >>----------------------------------------------------------------------
> >>---
> >>-----
> >> > This SF.net email is sponsored by Windows:
> >> >
> >> > Build for Windows Store.
> >> >
> >> > http://p.sf.net/sfu/windows-dev2dev
> >> > _______________________________________________
> >> > WiX-users mailing list
> >> > WiX-users@lists.sourceforge.net
> >> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >> >
> >> >
> >>
> >>----------------------------------------------------------------------
> >>---
> >>-----
> >> This SF.net email is sponsored by Windows:
> >>
> >> Build for Windows Store.
> >>
> >> http://p.sf.net/sfu/windows-dev2dev
> >> _______________________________________________
> >> WiX-users mailing list
> >> WiX-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >-----------------------------------------------------------------------
> >---
> >----
> >This SF.net email is sponsored by Windows:
> >
> >Build for Windows Store.
> >
> >http://p.sf.net/sfu/windows-dev2dev
> >_______________________________________________
> >WiX-users mailing list
> >WiX-users@lists.sourceforge.net
> >https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>   CONFIDENTIAL INFORMATION: This transmission, as well as any attached
> file or images transmitted contemporaneously, contain(s) confidential
> information that are subject to certain and specific privileges, or
> otherwise protected against unauthorized use, all of which are hereby
> reserved by PlateSmart. The information contained in this transmission, as
> well as any file or images transmitted contemporaneously, is transmitted in
> this form based on a reasonable expectation of privacy, consistent with
> U.S. law. Any disclosure, distribution, copying, or use of the information
> contained in this transmission by any person, regardless of address or
> routing, is strictly prohibited. If you have received this transmission in
> error, please advise the sender immediately, and delete any materials.
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to