[wix-users] Custom action after InstallFiles

Harinatha Narisetty harinatha.narisetty at us.abb.com
Thu Feb 16 15:42:45 PST 2017


Let me take that back.. actually it says file not found to update... but I see the file after installation.

      <Custom Action="UpdateUrlsAction" After="InstallFiles">NOT (REMOVE="ALL")</Custom>

Or 
      <Custom Action="UpdateUrlsAction" After="InstallFinalize">NOT (REMOVE="ALL")</Custom>

Or 
?



-----Original Message-----
From: Harinatha Narisetty 
Sent: Thursday, February 16, 2017 6:40 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: RE: Custom action after InstallFiles

Actually it is running and after I update, the setup is overwriting again.. I don't want setup to modify this file. Is the below line correct for what I am trying to do?

      <Custom Action="UpdateUrlsAction" After="InstallFiles">NOT (REMOVE="ALL")</Custom>

Thanks
Hari

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Hoover, Jacob
Sent: Thursday, February 16, 2017 6:07 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Custom action after InstallFiles

Verbose logs will tell you what is going on.  What makes you say the CA isn't being executed?

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Harinatha Narisetty
Sent: Thursday, February 16, 2017 4:57 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: [wix-users] Custom action after InstallFiles

<Binary Id="EnerpriseCustomActions" SourceFile='..\Temp\BABuild\Enerprise.CustomActions.CA.dll'/>
<CustomAction Id="UpdateUrlsAction" Return="check" Execute="deferred" BinaryKey="EnerpriseCustomActions" DllEntry="UpdateUrls"/>



    <InstallExecuteSequence>
      <Custom Action="UpdateUrlsAction" After="InstallFiles">NOT (REMOVE="ALL")</Custom>
    </InstallExecuteSequence>

The custom action is not executed. I want this to be executed after install files.. so that I can find a file and modify.

Am I doing anything wrong here?

Thanks
Hari

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/



More information about the wix-users mailing list