Finding out if the package is being upgraded
Hello
I need to run a script to fix an error occured in a previous version of the application. Is there a MSI property which will give a true/false to if this installion is an upgrade?
Thanks
I need to run a script to fix an error occured in a previous version of the application. Is there a MSI property which will give a true/false to if this installion is an upgrade?
Thanks
0 Comments
[ + ] Show comments
Answers (5)
Please log in to answer
Posted by:
rakesh.kumar
15 years ago
You can use UPGRADINGPRODUCTCODE property
for more details goto http://msdn.microsoft.com/en-us/library/aa372380(VS.85).aspx
for more details goto http://msdn.microsoft.com/en-us/library/aa372380(VS.85).aspx
Posted by:
shweta_kar
15 years ago
Hi,
if you wnat just know whether the application has been upgraded or not you can find out by doing below things
1. Double click the msi, in full UI while installing it will show a message that "Removing previous version" on the progress dialog window.
2. after installating the application, launch the shortcut got o help tab, and check the version it should have been upgraded.
3. can verify the version of the files.
Posted by:
PackageExpert
15 years ago
i guess what u mean is...while installing, check whether the fix is applied, if applied, abort install and if not, apply fix..are we on the same boat?
IF thats the case, you can use System Search function, where u can look for a file version, size, or registry entry which tells u that the app is fix...if the app finds that it aborts the install with an optional Message Box informing user that the fix is applied or if it doesn find the latest fix, it will apply it... do a search here or on Google how to mingle with System Search.
IF thats the case, you can use System Search function, where u can look for a file version, size, or registry entry which tells u that the app is fix...if the app finds that it aborts the install with an optional Message Box informing user that the fix is applied or if it doesn find the latest fix, it will apply it... do a search here or on Google how to mingle with System Search.
Posted by:
elgwhoppo
15 years ago
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.