Hi all,
Hi all,
I am trying to develop a "Small patch" for Our product via wixpdb way with the
patch wxs as::
<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Patch
AllowRemoval="yes"
Classification="Update"
Comments="Abra ka dabra"
Description="dabra ka abra"
DisplayName="patch"
Manufacturer="AAA"
TargetProductName="XXX">
<Media Id="100" Cabinet="Data1.Cab">
<PatchBaseline Id="patch" />
</Media>
<PatchFamily
Id="MyPatchFamily"
Version="1.0.1709.0"
ProductCode="8AB21D86-21F0-430A-9AD1-2D90077104C3"
Supersede="yes">
<ComponentRef Id="cm_cbengine.exe.config" />
<ComponentRef Id="cm_VhdFileProvider.dll" />
</PatchFamily>
</Patch>
</Wix>
I want to patch just 2 files in this patch.. cbengine.exe.config and
VhdFileProvider.dll
The steps which I do are..
Build the product with version 1.0.1709.0.
Change the config file
Increment the version
Rebuild the product...
candle.exe patch.wxs
light.exe patch.wixobj
torch.exe -p -xi CloudBackupProviderolder.wixpdb
CloudBackupProvidernewer.wixpdb -out Patch.wixmst
pyro.exe patch.wixmsp -t patch Patch.wixmst -out Patch.msp
This patch gets generated and I am able to apply it.
But I see that all the dlls have the version updated...
Is that expected?
And is it copying all the dlls?
If yes does the patch also contains all the dlls. ?
Again if yes then whats the use of adding
<ComponentRef Id="cm_VhdFileProvider.dll" />
Also,
In the logs for all dlls I see::
MSI (s) (DC:4C) [15:04:13:968]: Executing op:
CacheBaselineFile(Baseline=0,FileKey=F__VhdFileProvider.dll,FilePath=C:\Program
Files\Microsoft Cloud Backup Provider\bin\VhdFileProvider.dll,,Existing=1)
MSI (s) (DC:4C) [15:04:13:981]: Executing op:
CacheRTMFile(SourceFilePath=C:\Program Files\Microsoft Cloud Backup
Provider\bin\VhdFileProvider.dll,FileKey=F__VhdFileProvider.dll,,ProductCode={8AB21D86-21F0-430A-9AD1-2D90077104C3},ProductVersion=1.0.1709,Attributes=4608,,,,CopierFlags=0,,,,,,)
MSI (s) (DC:4C) [15:04:13:981]: Executing op:
RegisterSharedComponentProvider(PatchGUID={7BF6F157-1695-40CC-B4E8-A6124BE55390},MediaCabinet=#Data1.Cab,File=F__VhdFileProvider.dll,Component={207B3B2A-04BF-4665-A6AB-76E3BC87D48F},ComponentVersion=1.0.1710.0,ProductCode={8AB21D86-21F0-430A-9AD1-2D90077104C3},ProductVersion=1.0.1709,PatchSize=0,PatchAttributes=0,PatchSequence=10056,SharedComponent=0,IsFullFile=1)
MSI (s) (DC:4C) [15:04:13:997]: Executing op:
FileCopy(SourceName=VHDFIL~1.DLL|VhdFileProvider.dll,SourceCabKey=F__VhdFileProvider.dll,DestName=VhdFileProvider.dll,Attributes=4608,FileSize=1633792,PerTick=65536,,VerifyMedia=1,,,,,CheckCRC=0,Version=1.0.1710.0,Language=1033,InstallMode=58982400,,,,,,,)
MSI (s) (DC:4C) [15:04:13:998]: File: C:\Program Files\Microsoft Cloud Backup
Provider\bin\VhdFileProvider.dll; Overwrite; Won't
patch; Existing file is a lower version
MSI (s) (DC:4C) [15:04:13:998]: Source for file 'F__VhdFileProvider.dll' is
compressed
MSI (s) (DC:4C) [15:04:13:999]: Re-applying security from existing file.
MSI (s) (DC:4C) [15:04:14:001]: Verifying accessibility of file:
VhdFileProvider.dll
There is a wont patch field in the log..
Does it means that its not getting patched??
Is there a way I can ask the patch to just send limited files...
Thankx
Kanishk
PS: have attatched the logs for patching
------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
user administration capabilities and model configuration. Take
the hassle out of deploying and managing Subversion and the
tools developers use with it.
http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs