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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
You can use UPGRADINGPRODUCTCODE property
for more details goto http://msdn.microsoft.com/en-us/library/aa372380(VS.85).aspx
Answered 07/13/2009 by: rakesh.kumar
Senior Yellow Belt

Please log in to comment
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.
Answered 07/15/2009 by: shweta_kar
Blue Belt

Please log in to comment
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.
Answered 07/15/2009 by: PackageExpert
Blue Belt

Please log in to comment
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?
Answered 07/27/2009 by: elgwhoppo
Senior Purple Belt

Please log in to comment
0
Question is confusing
Answered 07/29/2009 by: suchi.jigar
Purple Belt

Please log in to comment
Answer this question or Comment on this question for clarity