yishai
Posts: 54
Joined: Wed Nov 23, 2005 11:54 pm

Some erros while installing update

Hi

I am installing an update (it is the full install) obtained by the auto updater. the update installs correctly, but there is this error at the end of the install. The error does not say anything interesting or reveals real information.

Now, the installer has something special about it. The actual application name is different! so it installs it in a new folder and not the old folder. So, while the first one *the updated) was calls "May App", the new update is called "My App (special edition)" and will install in a new folder and not override the old version. Would that be the reason for the error? If so, any idea how can I do such an update without an error message?

Thanks

-Yishai
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Some erros while installing update

Hi Yishai,
The error does not say anything interesting or reveals real information.
Can you please be more specific about this error and perhaps attach a screen shot of it. Usually, an error can occur at this point if the installation detection fails.
The actual application name is different! so it installs it in a new folder and not the old folder. So, while the first one *the updated) was calls "May App", the new update is called "My App (special edition)" and will install in a new folder and not override the old version.
This can also happen if the products have different upgrade codes. Also, the product name can be defined from the Product Details Page and you can verify this in the old and new project.

Have you seen our auto-updater tutorial regarding this?

If all the above don't solve the issue, can you please send us the three .AIPs( old, new and configuration project ) to support at advancedinstaller dot com along with a reference to this thread so we can help you investigate?

Best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
yishai
Posts: 54
Joined: Wed Nov 23, 2005 11:54 pm

Re: Some erros while installing update

Hi Mihai

I have emailed you the screen shot of the error.

Some clarifications. We have an automated system that builds the installer for us. We private label our software, so we have to-date hundreds of installers that build and use the auto update with no problem. I don't think the issue is how to used the auto updater. There is one unique thing for this case, and I am trying to understand if that can be the reason. The original installed application was named XXX while the new installed application is named YYY. The installation starts for the updater of XXX but in reality it installs YYY and does not write over XXX. What I wander if that can be the reason or am I barking on the wrong tree? If that is not the reason, any idea (1) how can I find what is the reason, and (2) Can I even do what I described above (i.e. install YYY as an update to XXX)?

Thanks

-Yishai
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Some erros while installing update

Hi Yishai,
how can I find what is the reason
Have you checked if the old and new version have the same upgrade code like I suggested in my last post? This is one of the basic settings that need to comply for the upgrade process to function correctly.
Can I even do what I described above (i.e. install YYY as an update to XXX)?
If a package with the same upgrade code and a smaller version is found on the target machine, the normal behavior when installing the upgrade package should be the one you have set out in the Upgrades Page -> Order. It shouldn't matter if the packages have different product names.

Best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”