vesselin.denev
Posts: 7
Joined: Tue Feb 03, 2015 8:17 pm

Custom property and launch installed file

Hi all,

I've got this scenario that I just can't seem to find the right way to achieve.

I have a custom property that is tied to an edit box. Also a launch installed file action (starts an exe file) that in the arguments should use the value of the custom property.
The action however should be launched late in the installation, because it needs all the files copied, services installed and started.
However it seems like that this late at the installation this custom property can not be accessed, because it is blank in the argument that the exe receives. If I specify this property in the install parameters with some default value, the default value is used in the argument that runs the executable.

Does somebody known if what I am trying is actually possible and how can it be done?

Kind Regards
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Custom property and launch installed file

Hello Denev and welcome to Advanced Installer forums,

This may happens if you have assigned a private property for the edit field control.
For details, please check our Why do I get the default property value written, instead of the one entered by the user on the MSI dialogs? FAQ article.

Should there be any difficulty you encounter implementing something, please do not hesitate to contact me and I will gladly assist.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
vesselin.denev
Posts: 7
Joined: Tue Feb 03, 2015 8:17 pm

Re: Custom property and launch installed file

Hi Dan,

Thank you for the warm welcome and quick reply.
I will give this a try and reply back with the results.

Kind Regards,
Vesselin Denev
vesselin.denev
Posts: 7
Joined: Tue Feb 03, 2015 8:17 pm

Re: Custom property and launch installed file

Hi Dan,

This is my first installation and this was driving me nuts all day.
You were spot on. After I changed the property from private to public it worked.
Thanks again.

Kind Regards,
Vesselin Denev
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Custom property and launch installed file

You're welcome Vesselin,

I'm glad I could help you.
If there is anything else I can help you with, please let me know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”