apajovejohn
Posts: 19
Joined: Tue Dec 18, 2018 6:11 pm

Custom Headers in IIS Config loses variable

I am setting IIS Config Headers like this:
ConfigHeader1.jpg
ConfigHeader1.jpg (154.11 KiB) Viewed 9296 times
I specify a default property for [SERVERFQDN] and call a custom action to populate this property, I use that property elsewhere in the installer without issue and it is displayed on my final wizard screen. I can also see in the log that it is being set before this stage of the install, so there's definitely not a problem with the property.

When the installer completes, the ConfigHeader items are all set correctly, except for this one which uses the property:
ConfigHeader2jpg.jpg
ConfigHeader2jpg.jpg (61.44 KiB) Viewed 9296 times
Any suggestions, it seems to be stripping off the ://[Property] part of the entry.

many thanks

john
Liviu
Posts: 1042
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Custom Headers in IIS Config loses variable

Hello John,

I have tested this with a sample project and I can indeed confirm the behavior.

There seems to be a problem with the "://" characters.

I have forwarded this to our development team and hopefully this will be fixed in a future version of Advanced Installer. As soon as the fix will be released we will notify you.

We apologize for the inconvenience and appreciate your patience.

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
apajovejohn
Posts: 19
Joined: Tue Dec 18, 2018 6:11 pm

Re: Custom Headers in IIS Config loses variable

Thanks for confirming, I've worked around it with a PowerShell custom action for now.
Liviu
Posts: 1042
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Custom Headers in IIS Config loses variable

You're always welcome, John!

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Catalin
Posts: 6582
Joined: Wed Jun 13, 2018 7:49 am

Re: Custom Headers in IIS Config loses variable

Hello John,

This has been fixed in version 20.8 of Advanced Installer, released on June 28th, 2023.

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

Return to “Building Installers”