/build/static/layout/Breadcrumb_cap_w.png

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

0 Comments   [ + ] Show comments

Answers (5)

Posted by: rakesh.kumar 15 years ago
Senior Yellow Belt
0
You can use UPGRADINGPRODUCTCODE property
for more details goto http://msdn.microsoft.com/en-us/library/aa372380(VS.85).aspx
Posted by: shweta_kar 15 years ago
Blue Belt
0
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
Blue Belt
0
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.
Posted by: elgwhoppo 15 years ago
Senior Purple Belt
0
ORIGINAL: applereaper

Is there a MSI property which will give a true/false to if this installion is an upgrade?


I'm not understanding this part. You should know whether or not the installation is an upgrade...what information are you looking for?
Posted by: suchi.jigar 15 years ago
Purple Belt
0
Question is confusing
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