Guys,

 

   After going through some of the logs, I decided to use
WixUI_InstallMode property to differentiate the installer from various
modes of installations.

 

I have a custom action "RetrieveCred" which should execute only for some
modes of installation.

 

<CustomAction Id="RetrieveCred" Return="check" Execute="immediate"
BinaryKey="MystomAction" DllEntry="RetrieveCred"/>

              

 

<InstallExecuteSequence>

                     <Custom Action="RetrieveCred" After="CostFinalize">

                           <![CDATA[WixUI_InstallMode="Update" OR
WixUI_InstallMode="Change" OR WixUI_InstallMode="Repair"]]>

                     </Custom>

<InstallExecuteSequence>

 

Now, when I am applying a patch on the base installer (i.e.
WixUI_InstallMode="Update") my custom action is evaluated to false even
though the condition is evaluated to true. Below is a snapshot of my log
with line no. in them.

 

652: MSI (c) (48:E8) [14:07:42:284]: Doing action: MigrateFeatureStates

653: Action 14:07:42: MigrateFeatureStates. Migrating feature states
from related applications

655: Action start 14:07:42: MigrateFeatureStates.

661: Action start 14:07:42: WelcomeDlg.

662: Action 14:07:42: WelcomeDlg. Dialog created

673: MSI (c) (48:8C)  PROPERTY CHANGE: Adding WixUI_InstallMode
property. Its value is 'Update'.

675: Action 14:07:47: VerifyReadyDlg. Dialog created

811:Action ended 13:34:35: CostFinalize. Return value 1.

812:MSI (s) (8C:D4) [13:34:35:918]: Skipping action: RetrieveCred
(condition is false)

813:MSI (s) (8C:D4) [13:34:35:918]: Doing action: MigrateFeatureStates

 

1578: Action ended 14:08:40: CostFinalize. Return value 1.

1579: MSI (s) (BC:88) [14:08:40:211]: Skipping action: RetrieveCred
(condition is false)

1580: MSI (s) (BC:88) [14:08:40:211]: Doing action: MigrateFeatureStates

 

 

 Can anyone suggest me how to get CA to be executed only on Patch
install?

 Why is the custom action condition is evaluated to false? 

 

Thanks 

________________________________

From: Swaroop Kare 
Sent: 16 October 2013 17:11
To: 'General discussion about the WiX toolset.'
Subject: RE: [WiX-users] Documentation on WIX properties

 

Thanks guys, some of the properties does not behave in the way it is
described in msdn. 

 

Will it be possible for me to know the condition for execution of custom
action that I should use for the following scenarios

 

1)    CA to execute during install, modify and repair. Should not be
executed on Patch install and uninstall.

2)    CA to be executed only on Patch install.

3)    CA to be executed only on Patch uninstall. 

4)    CA to be executed only on major uninstall.

 

Regards,

 

 

-----Original Message-----
From: Pally Sandher [mailto:pally.sand...@iesve.com] 
Sent: 16 October 2013 16:50
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Documentation on WIX properties

 

WiX doesn't have any such thing. Some WIX extensions such as NetFx have
some defined which are listed in their respective schemas but there's
nothing in 'vanilla' WiX like what you're describing.

 

Windows Installer on the other hand has a whole bunch of properties any
MSI can use (such as the REMOVE Property you reference). There's a
comprehensive list of Windows Installer properties on MSDN at
http://msdn.microsoft.com/en-US/library/aa370905.aspx which is linked in
the documentation at
http://wixtoolset.org/documentation/manual/v3/overview/msi_useful_links.
html 

 

Palbinder Sandher 

Software Platform Engineer 

T: +44 (0) 141 945 8500

F: +44 (0) 141 945 8501

http://www.iesve.com 

 

**Design, Simulate + Innovate with the <Virtual Environment>** 

Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456

Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP

Email Disclaimer 

 

 

-----Original Message-----

From: Swaroop Kare [mailto:swaroop.k...@ifdspercana.com] 

Sent: 16 October 2013 16:10

To: General discussion for Windows Installer XML toolset.

Subject: [WiX-users] Documentation on WIX properties

 

Hi,

 

 

 

   Is there a comprehensive list and behaviour of WIX properties that we
can use during component/Custom action install conditions?

 

 

 

  For e.g. if I am correct, "INSTALL" property is false until the
