I have seen log for those valus and they are: MSI (s) (80:C8) [17:42:53:519]: PROPERTY CHANGE: Adding REINSTALLMODE property. Its value is 'ecmus'. MSI (s) (80:C8) [17:42:53:519]: PROPERTY CHANGE: Adding SECONDSEQUENCE property. Its value is '1'. MSI (s) (80:C8) [17:42:53:519]: PROPERTY CHANGE: Adding REINSTALL property. Its value is 'ProductFeature,Complete'.
What should I do to resolve this issue? On Fri, Jun 15, 2012 at 10:16 AM, Hoover, Jacob <jacob.hoo...@greenheck.com>wrote: > Hmm, > I'd bet that if you compare the REINSTALL and REINSTALLMODE properties of > the log files from both would show a difference. I'm a bit confused as to > why you are expecting key path (registry) entries to be deleted. If the > key path is saying the component is there and a repair happens and the > feature is selected, it should skip any further checks of other "objects" > within said component. > > Jacob > > > -----Original Message----- > From: Ravi Raj [mailto:raviraj.callin...@gmail.com] > Sent: Thursday, June 14, 2012 10:38 PM > To: General discussion for Windows Installer XML toolset. > Subject: [WiX-users] Only one Registry Entry gets deleted while Repair > > I am seeing this strange behavior of my installer while performing Repair. > When I do Right-click -> Repair, things happens great. I get back my > missing (deleted) files. and also custom action preforms great. > But when I double-click the installer and perform repair via Maintenance > Mode, things happen OK but only one registry value gets deleted while rest > other two remains the same. I am not sure why this happens? > > <InstallUISequence> <Custom Action="CA_SetProperty_MACHINENAME" > After="CostFinalize">NOT Installed</Custom> <Custom > Action="CA_SetProperty_SDK_MACHINE" > After="CA_SetProperty_MACHINENAME">NOT Installed</Custom> > <!--For Uninstall--> <Custom Action="CA_SetProperty_SDKMACHINE" > After="AppSearch">Installed</Custom> <Custom > Action="CA_SetProperty_INSTALLPATH" > After="CA_SetProperty_SDKMACHINE">Installed</Custom></InstallUISequence> > <InstallExecuteSequence> <!--Set properties for Installation--> <Custom > Action="CA_SetProperty_MACHINENAME" After="CostFinalize">NOT > Installed</Custom> <Custom Action="CA_SetProperty_SDK_MACHINE" > After="CA_SetProperty_MACHINENAME">NOT Installed</Custom> > <!--For Repair--> <Custom Action="CA_SetBase_Repair" > Before="CA_Install">Installed AND NOT (REMOVE="ALL")</Custom> > <!--Set properties for Uninstall--> <Custom > Action="CA_SetProperty_SDKMACHINE" > After="AppSearch">Installed</Custom> <Custom > Action="CA_SetProperty_INSTALLPATH" > After="CA_SetProperty_SDKMACHINE">Installed</Custom> > <!--For UnInstall--> <Custom Action="CA_SetBase_UnInstall" > Before="CA_UnInstall">Installed</Custom> <Custom Action="CA_UnInstall" > After="MsiUnpublishAssemblies">Installed AND > REMOVE="ALL"</Custom></InstallExecuteSequence> > <!--This is how I populate registry--><Component > Id="SDK_Machine_RegistryEntries" > Guid="4B134F16-5CB0-4BC5-8D08-EAFB1D4A71F6"> <Condition>Not > Installed</Condition> <RegistryKey Root="HKCU" > Key="Software\!(loc.CompanyName)\!(loc.ProductName)"> > <RegistryValue Type="string" Name="SDKServiceMachine" > Value="[INSTALLMACHINE]" KeyPath="yes"/> </RegistryKey></Component> > <!--Custom action to populate regstry--><CustomAction > Id="CA_SetProperty_SDK_MACHINE" Property="INSTALLMACHINE" > Value="[SDK_MACHINE]" Execute="firstSequence" /> <!--Getting the value > for registry--><!--Search for Operations Manager SDK machine name from > Registry--><Property Id="SDK_MACHINE" > Secure="yes"> <RegistrySearch Id="SDK_Machine" > Root="HKCU" Key="Software\....\....\...." > Name="ServiceMachine" Type="raw" /></Property> > > > -- > Thanks and Regards, > Ravi Raj > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and threat > landscape has changed and how IT managers can respond. Discussions will > include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- Thanks and Regards, Ravi Raj ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users