jdawar2593
Posts: 7
Joined: Mon Feb 18, 2019 4:32 pm

Patch is overwriting web.config

Hello,

I'm creating an MSI project along with 2 Patches (hotfixes).

I've created the MSI file and Patch 1 MSP file and they work perfectly fine.

However, when I run my Patch 2 MSP file, it overwrites the web.config. I do not want it to overwrite the web.config and just want it to leave the settings that were put in places alone.

I've put in the Table Editor -> InstallExecuteSequence -> AI_XmlInstall -> (REMOVE <> "ALL") AND (NOT PATCH) for all three projects. This seemed to work for Patch 1 and helped it ignore the web.config, but doesn't work for the Patch 2. I'm confused why it isn't working...


Please advise on how I can make my second patch ignore replacing the web.config already set in place from the previous install.


Thanks in advance!
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Patch is overwriting web.config

Hello,

I am not so sure why this happens. I have tested the scenario but I cannot replicate the behavior. Could you send us by email to support at advancedinstaller dot com the following setup projects:

1. AIPs (project files) of all three versions of your setup package
2. AIPs (project files) of both patch package

so we can investigate their settings?

If you cannot share with us your project files, then you can try to isolate the behavior in a buildable sample (.aip + its referenced files) which we can build and test on our side.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jdawar2593
Posts: 7
Joined: Mon Feb 18, 2019 4:32 pm

Re: Patch is overwriting web.config

Hi Daniel,

Thank you for getting back to me. I've recreated the projects and don't seem to be having this web.config issue anymore. If it happens again, I'll let you know. Sorry for any confusion!

You can disregard this.

Thank you,

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

Re: Patch is overwriting web.config

Hello Jackie,

I'm glad you got this working.

All the best,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”