InstallExecuteSequence modifying Dialogs

3 messages Options
Embed this post
Permalink
Dan Giambalvo-2

InstallExecuteSequence modifying Dialogs

Reply Threaded More More options
Print post
Permalink
During our InstallExecuteSequence we decrement an install count for the user via a Custom Action.  After that takes place, we want to change the messaging of our Windows Installer UI (Cancel dialog, UserExit dialog, etc) to alert the user to this fact (as it is non-reversable.)  I'm having trouble getting the WiX UI to respond to property changes that take place in the InstallExecuteSequence.  I want to do something as simple as set a property SHOWWARNING to true in InstallExecute, and show/hide some text on the dialogs based on this.

Is this possible?  I haven't been able to come up with any way to tweak the dialogs that can appear once InstallExeucte has started.  I also am not entirely clear how dialogs like the cancel dialog play into the otherwise nicely segmented world of InstallUI and InstallExecute.

Thanks!
-Dan
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users
Blair-2

Re: InstallExecuteSequence modifying Dialogs

Reply Threaded More More options
Print post
Permalink
I haven't really checked but I suspect that Property values set in the
execute sequence don't change the values in the ui sequence since they are
in different processes and I assume are different sessions as a result. I do
know that verbose debug logs show a set of ending property values for each
sequence separately, but I have not compared the two sets of property spew
to know conclusively.

How is your install count preserved? Could you have a custom action in your
UI sequence that reads that new value (or the derived state you users need
to know) in your dialog? It may also be possible to sequence such a "reader"
action after ExecuteAction but I don't know if that would run before or
after UserExit or any other final dialog.

-----Original Message-----
From: Dan Giambalvo [mailto:[hidden email]]
Sent: Friday, October 30, 2009 1:51 PM
To: [hidden email]
Subject: [WiX-users] InstallExecuteSequence modifying Dialogs

During our InstallExecuteSequence we decrement an install count for the user
via a Custom Action.  After that takes place, we want to change the
messaging of our Windows Installer UI (Cancel dialog, UserExit dialog, etc)
to alert the user to this fact (as it is non-reversable.)  I'm having
trouble getting the WiX UI to respond to property changes that take place in
the InstallExecuteSequence.  I want to do something as simple as set a
property SHOWWARNING to true in InstallExecute, and show/hide some text on
the dialogs based on this.

Is this possible?  I haven't been able to come up with any way to tweak the
dialogs that can appear once InstallExeucte has started.  I also am not
entirely clear how dialogs like the cancel dialog play into the otherwise
nicely segmented world of InstallUI and InstallExecute.

Thanks!
-Dan
----------------------------------------------------------------------------
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users
Richard-45

Re: InstallExecuteSequence modifying Dialogs

Reply Threaded More More options
Print post
Permalink
In reply to this post by Dan Giambalvo-2

In article <[hidden email]>,
    Dan Giambalvo <[hidden email]>  writes:

> During our InstallExecuteSequence we decrement an install count for
> the user via a Custom Action.

What does the "install count" mean?

There may be a way to get the desired end result, but at this point I
don't understand the goal, only the way you tried to achieve it and
failed.
--
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
 <http://legalizeadulthood.wordpress.com/the-direct3d-graphics-pipeline/>

      Legalize Adulthood! <http://legalizeadulthood.wordpress.com>

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users