There is no way to modify the requested state of packages from
IBootstrapperBAFunction today.

Neil was referring to the state of the machine, like doing stuff with files
or the registry.

On Fri, Apr 3, 2015 at 4:51 PM, Cris Moore <cris.w.mo...@gmail.com> wrote:

> I have a bundle with two MsiPackages. Both MSIs support major updates only.
> The first is the "main" installer and is always installed.  The second MSI
> installs drivers and is optional.  The option to install the drivers is a
> checkbox on the Welcome screen.
>
> Unfortunately,  I can only seem to control two states with just a checkbox:
> Checked = install
> Unchecked = uninstall
>
> Since drivers are a big customer issue for us, we don't want to mess with
> them (uninstall/reinstall) during an update if the drivers haven't changed.
> I just want to leave them alone(i.e., don't want to run the driver
> installer).
>
> What I need is:
> Checked = install (if not installed OR (installed AND newer version))
> Checked = skip (if installed AND not newer version)
> Unchecked = uninstall
>
> Is it possible to use an unmanaged bafunctions.dll to detect the skip
> situation and mark the driver msi to be skipped?  I can see from the
> limited
> documentation and examples that I would be able to detect the skip
> situation, but I can't seem to find any information about how to mark the
> request/action states to NULL.
>
> I read this from Neil Sleightholm ealier post, "Wix Extended Boostrapper
> Application - Custom Actions"
>
> "What they are definitely not for is changing state but I guess there is no
> way to stop someone doing that."
>
> but I think that is exactlly what I want to do.
>
> So my question is: How do you change the request/action states though an
> unmanaged bafunctions.dll?
>
> Thanks,
>
> Cris
>
>
>
> --
> View this message in context:
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Changing-state-in-bafunctions-dll-tp7599845.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for
> all
> things parallel software development, from weekly thought leadership blogs
> to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to