hi,

i am facing a very weird situation here.

i am installing 2 services during installation.

also i am removing it during uninstall. but the weird thing is that during
uninstall, services are not deleted and also respective EXEs also exists in
the INSTALLLOCATION

here s my code which i have used


<Component Id="comp_5" DiskId="1" Guid="MY GUID">

<File Id="file_TIC_5" Name="Service.exe" Checksum="yes" KeyPath="yes" Source
="D:\Service.exe"/>

<RegistryKey Root="HKLM" Key="SOFTWARE\mySetup" >

<RegistryValue Name="InstallDir" Type="string" Value="[INSTALLLOCATION]" />

</RegistryKey>

<RemoveFile Id ="remove_file_5" Name ="Service.exe" On ="uninstall" />

<ServiceInstall Id ="Service" ErrorControl ="normal" Start ="demand" Type="
ownProcess" Name="My Integration Service" Account ="[DOMAIN]\[USERNAME]"
Password ="[PASSWORD]"/>

<ServiceControl Remove ="uninstall" Stop ="uninstall" Id ="Service" Name="My
Integration Service" Wait ="yes" />

</Component>

please let me know where i am goin wrong.

also with this i have one more EXE which is an application is also left
while uninstallation. In total all EXEs are left in the INSTALLLOCATION.



Thanks,

Akash
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to