> What does a verbose log say for the action state of that component?
Attached two grepped logs with different arguments, with and without
REINSTALL=ALL REINSTALLMODE=omus
1. msiexec /update Patch\Patch.msp /lv* Logs\PatchGood.log
File Sample.txt is patched
File SampleDb.txt is not touched (as expected)
2. msiexec /update Patch\Patch.msp REINSTALL=ALL REINSTALLMODE=omus /lv*
Logs\PatchBad.log
File Sample.txt is patched
SampleDb.txt is renamed to SampleDb.bak while the original file SampleDb.txt is
not reinstalled (confusing)
Best regards,
Ilya Slobodin
--------------------------------------------------------------------------------
msiexec /update Patch\Patch.msp /lv* Logs\PatchGood.log
MSI (s) (60:00) [22:00:45:077]: File = Sample.txt: Final State = Install
MSI (s) (60:00) [22:00:45:155]: Feature: SampleDbFeature; Installed: Local;
Request: Null; Action: Null
MSI (s) (60:00) [22:00:45:155]: Component: Sample.txt; Installed: Local;
Request: Local; Action: Local
MSI (s) (60:00) [22:00:45:155]: Component: SampleDb.txt; Installed: Local;
Request: Null; Action: Null
MSI (s) (60:00) [22:00:45:155]: Component: SampleDbBackup; Installed: Local;
Request: Null; Action: Null
MSI (s) (60:00) [22:00:45:155]: Component: __Sample.txt65; Installed: Null;
Request: Local; Action: Local
MSI (s) (60:00) [22:00:45:311]: File = Sample.txt: Final State = Install
MSI (s) (60:00) [22:00:45:311]: Caching Sample.txt from C:\Program Files\Patch
Sample Directory\Sample.txt for baseline 0
MSI (s) (60:00) [22:00:45:389]: Executing op:
ComponentRegister(ComponentId={C28843DA-EF08-41CC-BA75-D2B99D8A1983},KeyPath=C:\Program
Files\Patch Sample
Directory\Sample.txt,State=3,,Disk=1,SharedDllRefCount=0,BinaryType=0)
MSI (s) (60:00) [22:00:45:389]: Executing op:
CacheBaselineFile(Baseline=0,FileKey=Sample.txt,FilePath=C:\Program Files\Patch
Sample Directory\Sample.txt,,Existing=1)
MSI (s) (60:00) [22:00:45:389]: Note: 1: 2318 2:
C:\WINDOWS\Installer\$PatchCache$\UnManaged\S-1-5-21-448539723-1078145449-725345543-1130\9A6D3F852B508FC4EBFA8B835EA1B69B\1.0.0\Sample.txt
MSI (s) (60:00) [22:00:45:389]: Executing op:
FileCopy(SourceName=Sample.txt,SourceCabKey=Sample.txt,DestName=Sample.txt,Attributes=20480,FileSize=5,PerTick=32768,,VerifyMedia=1,,,,,CheckCRC=0,,,InstallMode=58982400,HashOptions=0,HashPart1=2101918640,HashPart2=-1436482531,HashPart3=1114628020,HashPart4=-177151165,,)
MSI (s) (60:00) [22:00:45:389]: File: C:\Program Files\Patch Sample
Directory\Sample.txt; Overwrite; Won't patch; Existing file is unversioned and
unmodified - hash doesn't match source file
MSI (s) (60:00) [22:00:45:389]: Source for file 'Sample.txt' is compressed
MSI (s) (60:00) [22:00:45:389]: Verifying accessibility of file: Sample.txt
MSI (s) (60:00) [22:00:45:436]: Note: 1: 2318 2: C:\Program Files\Patch Sample
Directory\Sample.txt
--------------------------------------------------------------------------------
msiexec /update Patch\Patch.msp REINSTALL=ALL REINSTALLMODE=omus /lv*
Logs\PatchBad.log
MSI (c) (C0:70) [21:48:43:121]: Switching to server: TARGETDIR="d:\"
PATCH="d:\Tests\Installs\WiX\PatchTest\Patch\Patch.msp" CLIENTPROCESSID="1472"
MSPSRCED16B30AA968489D86936DC050C91242="n:\TEMP\244b46b6.msp"
CURRENTDIRECTORY="d:\Tests\Installs\WiX\PatchTest" PRODUCTLANGUAGE="1033"
CLIENTUILEVEL="0" REINSTALLMODE="omus"
_ED16B30AA968489D86936DC050C91242="d:\Tests\Installs\WiX\PatchTest\Patch\Patch.msp"
USERNAME="Ilya Slobodin" COMPANYNAME="Consistent Software" ROOTDRIVE="d:\"
EXECUTEACTION="INSTALL" ACTION="INSTALL" INSTALLLEVEL="1" SECONDSEQUENCE="1"
REINSTALL=SampleDbFeature,SampleProductFeature
MSI (s) (AC:1C) [21:48:43:152]: File = Sample.txt: Final State = Install
MSI (s) (AC:1C) [21:48:43:152]: Command Line: TARGETDIR=d:\
PATCH=d:\Tests\Installs\WiX\PatchTest\Patch\Patch.msp CLIENTPROCESSID=1472
MSPSRCED16B30AA968489D86936DC050C91242=n:\TEMP\244b46b6.msp
CURRENTDIRECTORY=d:\Tests\Installs\WiX\PatchTest PRODUCTLANGUAGE=1033
CLIENTUILEVEL=0 REINSTALLMODE=omus
_ED16B30AA968489D86936DC050C91242=d:\Tests\Installs\WiX\PatchTest\Patch\Patch.msp
USERNAME=Ilya Slobodin COMPANYNAME=Consistent Software ROOTDRIVE=d:\
EXECUTEACTION=INSTALL ACTION=INSTALL INSTALLLEVEL=1 SECONDSEQUENCE=1
REINSTALL=SampleDbFeature,SampleProductFeature ACTION=INSTALL
MSI (s) (AC:1C) [21:48:43:168]: PROPERTY CHANGE: Adding REINSTALL property. Its
value is 'SampleDbFeature,SampleProductFeature'.
MSI (s) (AC:1C) [21:48:43:246]: Feature: SampleDbFeature; Installed: Local;
Request: Reinstall; Action: Reinstall
MSI (s) (AC:1C) [21:48:43:246]: Component: Sample.txt; Installed: Local;
Request: Local; Action: Local
MSI (s) (AC:1C) [21:48:43:246]: Component: SampleDb.txt; Installed: Local;
Request: Local; Action: Local
MSI (s) (AC:1C) [21:48:43:246]: Component: SampleDbBackup; Installed: Local;
Request: Local; Action: Local
MSI (s) (AC:1C) [21:48:43:246]: Component: __Sample.txt65; Installed: Null;
Request: Local; Action: Local
MSI (s) (AC:1C) [21:48:44:058]: File = Sample.txt: Final State = Install
MSI (s) (AC:1C) [21:48:44:058]: Caching Sample.txt from C:\Program Files\Patch
Sample Directory\Sample.txt for baseline 0
MSI (s) (AC:1C) [21:48:44:152]: Executing op:
ComponentRegister(ComponentId={C28843DA-EF08-41CC-BA75-D2B99D8A1983},KeyPath=C:\Program
Files\Patch Sample
Directory\Sample.txt,State=3,,Disk=1,SharedDllRefCount=0,BinaryType=0)
MSI (s) (AC:1C) [21:48:44:152]: Executing op:
ComponentRegister(ComponentId={90F16097-E218-4699-AFFC-9E36B20C8CCC},KeyPath=C:\Program
Files\Patch Sample
Directory\SampleDb.txt,State=3,,Disk=1,SharedDllRefCount=0,BinaryType=0)
MSI (s) (AC:1C) [21:48:44:168]: Executing op:
FileCopy(SourceName=SampleDb.txt,,DestName=SampleDb.bak,Attributes=32,FileSize=9,PerTick=32768,IsCompressed=0,VerifyMedia=0,,,,,,,,InstallMode=262148,,,,,,,)
MSI (s) (AC:1C) [21:48:44:168]: File: C:\Program Files\Patch Sample
Directory\SampleDb.bak; To be installed; Won't patch; No existing file
MSI (s) (AC:1C) [21:48:44:168]: Source for file 'SampleDb.txt' is uncompressed,
at 'C:\Program Files\Patch Sample Directory\'.
MSI (s) (AC:1C) [21:48:44:199]: Executing op:
CacheBaselineFile(Baseline=0,FileKey=Sample.txt,FilePath=C:\Program Files\Patch
Sample Directory\Sample.txt,,Existing=1)
MSI (s) (AC:1C) [21:48:44:199]: Note: 1: 2318 2:
C:\WINDOWS\Installer\$PatchCache$\UnManaged\S-1-5-21-448539723-1078145449-725345543-1130\9A6D3F852B508FC4EBFA8B835EA1B69B\1.0.0\Sample.txt
MSI (s) (AC:1C) [21:48:44:199]: Executing op:
FileCopy(SourceName=Sample.txt,SourceCabKey=Sample.txt,DestName=Sample.txt,Attributes=20480,FileSize=5,PerTick=32768,,VerifyMedia=1,,,,,CheckCRC=0,,,InstallMode=58982400,HashOptions=0,HashPart1=2101918640,HashPart2=-1436482531,HashPart3=1114628020,HashPart4=-177151165,,)
MSI (s) (AC:1C) [21:48:44:199]: File: C:\Program Files\Patch Sample
Directory\Sample.txt; Overwrite; Won't patch; Existing file is unversioned and
unmodified - hash doesn't match source file
MSI (s) (AC:1C) [21:48:44:199]: Source for file 'Sample.txt' is compressed
MSI (s) (AC:1C) [21:48:44:199]: Verifying accessibility of file: Sample.txt
MSI (s) (AC:1C) [21:48:44:262]: Note: 1: 2318 2: C:\Program Files\Patch Sample
Directory\Sample.txt
MSI (s) (AC:1C) [21:48:44:277]: Executing op:
FeaturePublish(Feature=SampleDbFeature,,Absent=2,[EMAIL PROTECTED]@)
Property(S): REINSTALL = SampleDbFeature,SampleProductFeature
msiexec /update Patch\Patch.msp REINSTALL=ALL REINSTALLMODE=omus /lv*
Logs\PatchBad.log
MSI (c) (C0:70) [21:48:43:121]: Switching to server: TARGETDIR="d:\"
PATCH="d:\Tests\Installs\WiX\PatchTest\Patch\Patch.msp" CLIENTPROCESSID="1472"
MSPSRCED16B30AA968489D86936DC050C91242="n:\TEMP\244b46b6.msp"
CURRENTDIRECTORY="d:\Tests\Installs\WiX\PatchTest" PRODUCTLANGUAGE="1033"
CLIENTUILEVEL="0" REINSTALLMODE="omus"
_ED16B30AA968489D86936DC050C91242="d:\Tests\Installs\WiX\PatchTest\Patch\Patch.msp"
USERNAME="Ilya Slobodin" COMPANYNAME="Consistent Software" ROOTDRIVE="d:\"
EXECUTEACTION="INSTALL" ACTION="INSTALL" INSTALLLEVEL="1" SECONDSEQUENCE="1"
REINSTALL=SampleDbFeature,SampleProductFeature
MSI (s) (AC:1C) [21:48:43:152]: File = Sample.txt: Final State = Install
MSI (s) (AC:1C) [21:48:43:152]: Command Line: TARGETDIR=d:\
PATCH=d:\Tests\Installs\WiX\PatchTest\Patch\Patch.msp CLIENTPROCESSID=1472
MSPSRCED16B30AA968489D86936DC050C91242=n:\TEMP\244b46b6.msp
CURRENTDIRECTORY=d:\Tests\Installs\WiX\PatchTest PRODUCTLANGUAGE=1033
CLIENTUILEVEL=0 REINSTALLMODE=omus
_ED16B30AA968489D86936DC050C91242=d:\Tests\Installs\WiX\PatchTest\Patch\Patch.msp
USERNAME=Ilya Slobodin COMPANYNAME=Consistent Software ROOTDRIVE=d:\
EXECUTEACTION=INSTALL ACTION=INSTALL INSTALLLEVEL=1 SECONDSEQUENCE=1
REINSTALL=SampleDbFeature,SampleProductFeature ACTION=INSTALL
MSI (s) (AC:1C) [21:48:43:168]: PROPERTY CHANGE: Adding REINSTALL property. Its
value is 'SampleDbFeature,SampleProductFeature'.
MSI (s) (AC:1C) [21:48:43:246]: Feature: SampleDbFeature; Installed: Local;
Request: Reinstall; Action: Reinstall
MSI (s) (AC:1C) [21:48:43:246]: Component: Sample.txt; Installed: Local;
Request: Local; Action: Local
MSI (s) (AC:1C) [21:48:43:246]: Component: SampleDb.txt; Installed: Local;
Request: Local; Action: Local
MSI (s) (AC:1C) [21:48:43:246]: Component: SampleDbBackup; Installed: Local;
Request: Local; Action: Local
MSI (s) (AC:1C) [21:48:43:246]: Component: __Sample.txt65; Installed: Null;
Request: Local; Action: Local
MSI (s) (AC:1C) [21:48:44:058]: File = Sample.txt: Final State = Install
MSI (s) (AC:1C) [21:48:44:058]: Caching Sample.txt from C:\Program Files\Patch
Sample Directory\Sample.txt for baseline 0
MSI (s) (AC:1C) [21:48:44:152]: Executing op:
ComponentRegister(ComponentId={C28843DA-EF08-41CC-BA75-D2B99D8A1983},KeyPath=C:\Program
Files\Patch Sample
Directory\Sample.txt,State=3,,Disk=1,SharedDllRefCount=0,BinaryType=0)
MSI (s) (AC:1C) [21:48:44:152]: Executing op:
ComponentRegister(ComponentId={90F16097-E218-4699-AFFC-9E36B20C8CCC},KeyPath=C:\Program
Files\Patch Sample
Directory\SampleDb.txt,State=3,,Disk=1,SharedDllRefCount=0,BinaryType=0)
MSI (s) (AC:1C) [21:48:44:168]: Executing op:
FileCopy(SourceName=SampleDb.txt,,DestName=SampleDb.bak,Attributes=32,FileSize=9,PerTick=32768,IsCompressed=0,VerifyMedia=0,,,,,,,,InstallMode=262148,,,,,,,)
MSI (s) (AC:1C) [21:48:44:168]: File: C:\Program Files\Patch Sample
Directory\SampleDb.bak; To be installed; Won't patch; No existing
file
MSI (s) (AC:1C) [21:48:44:168]: Source for file 'SampleDb.txt' is uncompressed,
at 'C:\Program Files\Patch Sample Directory\'.
MSI (s) (AC:1C) [21:48:44:199]: Executing op:
CacheBaselineFile(Baseline=0,FileKey=Sample.txt,FilePath=C:\Program Files\Patch
Sample Directory\Sample.txt,,Existing=1)
MSI (s) (AC:1C) [21:48:44:199]: Note: 1: 2318 2:
C:\WINDOWS\Installer\$PatchCache$\UnManaged\S-1-5-21-448539723-1078145449-725345543-1130\9A6D3F852B508FC4EBFA8B835EA1B69B\1.0.0\Sample.txt
MSI (s) (AC:1C) [21:48:44:199]: Executing op:
FileCopy(SourceName=Sample.txt,SourceCabKey=Sample.txt,DestName=Sample.txt,Attributes=20480,FileSize=5,PerTick=32768,,VerifyMedia=1,,,,,CheckCRC=0,,,InstallMode=58982400,HashOptions=0,HashPart1=2101918640,HashPart2=-1436482531,HashPart3=1114628020,HashPart4=-177151165,,)
MSI (s) (AC:1C) [21:48:44:199]: File: C:\Program Files\Patch Sample
Directory\Sample.txt; Overwrite; Won't patch; Existing file is
unversioned and unmodified - hash doesn't match source file
MSI (s) (AC:1C) [21:48:44:199]: Source for file 'Sample.txt' is compressed
MSI (s) (AC:1C) [21:48:44:199]: Verifying accessibility of file: Sample.txt
MSI (s) (AC:1C) [21:48:44:262]: Note: 1: 2318 2: C:\Program Files\Patch Sample
Directory\Sample.txt
MSI (s) (AC:1C) [21:48:44:277]: Executing op:
FeaturePublish(Feature=SampleDbFeature,,Absent=2,[EMAIL PROTECTED]@)
Property(S): REINSTALL = SampleDbFeature,SampleProductFeature
msiexec /update Patch\Patch.msp /lv* Logs\PatchGood.log
MSI (s) (60:00) [22:00:45:077]: File = Sample.txt: Final State = Install
MSI (s) (60:00) [22:00:45:155]: Feature: SampleDbFeature; Installed: Local;
Request: Null; Action: Null
MSI (s) (60:00) [22:00:45:155]: Component: Sample.txt; Installed: Local;
Request: Local; Action: Local
MSI (s) (60:00) [22:00:45:155]: Component: SampleDb.txt; Installed: Local;
Request: Null; Action: Null
MSI (s) (60:00) [22:00:45:155]: Component: SampleDbBackup; Installed: Local;
Request: Null; Action: Null
MSI (s) (60:00) [22:00:45:155]: Component: __Sample.txt65; Installed: Null;
Request: Local; Action: Local
MSI (s) (60:00) [22:00:45:311]: File = Sample.txt: Final State = Install
MSI (s) (60:00) [22:00:45:311]: Caching Sample.txt from C:\Program Files\Patch
Sample Directory\Sample.txt for baseline 0
MSI (s) (60:00) [22:00:45:389]: Executing op:
ComponentRegister(ComponentId={C28843DA-EF08-41CC-BA75-D2B99D8A1983},KeyPath=C:\Program
Files\Patch Sample
Directory\Sample.txt,State=3,,Disk=1,SharedDllRefCount=0,BinaryType=0)
MSI (s) (60:00) [22:00:45:389]: Executing op:
CacheBaselineFile(Baseline=0,FileKey=Sample.txt,FilePath=C:\Program Files\Patch
Sample Directory\Sample.txt,,Existing=1)
MSI (s) (60:00) [22:00:45:389]: Note: 1: 2318 2:
C:\WINDOWS\Installer\$PatchCache$\UnManaged\S-1-5-21-448539723-1078145449-725345543-1130\9A6D3F852B508FC4EBFA8B835EA1B69B\1.0.0\Sample.txt
MSI (s) (60:00) [22:00:45:389]: Executing op:
FileCopy(SourceName=Sample.txt,SourceCabKey=Sample.txt,DestName=Sample.txt,Attributes=20480,FileSize=5,PerTick=32768,,VerifyMedia=1,,,,,CheckCRC=0,,,InstallMode=58982400,HashOptions=0,HashPart1=2101918640,HashPart2=-1436482531,HashPart3=1114628020,HashPart4=-177151165,,)
MSI (s) (60:00) [22:00:45:389]: File: C:\Program Files\Patch Sample
Directory\Sample.txt; Overwrite; Won't patch; Existing file is
unversioned and unmodified - hash doesn't match source file
MSI (s) (60:00) [22:00:45:389]: Source for file 'Sample.txt' is compressed
MSI (s) (60:00) [22:00:45:389]: Verifying accessibility of file: Sample.txt
MSI (s) (60:00) [22:00:45:436]: Note: 1: 2318 2: C:\Program Files\Patch Sample
Directory\Sample.txt
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users