Uninstalling the old one
Hi everyone
Can anyone help with uninstalling the old version and installing the new version .The problem is i have two check for two application ,one is the previous version of my current applcation that I am installing and other application is a differnt one . So now I have to check whether both application are installed on the machine and if so the new msi had to uninstall both the old application and install the new application.
Thanks
Can anyone help with uninstalling the old version and installing the new version .The problem is i have two check for two application ,one is the previous version of my current applcation that I am installing and other application is a differnt one . So now I have to check whether both application are installed on the machine and if so the new msi had to uninstall both the old application and install the new application.
Thanks
0 Comments
[ + ] Show comments
Answers (12)
Please log in to answer
Posted by:
jmaclaurin
13 years ago
Posted by:
nagaraju118
13 years ago
here is the process
I have an application which i need to install it .Its an msi.
1) Before installing it has to check if any previous version of it is installed on the machine if so it has uninstall it and install the new version.
2)At the same time it has to check other application(a different application) is installed on the machine and if so it has to uninstall it that one also..........
I have an application which i need to install it .Its an msi.
1) Before installing it has to check if any previous version of it is installed on the machine if so it has uninstall it and install the new version.
2)At the same time it has to check other application(a different application) is installed on the machine and if so it has to uninstall it that one also..........
Posted by:
MSIPackager
13 years ago
You need to learn how to use the appsearch and associated tables... You can set properties based on the results then use those property values in the launchcondition tables or for custom actions etc.
There should be plenty of info on the boards here, here's the msdn info:
http://msdn.microsoft.com/en-us/library/aa367579(v=vs.85).aspx
Cheers,
Rob.
There should be plenty of info on the boards here, here's the msdn info:
http://msdn.microsoft.com/en-us/library/aa367579(v=vs.85).aspx
Cheers,
Rob.
Posted by:
jmaclaurin
13 years ago
Posted by:
kanthsri87
13 years ago
Posted by:
anonymous_9363
13 years ago
Posted by:
mayur_mak
13 years ago
Hi nagaraju,
you can uninstall the previous application via upgrade table and make sure to sequence the standard action RemoveExsistingProducts properly as per requirment.
for the other application(different application) you can do system search such as appsearc and associated tables such as Drlocator,Reglocator,Complocator and use the searchd values in Custom actions or launch condition table as per requirement.
By the way may i known why u are required to remove the other application which is a different application? via your Application.its a dependecy somethin like??????.....
regards
Mayur
you can uninstall the previous application via upgrade table and make sure to sequence the standard action RemoveExsistingProducts properly as per requirment.
for the other application(different application) you can do system search such as appsearc and associated tables such as Drlocator,Reglocator,Complocator and use the searchd values in Custom actions or launch condition table as per requirement.
By the way may i known why u are required to remove the other application which is a different application? via your Application.its a dependecy somethin like??????.....
regards
Mayur
Posted by:
kanthsri87
13 years ago
Posted by:
anonymous_9363
13 years ago
Posted by:
nagaraju118
13 years ago
mayur_mak : Thanks mayur
Actually its a webex application .....(It has meetingcenter ,outlook,oneclick ,record and player different applications) ..........................the older version has support manager in addition to this .Now they dont want support manager in the new application .So they just want meetingcenter ,outlook,oneclick record and player and by using this we are trying to uninstall the older version of all the four and also support manager. so I was looking to add the uninstallation in one of these mst.Its done now I used batch file which Jmaclaurin explained me ......and its working..
Thanks alot.......
Thanks to all of you for your replies...........
Actually its a webex application .....(It has meetingcenter ,outlook,oneclick ,record and player different applications) ..........................the older version has support manager in addition to this .Now they dont want support manager in the new application .So they just want meetingcenter ,outlook,oneclick record and player and by using this we are trying to uninstall the older version of all the four and also support manager. so I was looking to add the uninstallation in one of these mst.Its done now I used batch file which Jmaclaurin explained me ......and its working..
Thanks alot.......
Thanks to all of you for your replies...........
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.