I just ran into this exact same issue and have been trying to find a suitable
solution. I need to install the .NET Framework and also a newer C++ runtime
as per-machine prerequisites but my software on a per-user basis.

Would using the managed bootstrapper help get around this issue by any
chance? My understanding is that using the managed bootstrapper means there
are actually two bootstrappers, one that takes care of installing .NET
Framework if needed, and then the managed one that gets launched after.

If the "inner" managed bootstrapper is capable of doing a regular per-user
install after the "outer" native bootstrapper installs the .NET Framework,
that would solve most of this issue. I say most because I also need to
install the C++ runtime, but for now I could resort to deploy the C++ DLLs
locally with my app instead of using the merge module.

I'm looking at some of the managed bootstrapper tutorials and blob posts
right now and will slap something together to try out this theory, but if
anybody already knows the answer that would be even better. I'll post
another reply with my findings once I'm done.

The only other alternative I see is using some other means like a simple
batch file to execute multiple bundles in series, that way I would have one
bundle with .NET and C++ runtime in it which would run per-machine or just
the MSIs for those without a bundle, and then another bundle with my
per-user software MSI. Not ideal especially for issues and error conditions,
but better than asking my end-user to run a couple of MSIs manually.

// Sascha



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/dual-purpose-installer-ALLUSERS-2-and-Bootstrapper-tp7591740p7592050.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to