Why does an uninstall occur prior to a simple update?
Posted: Sun Nov 12, 2006 11:46 pm
Hello,
I am noticing what seems to be strange behavior with how InstallAware updates an existing installation.
If I create an InstallAware setup and install it on a workstation, the installation runs and completes properly as expected.
If I now update a file or two in my setup, rebuild it and then run the rebuilt setup on the same workstation, InstallAware asks me if I want to uninstall the application. If I click No, the setup terminates. If I click Yes, the setup uninstalls my application. If I now run the setup again, it now installs the updated setup correctly.
(Note that my Product Code remains the same, while InstallAware automatically updates my Revision code)
If my Product code has not changed, why does InstallAware not just simply update my changed files without forcing an uninstall first?
The terms Product code and revision code lead one to believe that since the Product has not changed and only some files have been revised my application need only be revised not reinstalled from scratch!
To use perhaps a simpler analogy... if I want to change the colour of the paint in one room of my house I should not have to first tear down my house and rebuild it as a prerequisite to being permitted to repaint!
I'm sure this is probably standard msi behavior but it is not what I am used to seeing with either Wise or InstallShield. It certainly seems to be much more effort to resolve from a installation development point of view and I am hoping that you can help me understand this behavior and how to work around it. Perhaps there is just a simple setting that I have missed?
Thanks very much for your help!
Steve
I am noticing what seems to be strange behavior with how InstallAware updates an existing installation.
If I create an InstallAware setup and install it on a workstation, the installation runs and completes properly as expected.
If I now update a file or two in my setup, rebuild it and then run the rebuilt setup on the same workstation, InstallAware asks me if I want to uninstall the application. If I click No, the setup terminates. If I click Yes, the setup uninstalls my application. If I now run the setup again, it now installs the updated setup correctly.
(Note that my Product Code remains the same, while InstallAware automatically updates my Revision code)
If my Product code has not changed, why does InstallAware not just simply update my changed files without forcing an uninstall first?
The terms Product code and revision code lead one to believe that since the Product has not changed and only some files have been revised my application need only be revised not reinstalled from scratch!
To use perhaps a simpler analogy... if I want to change the colour of the paint in one room of my house I should not have to first tear down my house and rebuild it as a prerequisite to being permitted to repaint!
I'm sure this is probably standard msi behavior but it is not what I am used to seeing with either Wise or InstallShield. It certainly seems to be much more effort to resolve from a installation development point of view and I am hoping that you can help me understand this behavior and how to work around it. Perhaps there is just a simple setting that I have missed?
Thanks very much for your help!
Steve