nopzixcross
Posts: 14
Joined: Mon Feb 20, 2017 11:38 am

Can't Set property value to show on Final Dialog

I use Custom action (SETPROPERTY.CA.DLL) to set value in Edit_Box(property name:"CUSTOM_LOG") on Exit Dialog (Finish)

here is my c# dll custom action

Code: Select all

session["CUSTOM_LOG"] = "Success";
here is my ExecuteSequence
Image

Finally Edit_Box is blank value

How i can fix this?

Thanks.
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Can't Set property value to show on Final Dialog

Hello,

Your screenshot that displays the execute sequence it's not uploaded properly so I don't know where you've placed your custom action. You should place this custom action in the Wizzard Dialogs stage. Due to a Windows Installer limitation, the properties are not passed from "Install Execution Stage" to "Finish Dialogs" stage (exit dialog). Can you give us more details regarding your scenario?

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
nopzixcross
Posts: 14
Joined: Mon Feb 20, 2017 11:38 am

Re: Can't Set property value to show on Final Dialog

I've moved SETPROPERTY.CA.DLL to Wizard Dialog Stage it's works.

Thank you Sorin.

8-) 8-)
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Can't Set property value to show on Final Dialog

Hello,

You are welcome! Please let me know if you have any other questions.

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”