"Users can unistall and reinstall the same MSI right...?"
 
If that's exactly what's happening yes, you can do that. You install the
product, then uninstall it, then install it again. There's no problem with
that - it happens all the time. (You can't install an MSI and then
re-install the exact same MSI file).
 
You didn't say if perhaps this is a per-user install where the same MSI file
is being installed in more than one user context, just in case that's what's
happening.  The verbose log might be useful. 
 
In this case, you're referring to an internal registry key used by Windows
Installer, so it's an implementation detail of Windows Installer, and your
WiX registry entries don't appear to be relevant. If that component really
didn't get removed by an uninstall it may have once been marked never
overwrite, permanent, or there may be another component with that guid
already on the system.  So, as a hypothetical scenario, it looks as if that
0.reg file was (or is) the key path of a component that was installed, that
component may have been marked (perhaps permanent or never overwrite), after
which the component guid may have been broken (used for something else? not
the same keypath?) and that's why I was asking if it really is the exact
same MSI file or if it's been changed in any way. If it repeatedly works ok
on a fresh virtual machine (install->uninstall->install cycles of the same
MSI product file) then you may have got yourself into an issue on a hardware
test machine where repeated testing of changing installs has clobbered the
Windows Installer data. 
 
Phil 

  _____  

From: sureee [mailto:suresh.chintapa...@gmail.com] 
Sent: Wednesday, June 19, 2013 9:08 PM
To: phil.wil...@mvps.org
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Fwd: WIX- Reinstalling MSI - not registring the
component


Thanks,


I am using the same MSI for install/un-install/re-install.


The Install and Un-install is working fine, but re-install is showing the
2908 error.


Users can unistall and reinstall the same MSI right...?


When i uninstall the registry key is deleting, but one key
exists in HKLM/software/microsoft/windows/currentversion/installer. The key
CB4DF53AAC660EB4CBABDEAED2CFF73D is present and the value is C:\Program
Files\Common Files\{Appname}\Config\0.reg.


Why this component is not removed during uninstall.


Here is the code i am using.


<Component Id="RegistryEntriesFrameWork" Directory="TARGETDIR" Guid
="25FDD9EA-A94F-41ef-B8DF-6E202D3687B6">
 <RegistryKey Root="HKCU" Key="Software\Stealth Framework"
Action="createAndRemoveOnUninstall"> 
<RegistryValue Type="string" Name="installed" Value="true" KeyPath="yes"/>
 </RegistryKey> 
</Component>


And why it is showing as UNKNOWN\Components\CB4DF53AAC660EB4CBABDEAED2CFF73D
during re-install. i believe it should show the full registry path instead
UNKNOWN.


Thanks in Advance.
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to