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!

ipollock
Posts: 137
Joined: Wed Aug 31, 2016 10:46 am

Web.Config case sensitivity

We have a web.config for our web server. During installation, AI modifies this to support some changes we need in place.
I have a couple of questions as now and again, one or two of the variables are not updated.

1. Is the XML modifier (Edit XML File) windows installer file case sensitive?
2. If this is case sensitive, is there a way to make it non-case sensitive?

best regards,
Ian
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Web.Config case sensitivity

Hi Ian,

The name of the "Edit XML File" operation is not case sensitive. Can you please give me more details about the problem that you encounter? If you could send us a sample project that reproduces the problem it would be very helpful.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ipollock
Posts: 137
Joined: Wed Aug 31, 2016 10:46 am

Re: Web.Config case sensitivity

Hi Eusebiu,

I have a sample project and I can create the scenario quite easily. It does appear that an XML modifier will
ignore the key if it is not the correct case.

In this example it will always copy the file across as it is synch'd.
It will then only modify the key/s depending on whether the letter case is correct.
My 14th Application.aip
(32.52 KiB) Downloaded 285 times
Attachments
web.config.settings1.xml
(346 Bytes) Downloaded 311 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Web.Config case sensitivity

Hi Ian,

I thought you were talking about the XML file name itself. However, if you were talking about an XML attribute that is set as 'identifier attribute', its name is, indeed, case sensitive. This is the normal behavior.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”