c# - Wix ToolSet Patch Creation Using "Patch Creation Properties" -
first of all, i'd iterate complete noob regarding installers , patches, , have been living articles interwebz.
quick background: we've created installer "installs" web app - creates iis services, databases, etc. succeeding releases, plan on using patches minor upgrades. use .net c# app.
i've been trying create patch project using "patch creation properties" tutorial wix site: http://wixtoolset.org/documentation/manual/v3/patching/patch_building.html
i managed create patch, , work, i've noticed changes html, js, , css files, along web config. changes made on .cs files not reflected. i'm assuming dll files not being replaced patch.
below config patch.wxs:
<patchcreation id="{real guid heere}" cleanworkingfolder="yes" outputpath="c:\outputpath\patch.pcp" wholefilesonly="yes" > <patchinformation description="project 3.0.10 patch" manufacturer="project"/> <patchmetadata allowremoval="yes" description=" patch v3.0.10" manufacturername="manufacturername" targetproductname="targetproductname" moreinfourl="www.google.com" classification="update" displayname="manufacturernamepatch" minorupdatetargetrtm="1"/> <family diskid="5000" mediasrcprop="patch" name="patchtest"> <upgradeimage sourcefile="c:\output\test\new\admin\setup.msi" id="upgradeimage"> <targetimage sourcefile="c:\output\test\old\admin\setup.msi" order="2" id="targetimage" ignoremissingfiles="no" /> </upgradeimage> </family> <patchsequence patchfamily="scmpatchfamily" supersede="yes" /> </patchcreation>
i did patch install log, , noticed this:
msi (s) (18:f0) [17:37:18:316]: file: c:\location\website.web.dll; won't overwrite; won't patch; existing file of equal version
i've been scouring net answers , haven't found fix this.
thank much.
the clue in message! service packs, patches, hotfixes depend on updating binaries based on file version. not speed things not installing files don't need changing, ensures don't overwrite higher version old version. creation dates (as in idea file should replaced because mine newer) not apply. file versiions useful identifying whether client has up-to-date version. increment file version, , if it's managed code don't need change assemblyversion, add assemblyfileversion files have been changed, incremented above existing installed versions.
https://msdn.microsoft.com/en-us/library/aa367835(v=vs.85).aspx
Comments
Post a Comment