completion of "ExecuteAction" of "InstallUISequence" and then it changes
to true.

 

               The "REMOVE" property is a delimited list of features to
be removed. Just because one or more features is being removed doesn't
mean the product is being removed fully.

 

 

 

Thanks 

 

 

 

 

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to which it is
addressed and may contain information which is privileged, confidential
or prohibited from disclosure or unauthorised use. You are hereby
notified that any use, any form of reproduction, dissemination, copying,
disclosure, modification, distribution and/or publication of this e-mail
message or its attachments other than by it's intended recipient is
strictly prohibited by the sender. If you have received this email in
error, please notify the system manager by email at
ad...@ifdspercana.com Please note that any views or opinions presented
in this email are solely those of the author and do not necessarily
represent those of the company. Finally, this email has been scanned for
the presence of viruses. The recipient should also check this email and
any attachments for the presence of viruses. The company accepts no
liability for any damage caused by any virus transmitted by this email
________________________________________________________________________
______________

 

IFDS Percana Group Limited, no. 307152, is registered in Ireland at 16
Joyce Way, Park West Business Park, Dublin 12, Ireland.

Directors: Eugene Larmon, Patrick Concannon, William Slattery, Paul
O'Neil (UK), Simon Hudson-Lund (UK) and Stephen Parkinson (UK) IFDS
Percana International Managed Services Limited, no. 368022, is regulated
by the Central Bank of Ireland. Registered in Ireland at 16 Joyce Way,
Park West Business Park, Dublin 12, Ireland.

IFDS Percana International Managed Services Limited is a wholly owned
subsidiary of IFDS Percana Group Limited and provides support services
to the life and pensions industry.

Directors: Eugene Larmon, Patrick Concannon, Stephen Parkinson (UK) and
Paul O'Neil (UK).

www.ifdspercana.com

 

______________________________________________________________________

This email has been scanned by the Symantec Email Security.cloud
service.

For more information please visit http://www.symanteccloud.com
______________________________________________________________________

------------------------------------------------------------------------
------

October Webinars: Code for Performance

Free Intel webinars can help you accelerate application performance.

Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
from the latest Intel processors and coprocessors. See abstracts and
register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clk
trk

_______________________________________________

WiX-users mailing list

WiX-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/wix-users

 

------------------------------------------------------------------------
------

October Webinars: Code for Performance

Free Intel webinars can help you accelerate application performance.

Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
from 

the latest Intel processors and coprocessors. See abstracts and register
>

http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clk
trk

_______________________________________________

WiX-users mailing list

WiX-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/wix-users

 

______________________________________________________________________

This email has been scanned by the Symantec Email Security.cloud
service.

For more information please visit http://www.symanteccloud.com

______________________________________________________________________


This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to which it is addressed and may 
contain information which is privileged, confidential or prohibited from 
disclosure or unauthorised use. You are hereby notified that any use, any form 
of reproduction, 
dissemination, copying, disclosure, modification, distribution and/or 
publication of this e-mail message or its attachments other than by it's 
intended recipient is strictly prohibited by the sender. If you have received 
this email in error, please notify the system manager by email at 
ad...@ifdspercana.com
Please note that any views or opinions presented in this email are solely those 
of the author and do not necessarily represent those of the company. Finally, 
this email has been scanned for the presence of viruses. The recipient should 
also check this email and any attachments for the presence of viruses. The 
company accepts no liability for any damage caused by any virus transmitted by 
this email
______________________________________________________________________________________

IFDS Percana Group Limited, no. 307152, is registered in Ireland at 16 Joyce 
Way, Park West Business Park, Dublin 12, Ireland.
Directors: Eugene Larmon, Patrick Concannon, William Slattery, Paul O'Neil 
(UK), Simon Hudson-Lund (UK) and Stephen Parkinson (UK) 
IFDS Percana International Managed Services Limited, no. 368022, is regulated 
by the Central Bank of Ireland. Registered in Ireland at 16 Joyce Way, Park 
West Business Park, Dublin 12, Ireland.
IFDS Percana International Managed Services Limited is a wholly owned 
subsidiary of IFDS Percana Group Limited and provides support services to the 
life and pensions industry.
Directors: Eugene Larmon, Patrick Concannon, Stephen Parkinson (UK) and Paul 
O'Neil (UK).
www.ifdspercana.com

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&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