Page 1 of 1

Passing command UPGRADE=1 to msi.

Posted: Tue Mar 22, 2016 12:42 pm
by Maximinus
Hello,

I have Crystal Reports runtime version 13.0.4 installed on my target computers and I would like to upgrade them to version 13.0.16 If I execute the Crystal Reports msi (CRRuntime_32bit_13_0_16.msi) directly by double clicking the file on their desktops everything works just fine. The setup dialogs inform me that a previous version was detected and that it will be updated. All these works beautifully.

If however, I execute the CRRuntime_32bit_13_0_16.msi package through InstallAware by using the "(Un)Install MSI Package" plug-in with "Action String" equals to "ADDLOCAL=ALL" I get the following error:

Setup detected an exiting installation. Setup must run with UPGRADE=1 command. Setup will now exit.

I ended up getting rid of the error message by changing the "(Un)Install MSI Package" instruction with "Action String" to "ADDLOCAL=ALL UPGRADE=1".

Is this is the proper way to pass the "UPGRADE=1" command to the msi installer? Is there a better or more appropriate way to pass the command?

Thanks.

Re: Passing command UPGRADE=1 to msi.

Posted: Tue Mar 22, 2016 2:34 pm
by FrancescoT
Dear Maximinus,

yes, the way you used is correct.

TìRegards

Re: Passing command UPGRADE=1 to msi.

Posted: Mon Sep 26, 2016 9:42 am
by spicymikey
I'm getting this message also on an existing installer that has worked for over a year. The message is occurring in the very early steps. I don't want to start adding UPGRADE=1 to everything because I still have no idea what it means. This is not an MSI command line switch so it must be something from Installaware.

Francesco, can you explain this switch in more detail, and also, any idea why I'm getting it as well at a different spot? Only hint I can provide is that the customer reported that the installation "crashed" and when they tried to restart it this message appeared. A reboot did not help

problem.png
problem.png (63.86 KiB) Viewed 9578 times

Re: Passing command UPGRADE=1 to msi.

Posted: Mon Sep 26, 2016 9:56 am
by spicymikey
Update to my last post; Uninstalling Crystal Reports and then rerunning the installer worked. So, like the OP, the issue was Crystal Reports for me as well. Strange because it was already installed from a prior install (this was just an update).

Still would love to have some insight into this switch, if anyone knows. Thanks.

Re: Passing command UPGRADE=1 to msi.

Posted: Mon Sep 26, 2016 10:41 am
by FrancescoT
Dear Spicymikey,

it's the "Crystal Reports" RTM package installer that requires that "UPGRADE=1" parameter. For what I see, this seems to be necessary in order to upgrade an existing installation of the same RTM. So this is not a MSI or Installaware switch.

Regards

Re: Passing command UPGRADE=1 to msi.

Posted: Mon Sep 26, 2016 11:28 am
by spicymikey
Ahh, thanks for that insight. Never knew that.

Not sure why it happened, but intervention by our support team to uninstall Crystal, solved it. Still not certain what that switch does. No hits for it on a web search. So we will leave it off for now.