[wix-users] Deferred custom action - communication

Edwin Castro egcastr at gmail.com
Mon Apr 11 15:36:44 PDT 2022

This only works with immediate custom actions.

Communication is only one-way for deferred custom actions, from the session
to the deferred custom action via CustomActionData.

Edwin G. Castro

On Mon, Apr 11, 2022 at 2:19 PM Coryat, Jim via wix-users <
wix-users at lists.wixtoolset.org> wrote:

> What I have done is to create\update a property with that value using the
> session object which will then be available in the installer context which
> you can then display on the exit dialog.
> -----Original Message-----
> From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of
> Alex Earl via wix-users
> Sent: Sunday, April 10, 2022 6:59 PM
> To: wix-users at lists.wixtoolset.org
> Cc: Alex Earl <slide.o.mix at gmail.com>
> Subject: [wix-users] Deferred custom action - communication
> IMPORTANT NOTICE - This message sourced from an external mail server
> outside of the Company.
> Hi Everyone,
> I'm new to the list, looking forward to learning more! I am currently
> working on the MSI installer for the Jenkins open source project. When
> Jenkins starts for the first time, it creates a file that contains a
> temporary administrator password on disk. What I would like to do in a
> custom action is wait for that file to be created and then display it in
> the installer on the ExitDlg. My custom action needs to be elevated because
> the file may be in another user's LocalData area. I have the
> username/password for that user because I do a check for service login
> capability using msiext. I have the custom action written, but I am not
> sure how to send data BACK to the wxs so that I can display the temp
> password in the UI. I know with a deferred custom action, you have to use
> CustomActionData in a .NET custom action, but all the information I have
> seen seems to say that it is only one way. Is there a way to do what I am
> trying to do?
> Thanks in advance!
> Alex
> --
> Website:
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fearl-of-code.com%2F&data=04%7C01%7CJim.Coryat%40softprocorp.com%7Ce3bff5477d4f450b9e3b08da1b45c06b%7C8a807b9b02da47f3a903791a42a2285c%7C0%7C0%7C637852283648138392%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=WBAdZokKep9WJSzRoZPhQAp7eUIvFW3l34aebtlHgtc%3D&reserved=0
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.firegiant.com%2F&data=04%7C01%7CJim.Coryat%40softprocorp.com%7Ce3bff5477d4f450b9e3b08da1b45c06b%7C8a807b9b02da47f3a903791a42a2285c%7C0%7C0%7C637852283648294631%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=cv37CoxzXq0G52oQBzc2fPjm%2F6ecyBX3ci%2F7k%2F1okME%3D&reserved=0
> ________________________________
>  NOTICE: The information contained in this message is proprietary and/or
> confidential and may be privileged. If you are not the intended recipient
> of this communication, you are hereby notified to: (i) delete the message
> and all copies; (ii) do not disclose, distribute or use the message in any
> manner; and (iii) notify the sender immediately.
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/

More information about the wix-users mailing list