Creating installation package using the episerver wix-tool

Vote:
 

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 Smile

Thanks!

-Espen

#26873
Jan 06, 2009 14:45
Vote:
 

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...

#26876
Jan 07, 2009 7:56
Vote:
 

I'll check it out!

 Thanks:) 

#26877
Jan 07, 2009 8:43
Vote:
 

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 helpSmile

 

#26879
Jan 07, 2009 9:20
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.