To schedule it before any UI is shown, it must be sequenced in the
installUIsequence, probably before CostInitialize.

But this will remove the old version before the user has seen any UI and
won't be able to stop uninstallation. In Windows Installer it would be more
common sense to perform the user "interview" before doing system
modifications.
 

Best regards,
Sebastian Brand

Instyler Setup - Creating WiX-based MSI installations, elegantly.
http://www.instyler.com


-----Original Message-----
From: Sean Farrow [mailto:sean.far...@seanfarrow.co.uk] 
Sent: Thursday, August 20, 2009 13:58
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Obtaining a property and running an exe if, and
only if a property contains a value

Ok:
Does the InstallInitialize action ocure before any ui for the new installer?
Ideally, I would like all this to occure before any new ui.
Sean.

-----Original Message-----
From: Sebastian Brand (Instyler Software) [mailto:wix+us...@instyler.com]
Sent: 20 August 2009 12:34
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Obtaining a property and running an exe if,and only
if a property contains a value

Right after InstallValidate.
Just set @After="InstallInitialize" when adding the custom action to the
sequence 

Best regards,
Sebastian Brand

Instyler Setup - Creating WiX-based MSI installations, elegantly.
http://www.instyler.com


-----Original Message-----
From: Sean Farrow [mailto:sean.far...@seanfarrow.co.uk]
Sent: Thursday, August 20, 2009 12:49
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Obtaining a property and running an exe if, and
only if a property contains a value

Hi: 
When is the Install initialize executed.
Sean.

-----Original Message-----
From: Sebastian Brand (Instyler Software) [mailto:wix+us...@instyler.com]
Sent: 20 August 2009 11:30
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Obtaining a property and running an exe if,and only
if a property contains a value

Hi Sean,

To get the registry values use the <RegistrySearch> element to set the value
to a property. Then use a <CustomAction> with a condition using that
property. Schedule that custom action after InstallInitialize in the
InstallExecuteSequence.


Best regards,
Sebastian Brand

Instyler Setup - Creating WiX-based MSI installations, elegantly.
http://www.instyler.com


-----Original Message-----
From: Sean Farrow [mailto:sean.far...@seanfarrow.co.uk]
Sent: Thursday, August 20, 2009 09:21
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Obtaining a property and running an exe if, and only if
a property contains a value

Hi: 

I am testing a registry value (a string) for a previous installer written
with another product, if the installation exe is found, I want to firstly
obtain another registry value (a string) and then run the previous installer
before re-installing the product using my installer.

What is the best way of doing this?

Sean.

 

------------------------------------------------------------------------
----
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus
on what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------
------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus
on what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------
----
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus
on what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------
------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus
on what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

----------------------------------------------------------------------------
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus
on what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to