Ok to test Repair I manually delete some files and rerun the installer. It
puts back all  the file at the same places again (great, I guess). But even
if i don't delete or touch any files and just simply runs the repair. Same
thing happens. the registry gets deleted but other two remains the same and
this only happens on Maintenance mode repair else Right-click repair has
normal behavior?

I am unable to track this behavior.

On Fri, Jun 15, 2012 at 10:49 AM, Hoover, Jacob
<jacob.hoo...@greenheck.com>wrote:

> >From msiexec /?,
>
> Repair Options
>        /f[p|e|c|m|s|o|d|a|u|v] <Product.msi | ProductCode>
>                Repairs a product
>                p - only if file is missing
>                o - if file is missing or an older version is installed
> (default)
>                e - if file is missing or an equal or older version is
> installed
>                d - if file is missing or a different version is installed
>                c - if file is missing or checksum does not match the
> calculated value
>                a - forces all files to be reinstalled
>                u - all required user-specific registry entries (default)
>                m - all required computer-specific registry entries
> (default)
>                s - all existing shortcuts (default)
>                v - runs from source and recaches local package
>
> I guess the real question is what are you expecting the repair to do that
> it isn't doing? (I see the comment of deleted files.) Are you saying you do
> an install, then manually delete files and do a repair and it isn't
> detecting the missing files? If so, could you provide a sample of the
> component in which said files reside?
>
> Jacob
>
> -----Original Message-----
> From: Ravi Raj [mailto:raviraj.callin...@gmail.com]
> Sent: Friday, June 15, 2012 12:08 AM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Only one Registry Entry gets deleted while Repair
>
> 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></InstallUISequenc
> > e>  <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
>
>
> ------------------------------------------------------------------------------
> 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

Reply via email to