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!

attiqe.rehman
Posts: 3
Joined: Wed Aug 07, 2024 12:46 pm

Set property value from enviornment variable

Hi,

I need help configuring a property, namely 'SSL_THUMPRINT', to be assigned from an environment variable with the same name. Is this possible within my setup? If it is, a detailed explanation or any supporting documentation that could assist me in this process would be highly appreciated.

Thank you in advance for your help

Thanks,
Attiqe
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Set property value from enviornment variable

Hello Attiqe and welcome to our forums,

Unfortunately, we do not have predefined support for this.

However, what we can do is a custom action that gets the value of your env variable and then sets a property accordingly.

How to set an installer property using custom actions

Hope this helps!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
attiqe.rehman
Posts: 3
Joined: Wed Aug 07, 2024 12:46 pm

Re: Set property value from enviornment variable

Hi Catalin,

Thanks, it worked.
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Set property value from enviornment variable

You are always welcome! :)

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”