Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
Have you created a .xmlupdate file and specified the Update-EPiXmlFile in your .ps1 file?
Have a look at https://www.coderesort.com/p/epicode/browser/NetworkedPlanet.EasySearch/5.x/NetworkedPlanet.EasySearch.Install/Install%20NetworkedPlanet.EasySearch.Install.ps1 for reference. I know people from EPiServer Norway (Mari) have been involved in modifying this .ps1-file.
I havent verified that this actually works, but it might lead to the right direction...
That did the trick!
I just created an xmlupdate file in my project,
added these lines from to the .ps1 file
Update-EPiXmlFile -TargetFilePath $destinationFolder\Web.config -ModificationFilePath $sourceTemplateFolder\web.config.xmlupdate
Remove-EPiFiles -DirectoryPath $destinationFolder -Include "*.xmlupdate"
and finally i added the file reference in the .wxs fil.
When i installed the module, all updates were made and it worked like a charm.
Thanks for the help
I'm using the EPiWix project template i found in Fredrik Tjärnbergs blog (http://labs.episerver.com/en/Blogs/Fredrik-Tjarnberg/Dates/112488/12/Module-Installation-EPiServer-CMS-5-R2---Getting-started/) toghether with the latest wix build (3.0 something).
All my files are copied and deployed as they should, but i'm having some trouble modifying the web.config file. What i want to do is to add the xml for a dynamic property, and some appsettings values..
So, if anyone has any suggestions it would be appreciated
Thanks!
-Espen