windows installer - Wix Patch Generation issues -
i struggling build working patch our product using wix 3.7.
we @ development stage our product , want validate process building patches before rtm know original installer has information required.
i have tried follow patch creation properties approach detailed on wix toolset website, built 2 installers identical upgradecode , productcode since small update - difference single text file called something_to_patch.txt.
when generated patch correctly identifying data in something_to_patch.txt has changed; log file msimsp.exe contains:
info comparing files: d:\development\xa3-modular\xanalyser3\installer\patches\tmpinstall\target\warwick control technologies\x-analyser 3\something_to_patch.txt d:\development\xa3-modular\xanalyser3\installer\patches\tmpinstall\origin\warwick control technologies\x-analyser 3\something_to_patch.txt... info comparing bytes... info different content... info file key: something_to_patch.txt modified info: phase iv: entering generate payload. info: phase v: entering generate msp. info: generating patch metadata.
when try install patch seems "install" (it shown in add , remove programs updates section) , log indicates successful, installed file not updated.
with verbose log output patch there awful lot of information (i can upload somewhere if necessary) part stood out me lines
msi (s) (6c:60) [12:12:07:205]: executing op: filecopy(sourcename=gsbnpcwh.txt|something_to_patch.txt,sourcecabkey=something_to_patch.txt,destname=something_to_patch.txt,attributes=4608,filesize=21,pertick=65536,,verifymedia=1,,,,,checkcrc=0,,,installmode=58982400,hashoptions=0,hashpart1=-656054953,hashpart2=1104329007,hashpart3=-1666156207,hashpart4=-1000780969,,) msi (s) (6c:60) [12:12:07:205]: file: c:\program files (x86)\warwick control technologies\x-analyser 3\something_to_patch.txt; won't overwrite; won't patch; existing file unversioned , unmodified - hash matches source file
so knows has write file seems skip on because hashes match.
i have tested both "target" msi , "origin" rtm msi files , install different text files expected.
does have recommendations or additional log files etc useful trace problem. can add wxs files if necessary they're pretty identical sample on wix website.
regards, anthony
Comments
Post a Comment