Page 1 of 1
Update failing
Posted: Thu Oct 24, 2013 4:04 pm
by icaronz
I have been having a problem that any of my applications can be update if it isn't uninstalled first. The worst part is that the install runs you thought the whole process and by the end the user believes that an update was done but in a close look all the files still the same. I checked and all the files in the new install have newer versions and the dates are also in the future (example, the file installed before is v8.0 from 10/10/2013 and the new is v8.1 from 20/10/213) the overall version from the install is different as well and the new is greater then the old.
If I run the MSI in setup mode I get the message from windows "can't upgrade until uninstall old version".
I have been working on it from the last 3 days with no look, please anyone have any ideas?
Best Regards,
I.
Re: Update failing
Posted: Fri Oct 25, 2013 11:16 am
by FrancescoT
Dear Icaronz,
are you able to replicate the same issue with creating a new project from scratch (... just a very minimal project is enough)?
Regards
Re: Update failing
Posted: Wed Oct 30, 2013 3:20 pm
by icaronz
Hi,
I just create e new project (much simpler but using the same exe files) and for this projects I got a different result, after the first install for the upgrade a dialog pop up and tell me that an old version is installed and give me the option to uninstall before continue.
This would be an acceptable result for me, but I can't understand why my final project don't fallow the same steps.
Best regards,
Re: Update failing
Posted: Wed Oct 30, 2013 6:42 pm
by icaronz
Hi,
I added some lines that I find in the new project to my project and now I'm getting a uninstall window pop up before I can continue with the installation, the problem is that I always get an error message saying that installware was unable to uninstall the files to do it using the control panel.
I tried to post the logs but they are too large
Re: Update failing
Posted: Thu Oct 31, 2013 12:42 pm
by FrancescoT
Dear Icaronz,
unfortunately, without having your files it is really difficult to find out the cause of your issue.
I can only suppose that you altered the default installer flow or ... that exist a possible corruption with your already installed package.
Regards
Re: Update failing
Posted: Thu Oct 31, 2013 4:38 pm
by icaronz
Hi,
It doesn't seem to be an error in the logic or in the old installation as I can uninstall using windows or the old package.
For the new package I get the message "UNAUTHORIZEDEXEC_ERROR = Unauthorized to start the MSI installation/uninstallation!" in the logs I believe comes from the command I'm using "Install/Remove MSI Package $PRODUCTCODE$[REMOVE=ALL] (get result into variable REMOVEOLD)".
Re: Update failing
Posted: Mon Nov 04, 2013 11:40 am
by FrancescoT