I'd check the MSI log in case Windows 7 has changed behavior. If the 
screensaver is hooked into Explorer in some way Windows might decide to 
postpone the file removal until a reboot.  There are other sharing scenarios 
that will also have this effect (like saying the component is shared and 
unnecessarily setting the msidbComponentAttributesSharedDllRefCount bit).  

Phil Wilson 


-----Original Message-----
From: Brian Michalski [mailto:bmichal...@gmail.com] 
Sent: Monday, July 27, 2009 10:44 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Win 7 Uninstall from SystemFolder

I'm testing an installer for a screensaver on Windows 7 and find that when I
uninstall the program, the .scr file I installed to SystemFolder
(C:\Windows\System32) doesn't get removed.  Repeating the process on Windows
Vista & Windows XP successfully removes the file.  I also tried installing
an image file (the .ico I use for my project) to SystemFolder and found it
uninstalled correctly on Windows 7.

Is there something special I should be doing to have an executable file
removed on Windows 7 from the SystemFolder?

If this helps:

>     <Directory Id="TARGETDIR" Name="SourceDir">

      <Directory Id="SystemFolder" Name="SFiles">

        <Component Id="ScreenSaver" Guid="{STUFF}">

          <File Id="ConcertoScreenSaverFile"
> Name="$(var.ConcertoScreenSaver.TargetName).scr"
> Source="$(var.ConcertoScreenSaver.TargetDir)$(var.ConcertoScreenSaver.TargetName).scr"
> DiskId="1" KeyPath="yes" Vital="yes"/>

         </Component>

      </Directory>

    </Directory>


Thanks,
Brian
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to