[wix-users] Deferred custom action - communication

Alex Earl slide.o.mix at gmail.com
Tue Apr 12 07:50:03 PDT 2022


I think that is the way I am going to go. Will deferred actions continue
after the installer has completed?

On Tue, Apr 12, 2022 at 6:50 AM Coryat, Jim via wix-users <
wix-users at lists.wixtoolset.org> wrote:

> Then really with this scenario the best you could hope for is to pop a
> notification from the CA with the discovered values?
>
> From: Edwin Castro <egcastr at gmail.com>
> Sent: Monday, April 11, 2022 6:37 PM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Cc: Coryat, Jim <Jim.Coryat at softprocorp.com>
> Subject: Re: [wix-users] Deferred custom action - communication
>
> IMPORTANT NOTICE - This message sourced from an external mail server
> outside of the Company.
> 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<mailto: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<mailto:
> 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<mailto:wix-users at lists.wixtoolset.org>
> Cc: Alex Earl <slide.o.mix at gmail.com<mailto: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
> <
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fearl-of-code.com%2F&data=04%7C01%7CJim.Coryat%40softprocorp.com%7Cb833080a74de434e928608da1c0bc8f5%7C8a807b9b02da47f3a903791a42a2285c%7C0%7C0%7C637853134207545008%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=ReegUCKGfu0d7aWi9%2BgobNOYYKgKw6RhP9zxH%2F9gFEI%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
> <
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.firegiant.com%2F&data=04%7C01%7CJim.Coryat%40softprocorp.com%7Cb833080a74de434e928608da1c0bc8f5%7C8a807b9b02da47f3a903791a42a2285c%7C0%7C0%7C637853134207545008%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=XHUHwsv76JYpHL1gkyKxmZ8MMYvUBV4jQEZzDtIIRXw%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/<
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.firegiant.com%2F&data=04%7C01%7CJim.Coryat%40softprocorp.com%7Cb833080a74de434e928608da1c0bc8f5%7C8a807b9b02da47f3a903791a42a2285c%7C0%7C0%7C637853134207545008%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=XHUHwsv76JYpHL1gkyKxmZ8MMYvUBV4jQEZzDtIIRXw%3D&reserved=0
> >
>
>
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>


-- 
Website: http://earl-of-code.com



More information about the wix-users mailing list