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

Multips Config changes - script it?

Hi,

I have a web application where AI is the installer creator.
There are changes planned to the URLs of each of the 41 components of the application where 50 config files will have to
receive the same change (followed by another two separate changes). Essentially this is a url wording change to web.config (xml)
files as a new virtual directory is being put into place and extends the URLs.

I'm thinking of some kind of search and replace but not seen how to do that with installer. I have used a simple search and replace on
the actual working model on the IIS server.

Unless there is a better way to do it?

Thanks in advance.

Ian
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: Multips Config changes - script it?

Hi Ian,

I apologize for the delayed reply.

Did you try the "Text File Update" feature from the "Files and Folders" page which also has a "search and replace" function?

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: Multips Config changes - script it?

Yes, that works - thank you.
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: Multips Config changes - script it?

You're welcome Ian. I'm glad it worked.

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

Return to “Building Installers”