[wix-users] Find if upgrade / Install inside Custom Action
Philip.Doragh at dell.com
Philip.Doragh at dell.com
Mon Mar 12 09:59:38 PDT 2018
The WCAUtil library is your greatest friend in this regard... for this particular question the following library routine:
WcaGetComponentToDo
Obtains the information of install/uninstall/reinstall for a particular component. But there are several other functions that I use all over my custom actions...
WcaLog -> log to the MSI install log file
WcaDoDeferredAction -> Update the deferred script to add/modify an action
WcaTableExists/WcaOpenExecuteView/WcaFetchRecord -> open and read MSI table contents and possible use information to update deferred script actions
Phil Doragh
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Ven H via wix-users
Sent: Monday, March 12, 2018 11:33 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Ven H <venh.123 at gmail.com>
Subject: [wix-users] Find if upgrade / Install inside Custom Action
Inside a Custom Action, how can we find, if it is invoked on Upgrade / Install? Is there any builtin property which we can invoke using Session inside the Custom Action? Please advise.
Regards,
Venkatesh
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users
mailing list