Hi,
when I run uninstallation on windows XP, it does not deletes start menu
entries, registry values, and services installed at this machine. Please
suggest something if u find anything wrong in my code.
code for start menu entries is -
<!-- ***start menu shortcuts at target machine *** -->
<DirectoryRef Id = 'AppSMFolder'>
<!--shortcut only for VM-->
<Component Id = 'BatonSMShortcutCompVM' Guid =
'D566816A-5A50-4AF6-8614-61E309104A96'>
<!--open baton directly-->
<util:InternetShortcut Id="BatonOpen"
Name="Open BATON"
Target="http://localhost:[VMPORT]"
Type="url" />
</Component>
<!-- common shortcuts for VM and CS -->
<Component Id = 'BatonSMShortcutCompVMCS' Guid =
'A065E91B-4E8E-45D1-BEEE-C0F42BD066E5'>
<!--shortcut to Baton Service Manager -->
<Shortcut Id = 'BatonServiceManager'
Name = 'BATON Service Manager'
Target = '[INSTALLDIR]Python24\bsm.exe'
Arguments = '"[INSTALLDIR]Scripts\bsm.pyw"'
Description = 'BATON Service Manager'
Icon = 'bsmIcon' />
</Component>
<!-- common shortcuts for VM CS and DB -->
<Component Id = 'BatonSMShortcutComp' Guid =
'0E76B6B2-6050-4BCE-9664-3DCF2DD0B169'>
<!--shortcut to Baton API manual -->
<Shortcut Id = 'BatonAPIManual'
Name = 'BATON API Manual'
Target = '[INSTALLDIR]Docs\Win32\BatonAPIHelp.pdf'
Description = 'BATON API Manual' />
<!--shortcut to Baton API Samples -->
<Shortcut Id = 'BatonAPISamples'
Name = 'BATON API Samples'
Target = '[INSTALLDIR]Docs\BatonAPISamples\index.htm'
Description = 'BATON API Samples' />
<!--shortcut to Baton installation guide -->
<?if $(var.batonedition) = enterprise ?>
<Shortcut Id = 'BatonInstallationGuide'
Name = 'Installation Guide'
Target =
'[INSTALLDIR]Docs\Win32\BatonEnterpriseInstallationGuide.pdf'
Description = 'BATON Installation Guide' />
<?else?>
<Shortcut Id = 'BatonInstallationGuide'
Name = 'Installation Guide'
Target =
'[INSTALLDIR]Docs\Win32\BatonStandardInstallationGuide.pdf'
Description = 'BATON Installation Guide' />
<?endif?>
<!--shortcut to Baton license request form -->
<Shortcut Id = 'BatonLicenseRequestForm'
Name = 'License Request Form'
Target =
'[INSTALLDIR]Docs\Win32\BatonLicenseRequestForm.doc'
Description = 'License Request Form' />
<!--shortcut to Baton online help -->
<Shortcut Id = 'BatonOnlineHelp'
Name = 'Online Help'
Target = '[INSTALLDIR]Docs\Win32\WebHelp\Index.htm'
Description = 'Online Help' />
<!--shortcut to Baton Datasheet -->
<Shortcut Id = 'BatonDatasheet'
Name = 'Product Datasheet'
Target = '[INSTALLDIR]Docs\BatonDatasheet.pdf'
Description = 'Product Datasheet' />
<!--open baton website-->
<util:InternetShortcut Id="BatonWebsite"
Name="Product Website"
Target="http://baton.interrasystems.com"
Type="url" />
<!--shortcut to uninstall product -->
<Shortcut Id = 'UninstallProduct'
Name = 'Uninstall Baton'
Target = '[System64Folder]msiexec.exe'
Arguments = '/x [ProductCode]'
Description = 'Remove Baton from system' />
<!--shortcut to services -->
<Shortcut Id = 'WindowsServices'
Name = 'Windows Services'
Target = '[System64Folder]services.msc'
Arguments = '/s'
Description = 'Windows Services' />
<RemoveFolder Id = 'AppSMFolder' On = 'uninstall'/>
<RegistryValue Root = 'HKLM' Key =
'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{$(var.Upgradecode)}'
Name = 'installed' Type = 'integer' Value = '1' KeyPath = 'yes'>
<Permission GenericAll="yes" User="[USERGROUP_USERS]" />
</RegistryValue>
<RegistryValue Root = 'HKLM' Key =
'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{$(var.Upgradecode)}'
Name = 'InstallLocation' Type = 'string' Value = '[BATONSYSDRIVE]'>
<Permission GenericAll="yes" User="[USERGROUP_USERS]" />
</RegistryValue>
<RegistryValue Root = 'HKLM' Key =
'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{$(var.Upgradecode)}'
Name = 'Edition' Type = 'string' Value = '$(var.batonedition)'>
<Permission GenericAll="yes" User="[USERGROUP_USERS]" />
</RegistryValue>
</Component>
<Component Id = 'BatonRemoveOldRegisteryEntryComp' Guid =
'45969897-7CD3-44E9-9569-8CB8B581A7FE'>
<RemoveRegistryKey Root = 'HKLM' Key =
'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{$(var.Upgradecode)}'
Action = "removeOnInstall" />
</Component>
</DirectoryRef>
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users