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: 7513
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: 7513
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”