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

Custom Headers in IIS Config loses variable

Fri May 12, 2023 4:48 pm

I am setting IIS Config Headers like this:
ConfigHeader1.jpg
ConfigHeader1.jpg (154.11KiB)Viewed 9239 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.44KiB)Viewed 9239 times
Any suggestions, it seems to be stripping off the ://[Property] part of the entry.

many thanks

john

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

Re: Custom Headers in IIS Config loses variable

Tue May 16, 2023 12:07 pm

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

Tue May 16, 2023 5:05 pm

Thanks for confirming, I've worked around it with a PowerShell custom action for now.

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

Re: Custom Headers in IIS Config loses variable

Wed May 17, 2023 7:33 am

You're always welcome, John!

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Catalin
Posts: 6537
Joined: Wed Jun 13, 2018 7:49 am

Re: Custom Headers in IIS Config loses variable

Wed Jul 05, 2023 4:15 pm

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”