wix - plugin msi not removing previous(older) version of plugin -


<?define myvar="c:\documents , settings\rohit\desktop\plugin"?>   <?define search_accel="my search accelerator_5_0_0_0"?>     <product id="*" name="my plugin" language="1033" version="7.0.0.0" manufacturer="my technologies pvt. ltd." upgradecode="{789344f3-6ced-5a92-aa44-51f3694c207f}">         <package installerversion="200" compressed="yes" description="installer myplugin plugin" installscope="peruser" />      <upgrade id="{789344f3-6ced-5a92-aa44-51f3694c207f}">         <upgradeversion             property="old_version_found"             minimum="0.0.1" includeminimum="yes"             maximum="7.0.0.0" includemaximum="yes"             onlydetect="no" ignoreremovefailure="yes"             migratefeatures="yes" />     </upgrade>      <property id="msirestartmanagercontrol" value="disable" />     <installexecutesequence>         <removeexistingproducts after="installinitialize" />         <installexecute after="removeexistingproducts" />     </installexecutesequence>     <media id="1" cabinet="myplugin.cab" embedcab="yes" /> 

this .wxs file. i'm upgrading plugin version 7.0. previous version 6.2!

but when try install new plugin without removing previous one, new plugin(v7.0) gets installed along plugin v6.2.

i want old plugin removed.

is guid or .wxs file configuration?

please help.

thanks!

the above approach works upgrade.

my problem solved when changed guid expected. had got changed due moving solution diffrent machine , hence different visual-studio.


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -