My previous version of application was built using Install shield and the
current version, i am developing throuhg setup and deployment VS2005 project.
1) I wanted to check, if my old application exists, remove the application
first and prompt for restart the PC before installing the new application.
Can anybody help me, how can i achieve this using setup & delployment.
2) if above solution is not possible, atleast i should prompt a message
that, install the previous version before installing the new one. Since both
not built using VS2005, i can't add condiition "remove previous version" =
TRUE.
Using Lanuch condition, we can check for File lanuch condition, search for
file, if exists, installation proceeds, with out showing error msg.
I am trying to do the opposit way, if the file exists, i should abort the
installation & prompting a message that, install the old application first.
Thanks,
Prafulla
Yes you can use RemovePreviousVersions. Internally this is an MSI thing, not
something specific to Visual Studio projects. You use the UpgradeCode of the
previous version of the product and refer to the versions you want to
upgrade. That's worth a try.
Why the restart after the uninstall?
--
Phil Wilson
Definitive Guide to Windows Installer
http://www.apress.com/book/view/1590592972
"kota" <ko...@discussions.microsoft.com> wrote in message
news:76124939-60AB-4AC6...@microsoft.com...
--
Phil Wilson
Definitive Guide to Windows Installer
http://www.apress.com/book/view/1590592972
"Phil Wilson" <phil....@wonderware.something.com> wrote in message
news:ek49jEHs...@TK2MSFTNGP05.phx.gbl...
Thanks for your reply, I looked through the Product GUId for previous
release in HKCR\Installer\Components, but my product is not listed here, what
my guess is, may be product ID is not generated here. I was not the person,
who released the previous version.
If product GUID not exists, I cant use this in the Upgrade code of
deployment project.
Is there any other method to remove the application?
Thanks,
prafulla
"kota" <ko...@discussions.microsoft.com> wrote in message
news:2A346117-F396-4944...@microsoft.com...
You can see the linkfor explanation here:
http://www.developingfor.net/setup-and-deployment/uninstalling-a-previous-version-from-an-msi.html
Regards
Amod
"kota" <ko...@discussions.microsoft.com> wrote in message
news:76124939-60AB-4AC6...@microsoft.com...