Ahh, that's interesting. Can you add that information to the bug that is open on this issue?
On Mon, Aug 8, 2011 at 6:46 AM, Dan Puza <dp...@ultra-scan.com> wrote: > Hmmm... it appears that the one that didn't work, didn't explicitly have: > <Package InstallScope="perUser" > > And when I add that, it seems to work properly. > > > -----Original Message----- > From: Dan Puza [mailto:dp...@ultra-scan.com] > Sent: Monday, August 08, 2011 9:19 AM > To: WiX-users > Subject: [WiX-users] Burn doesn't detect (and therefore doesn't uninstall) > certain per-user MSIs > > I am having trouble with Burn with certain of my per-user MSIs. The log > shows they are Absent, when they are really Present. Since for some reason > it thinks they are Absent, they don't get uninstalled, causing all kinds of > problems. > > I am installing and uninstalling as the same user. > > Another per-user MSI gets detected and uninstalled properly. What could be > the difference between the two?? > > See in the log below how EXAMPLE.msi and its features are detected as > Absent when they are really installed. For Msi.msi they are detected as > Local and Present. > > > The log: > ---------- > > [0924:0D94][2011-08-08T08:51:57]: Burn v3.6.1929.0, path: > C:\Users\Username\AppData\Local\Package > Cache\{c82bf390-c009-4309-9913-adf575f2de3a}\Setup.exe, cmdline: '/uninstall > -burn.unelevated BurnPipe.{C47F6346-2A9C-4171-95F9-9C0D61CE26FF} > {EDB7F716-47A9-4A60-B0AA-227115BC27A1} 2264' > [0924:0D94][2011-08-08T08:51:57]: Setting string variable 'WixBundleName' > to value 'Setup' > [0924:0D94][2011-08-08T08:51:57]: Setting string variable 'WixBundleLog' to > value 'C:\Users\Username\AppData\Local\Temp\Setup_20110808085157.log' > [0924:0D94][2011-08-08T08:51:57]: Setting string variable 'WixBundleName' > to value 'Setup' > [0924:0D94][2011-08-08T08:51:57]: Setting string variable > 'WixBundleOriginalSource' to value 'P:\Users\USERNAME2\Documents\Visual > Studio 2010\Projects\TestPerUser\Setup\bin\Debug\Setup.exe' > [0924:0D94][2011-08-08T08:51:57]: Detect 2 packages > [0924:0D94][2011-08-08T08:51:57]: Detect 1 msi features for package: > Msi.msi > [0924:0D94][2011-08-08T08:51:57]: Detected feature: ProductFeature, state: > Local > [0924:0D94][2011-08-08T08:51:57]: Detected package: Msi.msi, state: > Present, cached: Yes > [0924:0D94][2011-08-08T08:51:57]: Detect 1 msi features for package: > EXAMPLE.msi > [0924:0D94][2011-08-08T08:51:57]: Detected feature: ProductFeature, state: > Absent > [0924:0D94][2011-08-08T08:51:57]: Detected package: EXAMPLE.msi, state: > Absent, cached: Yes > [0924:0D94][2011-08-08T08:51:57]: Detect complete, result: 0x0 > [0924:0D94][2011-08-08T08:51:58]: Plan 2 packages, action: Uninstall > [0924:0D94][2011-08-08T08:51:58]: Plan 1 msi features for package: > EXAMPLE.msi > [0924:0D94][2011-08-08T08:51:58]: Planned feature: ProductFeature, state: > Absent, requested: Unknown, execute action: None, rollback action: Remove > [0924:0D94][2011-08-08T08:51:58]: Planned package: EXAMPLE.msi, state: > Absent, default requested: Absent, ux requested: Absent, execute: None, > rollback: None, cache: No, uncache: Yes, dependency: Unregister > [0924:0D94][2011-08-08T08:51:58]: Plan 1 msi features for package: Msi.msi > [0924:0D94][2011-08-08T08:51:58]: Planned feature: ProductFeature, state: > Local, requested: Unknown, execute action: None, rollback action: AddLocal > [0924:0D94][2011-08-08T08:51:58]: Setting string variable > 'WixBundleLog_Msi.msi' to value > 'C:\Users\Username\AppData\Local\Temp\Setup_20110808085157_0_Msi.msi.log' > [0924:0D94][2011-08-08T08:51:58]: Setting string variable > 'WixBundleRollbackLog_Msi.msi' to value > 'C:\Users\Username\AppData\Local\Temp\Setup_20110808085157_0_Msi.msi_rollback.log' > [0924:0D94][2011-08-08T08:51:58]: Planned package: Msi.msi, state: Present, > default requested: Absent, ux requested: Absent, execute: Uninstall, > rollback: Install, cache: No, uncache: Yes, dependency: Unregister > [0924:0D94][2011-08-08T08:51:58]: Plan complete, result: 0x0 > [0924:0D94][2011-08-08T08:51:58]: Apply begin > [0924:0D94][2011-08-08T08:51:58]: Applying package: Msi.msi, action: > Uninstall, path: C:\Users\Username\AppData\Local\Package > Cache\{68A8A9E1-38C5-446A-9AA4-420305643D62}v1.0.0.0\Msi.msi, arguments: > '(null)' > [08D8:0CE0][2011-08-08T08:52:00]: Removing cached package: > {9AE9F4FC-F4F6-4B58-B4AF-7284BF70E9B6}v3.0.0.0, from path: > C:\ProgramData\Package Cache\{9AE9F4FC-F4F6-4B58-B4AF-7284BF70E9B6}v3.0.0.0\ > [0924:0D94][2011-08-08T08:52:00]: Removing cached package: > {68A8A9E1-38C5-446A-9AA4-420305643D62}v1.0.0.0, from path: > C:\Users\Username\AppData\Local\Package > Cache\{68A8A9E1-38C5-446A-9AA4-420305643D62}v1.0.0.0\ > [0924:0D94][2011-08-08T08:52:00]: Removing bundle dependency key: > {c82bf390-c009-4309-9913-adf575f2de3a} > [0924:0D94][2011-08-08T08:52:00]: Removing cached bundle: > {c82bf390-c009-4309-9913-adf575f2de3a}, from path: > C:\Users\Username\AppData\Local\Package > Cache\{c82bf390-c009-4309-9913-adf575f2de3a}\ > [0924:0D94][2011-08-08T08:52:00]: Apply complete, result: 0x0 restart: No > [0924:0D94][2011-08-08T08:52:01]: Shutting down, exit code: 0x0 > > > MSI that does NOT get detected/uninstalled properly: > ------------------------------------------------------------------ > > <?xml version="1.0" encoding="UTF-8"?> > <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> > <?define UpgradeCode="{570e6902-4e4c-496f-9cd3-d7c6cd8f6d5f}"?> > <?define ProductVersion="3.0.0.0" ?> > <Product > Id="9ae9f4fc-f4f6-4b58-b4af-7284bf70e9b6" > Name="EXAMPLE" > Language="1033" > Version="$(var.ProductVersion)" > Manufacturer="Manufacturer" > UpgradeCode="$(var.UpgradeCode)"> > <Package InstallerVersion="301" Compressed="yes" /> > <Media Id="1" Cabinet="media1.cab" EmbedCab="yes" /> > <Upgrade Id='$(var.UpgradeCode)'> > <UpgradeVersion OnlyDetect='yes' Property='NEWERFOUND' > Minimum='$(var.ProductVersion)' IncludeMinimum='no' /> > <UpgradeVersion OnlyDetect='no' Property='PREVIOUSFOUND' > Minimum='0.0.0.0' IncludeMinimum='yes' > Maximum='$(var.ProductVersion)' IncludeMaximum='yes' /> > </Upgrade> > <Directory Id="TARGETDIR" Name="SourceDir"> > <Component Id="EXAMPLE"> > <Registry > KeyPath="yes" > Root="HKCU" > Key="SOFTWARE\EXAMPLE"/> > </Component> > <Directory Id="ProgramFilesFolder"> > <Directory Id="INSTALLLOCATION" > Name="EXAMPLE"></Directory> > </Directory> > </Directory> > <Feature Id="ProductFeature" Title="EXAMPLE" Level="1"> > <ComponentRef Id="EXAMPLE" /> > </Feature> > <InstallExecuteSequence> > <RemoveExistingProducts After="InstallValidate" /> > </InstallExecuteSequence> > </Product> > </Wix> > > > > MSI that DOES get detected/uninstalled properly: > ------------------------------------------------------------- > > <?xml version="1.0" encoding="UTF-8"?> > <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> > <Product Id="68a8a9e1-38c5-446a-9aa4-420305643d62" Name="Msi" > Language="1033" Version="1.0.0.0" Manufacturer="Msi" > UpgradeCode="e3f667fa-a16e-4f51-a269-248f9f7f3224"> > <Package InstallerVersion="200" Compressed="yes" > InstallScope="perUser"/> > > <Media Id="1" Cabinet="media1.cab" EmbedCab="yes" /> > > <MajorUpgrade DowngradeErrorMessage="Downgrade Error"/> > > <Directory Id="TARGETDIR" Name="SourceDir"> > <Directory Id="ProgramFilesFolder"> > <Directory Id="INSTALLLOCATION" Name="Msi"> > </Directory> > </Directory> > </Directory> > > <Feature Id="ProductFeature" Title="Msi" Level="1"> > <Component Directory="TARGETDIR" > Guid="{15DC258C-EA34-4480-9606-42EDDD676FAD}" Id="DummyComponent"/> > </Feature> > </Product> > </Wix> > > > > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The > must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos & much more. Register early & save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos & much more. Register early & save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- virtually, Rob Mensching - http://RobMensching.com LLC ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users