[wix-users] Uninstalling MSI causes component reinstall

john.pnvn at seznam.cz john.pnvn at seznam.cz
Thu Apr 21 05:33:00 PDT 2016


Hello,

one of our customers reports that uninstall of a product does not work. 
Uninstall of the product returns error 1603.

Our product is composed out of 1 MSI for the product, bundle and two 
prerequisites (VC++ 2013 redist and .NET Framework 4.5). The MSI itself is 
rather simple - just 1 feature, components dumped into this feature, 1 file 
per component, no UI (using custom BA in bundle).

Windows Installer log indicates that somehow the product feature got into 
"Advertised" state. Two components are not marked to be removed and since 
their (key) files no longer exist, Windows Installer tries to reinstall 
them. Since we don't cache the product, Windows Installer asks for source 
and fails to find it (error 1316).

Does anybody have an idea, what went wrong? Is there a way to fix this 
"broken" state and perhaps being able avoid this in the future?

Windows Installer log file is below:

MSI (s) (4F:C2) [12:35:18:999]: Command Line: ARPSYSTEMCOMPONENT=1 
MSIFASTINSTALL=7 INSTALLFOLDER=D:\TheProduct\ REBOOT=ReallySuppress 
IGNOREDEPENDENCIES=ALL REMOVE=ALL CURRENTDIRECTORY=C:\WINDOWS\system32 
CLIENTUILEVEL=3 MSICLIENTUSESEXTERNALUI=1 CLIENTPROCESSID=6280 
...
MSI (s) (4F:C2) [12:35:18:999]: Product registered: entering maintenance 
mode
...
MSI (s) (4F:C2) [12:35:19:077]: Feature: ProductFeature; Installed: 
Advertise;   Request: Absent;   Action: Absent
MSI (s) (4F:C2) [12:35:19:077]: Component: comp_09E76F87C1834850BF822E6DC
2942ED2; Installed: Absent;   Request: Null;   Action: Null
MSI (s) (4F:C2) [12:35:19:077]: Component: comp_720483CE63D340E981D28B0A75F
36EA4; Installed: Absent;   Request: Null;   Action: Null
...
MSI (s) (4F:C2) [12:35:19:078]: Component: comp_CD9C8AAE10544F7D89901AC
227580215; Installed: Absent;   Request: Null;   Action: Null
MSI (s) (4F:C2) [12:35:19:078]: Component: comp_618A3CBD68A94BCFADAF50DCD54
BF993; Installed: Absent;   Request: Null;   Action: Null
MSI (s) (4F:C2) [12:35:19:078]: Component: ConfigFile; Installed: Local;   
Request: Null;   Action: Local
MSI (s) (4F:C2) [12:35:19:078]: Component: TextFile; Installed: Local;   
Request: Null;   Action: Local
...
MSI (s) (4F:C2) [12:35:19:147]: Executing op: ActionStart(Name=
ProcessComponents,Description=Updating component registration,)
MSI (s) (4F:C2) [12:35:19:147]: Executing op: ProgressTotal(Total=2,Type=1,
ByteEquivalent=24000)
MSI (s) (4F:C2) [12:35:19:147]: Executing op: ComponentRegister(ComponentId=
{7D4C1335-E9E5-4C75-B06F-59854F787558},KeyPath=D:\TheProduct\config.cfg,
State=3,,Disk=1,SharedDllRefCount=0,BinaryType=0)
MSI (s) (4F:C2) [12:35:19:148]: Executing op: ComponentRegister(ComponentId=
{76BD78E8-B9E5-49B4-8115-D9CE78057DE9},KeyPath=D:\TheProduct\textfile.txt,
State=3,,Disk=1,SharedDllRefCount=0,BinaryType=0)
MSI (s) (4F:C2) [12:35:19:148]: Executing op: ActionStart(Name=
UnpublishFeatures,Description=Unpublishing Product Features,Template=
Feature: [1])
MSI (s) (4F:C2) [12:35:19:148]: Executing op: FeatureUnpublish(Feature=
ProductFeature,,Absent=2,Component=
MSI (s) (4F:C2) [12:35:19:148]: Note: 1: 1402 2: UNKNOWN\Installer\Features\
EE29512AF6B349B7800667D12D7A4DEF 3: 2 
MSI (s) (4F:C2) [12:35:19:149]: Executing op: ActionStart(Name=InstallFiles,
Description=Copying new files,Template=File: [1],  Directory: [9],  Size: 
[6])
MSI (s) (4F:C2) [12:35:19:149]: Executing op: ProgressTotal(Total=641,Type=
0,ByteEquivalent=1)
MSI (s) (4F:C2) [12:35:19:149]: Executing op: SetTargetFolder(Folder=D:\
TheProduct\)
MSI (s) (4F:C2) [12:35:19:149]: Executing op: SetSourceFolder(Folder=1\
TheProduct\)
MSI (s) (4F:C2) [12:35:19:149]: Executing op: ChangeMedia(,MediaPrompt=
Please insert the disk: ,MediaCabinet=1\cab1.cab,BytesPerTick=65536,
CopierType=1,,,SignatureRequired=0,,,IsFirstPhysicalMedia=1)
MSI (s) (4F:C2) [12:35:19:149]: Executing op: 
RegisterSharedComponentProvider(,,File=config.cfg,Component={7D4C1335-E9E5-4
C75-B06F-59854F787558},,ProductCode={19088323-FCA5-4A9C-9376-7CDEB918E59E},
ProductVersion=2.0.0,PatchSize=0,PatchAttributes=0,PatchSequence=0,
SharedComponent=0,IsFullFile=0)
MSI (s) (4F:C2) [12:35:19:149]: Executing op: FileCopy(SourceName=config.
cfg,SourceCabKey=config.cfg,DestName=config.cfg,Attributes=512,FileSize=413,
PerTick=65536,,VerifyMedia=1,,,,,CheckCRC=0,,,InstallMode=58982400,
HashOptions=0,HashPart1=426137130,HashPart2=1173405788,HashPart3=961481421,
HashPart4=1417782419,,)
MSI (s) (4F:C2) [12:35:19:150]: File: D:\TheProduct\config.cfg;    To be 
installed;    Won't patch;    No existing file
MSI (s) (4F:C2) [12:35:19:150]: Resolving source.
...
MSI (s) (4F:C2) [12:35:19:154]: Note: 1: 2205 2:  3: Error 
MSI (s) (4F:C2) [12:35:19:154]: Note: 1: 2228 2:  3: Error 4: SELECT `
Message` FROM `Error` WHERE `Error` = 1709 



More information about the wix-users mailing list