Persist Property set in UI into Execute Sequence - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

sdm10101
Posts: 35
Joined: Wed May 06, 2009 2:13 pm

Persist Property set in UI into Execute Sequence

Hello

I have two properties, say Name and FullName
In one dialog I set Name
During the Init Events of the next dialog, I set FullName to be [Name_Property]-SomeText
However, if I check it or use it during InstallFinalize, it still has its default value.

I've seen that to persist it from UI to Execute Sequence I'd need to add it to SecureCustomProperties list.
However, this still does not persist the value that is set during UI into the execute sequence.

How would I do this?

Thanks
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Persist Property set in UI into Execute Sequence

Hello,

In order to achieve what you want you should use public properties (which contain only upper-case letters in their name). Please keep in mind that only the values of public properties persist from "Wizard Dialogs Stage" to "Install Execution Stage".

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sdm10101
Posts: 35
Joined: Wed May 06, 2009 2:13 pm

Re: Persist Property set in UI into Execute Sequence

Thanks. That fixed the issue.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Persist Property set in UI into Execute Sequence

You're welcome. I'm glad you got this working.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”