Upgrading and uninstalling
Posted: Wed Feb 08, 2006 9:32 am
I have a question concering Upgrading. Once I have asked you about patch, but I didn't use it for upgrading for the following reasons:
1) During Upgrading I need to create new IIS site, but the original installer does not create/delete the site, Therefore; there is no way to delete the site on uninstallation
2) It is not possible - when I move installed files around. In this case I'm technically breaking the installed state of the product.
Therefore, I created a totally new project as a upgrading and I called it "upgrade". During the installation of upgrade I did the following:
1) Deleting Uninstall-Directory of the previous version.
2) Deleting shortcuts from startmenu and startup directories of previous version and creating a totally new shortcuts instead.
3) Deleting IIS site, which has been creating by previous version and creating two sites instead.
But during un-install of upgrade I tried to uninstall both itself (i.e. upgrade) and previous version (i.e. uninstalling previous version manually by deleting directories and files, moreover deleting keys inside registry that might points to previous version). But unfortunately I couldn't success to manage that, because once I try to install previous version again, I found that the installer can detect something and then it will forward installer to go through uninstall first before start installing. Moreover, I run File Monitor and Registry Moniter through installation and uninstallation in order to see where in the registry or files installAware read from in order to check whether there is a previous version of installer.
For all the previous description, I would like to get some help if I would like to uninstall previous version manually,
Looking forward to your response,
Thanks in advance,
1) During Upgrading I need to create new IIS site, but the original installer does not create/delete the site, Therefore; there is no way to delete the site on uninstallation
2) It is not possible - when I move installed files around. In this case I'm technically breaking the installed state of the product.
Therefore, I created a totally new project as a upgrading and I called it "upgrade". During the installation of upgrade I did the following:
1) Deleting Uninstall-Directory of the previous version.
2) Deleting shortcuts from startmenu and startup directories of previous version and creating a totally new shortcuts instead.
3) Deleting IIS site, which has been creating by previous version and creating two sites instead.
But during un-install of upgrade I tried to uninstall both itself (i.e. upgrade) and previous version (i.e. uninstalling previous version manually by deleting directories and files, moreover deleting keys inside registry that might points to previous version). But unfortunately I couldn't success to manage that, because once I try to install previous version again, I found that the installer can detect something and then it will forward installer to go through uninstall first before start installing. Moreover, I run File Monitor and Registry Moniter through installation and uninstallation in order to see where in the registry or files installAware read from in order to check whether there is a previous version of installer.
For all the previous description, I would like to get some help if I would like to uninstall previous version manually,
Looking forward to your response,
Thanks in advance,