Hi,

I'm having problems getting my driver/service to stop and delete itself when
uninstalling my package - I'm currently testing on Vista x86, but I've seen the 
problem on XP and Windows 7 too.

In my WiX file I have:

<Component Id="sctp.sys" Win64="$(var.Win64)" 
Guid="fa538c80-6b0b-4736-b479-a3dce8f8a6a8">
  <File Id="sctp.sys" Name="sctp.sys" KeyPath="yes" Checksum="yes" 
Source="bin\$(env.BUILD_ALT_DIR)\sctp.sys" />
  <RegistryKey Action='createAndRemoveOnUninstall' Id='eventlog' Root='HKLM' 
Key='System\CurrentControlSet\Services\Eventlog\System\sctp'>
   <RegistryValue Id='EventMessageFile' Name='EventMessageFile' 
Type='expandable' Value='%SystemRoot%\System32\drivers\sctp.sys'/>
   <RegistryValue Id='TypesSupported' Name='TypesSupported' Type='integer' 
Value='7'/> 
  </RegistryKey>
 <difx:Driver Legacy="yes" AddRemovePrograms="no" DeleteFiles="yes"/>
 <ServiceControl Id="sctp_service" Name="Sctp" Start="install" Stop="both" 
Remove="uninstall"/>
</Component>

The sctp service (a kernel driver) works without problems during installation 
but it never gets stopped or removed during uninstallation. Also, the entry 
remains in the "Programs and Features" window until I close and re-open it, 
while I'd expect the entry to be removed as soon as the uninstallation had 
finished.
I'm using WiX 3.5.1728.0.  Is this a limitation of DIFxApp, or am I missing 
something in my WiX sources?

-- 
Bruce Cran

------------------------------------------------------------------------------

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

Reply via email to