Uninstall error during new version installation

Got a problem you cannot solve? Try here.
mwilner
Posts: 88
Joined: Fri Sep 18, 2009 5:55 am

Uninstall error during new version installation

Postby mwilner » Tue Oct 22, 2013 8:14 am

Hi,
I have been reading about uninstalling older version when installing a new version and according to what I read it should work flawlessly.
Here is my issue.
I have an installer version x installed and want to upgrade a portion of this installation with a new installer. Running new installer x01 will not immediately pickup that x is already installed and call the uninstall of this old version but eventually during new installation will pop up a message "A network error occurred while attempting to read from the file: c:\users\swgroup\AppData\Local\Temp\mia1\installerX.msi".
This folder nevertheless didn't exist before the install and has now files from the new installerx01.msi.
So I assume that at this point the system recognized that there was a previous installation but now the information about it is no longer there.

Note: the installer has code to find older installations that are not done with IA and is calling the respective installer for uninstallation during Pre-req setup.
Note2: I can uninstall the old app with the original installerX.

System is Win7 x64.
Installation is 32 bit
Uses Nalpeiron licensing software.

How can I resolve the issue?
Manfred Wilner

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Uninstall error during new version installation

Postby FrancescoT » Tue Oct 22, 2013 11:52 am

Dear Manfred,

I am sorry, but it is not quite sure to me which is your problem.

Also, what do you mean with; " ...and want to upgrade a portion of this installation with a new installer"?

You, can't upgrade only part of the installed package.

Can you post a minimal sample?

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

mwilner
Posts: 88
Joined: Fri Sep 18, 2009 5:55 am

Re: Uninstall error during new version installation

Postby mwilner » Tue Oct 22, 2013 12:09 pm

Hi Francesco,
I can't create a minimal sample right now but I am trying to explain myself better.
What I am trying to do is install a new version of my build (this version is only exchanging the Nalpeiron service) and this should detect the existing version and uninstall this automatically.

Apparently it doesn't detect the old version though during the installation of the new version it then refers to the old installer in the mia1 folder.

Hope that makes it clearer?
Manfred Wilner

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Uninstall error during new version installation

Postby FrancescoT » Wed Oct 23, 2013 11:35 am

Dear Manfred,

yes, it is just a little bit more clear ... but to understand why your installer doesn't detect the previous version, of the same product installed, I need to know how you defined both project.

For example;

Are you sure that both project use the same PRDUCTCODE and UPGRADE code?
When you run your package, did it show any Previous application found (Pre-req Dialog) that needs to be removed first?

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

mwilner
Posts: 88
Joined: Fri Sep 18, 2009 5:55 am

Re: Uninstall error during new version installation

Postby mwilner » Wed Oct 23, 2013 12:50 pm

Hi Francesco,
I am using the same project just rev'ed up with the same PRODUCTCODE.
Typically I had been rev'ing the revision code myself until I read that IA is doing this automatically.
If I can securely upload my project I can provide you the scripts.
Manfred Wilner

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Uninstall error during new version installation

Postby FrancescoT » Thu Oct 24, 2013 3:11 am

Dear Manfred,

you missed my second question;

- When you run your package, did it show any Previous application found (Pre-req Dialog) that needs to be removed first?

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

mwilner
Posts: 88
Joined: Fri Sep 18, 2009 5:55 am

Re: Uninstall error during new version installation

Postby mwilner » Thu Oct 24, 2013 6:21 am

Hi Francesco,
Oh I am sorry yes I overlooked this.
To answer no this per-req dialog never showed up.
Manfred Wilner

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Uninstall error during new version installation

Postby FrancescoT » Thu Oct 24, 2013 11:43 am

... so the problem is with your project settings or probably with your code (... if you are totally sure to use the same "PRODUCTCODE).

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

mwilner
Posts: 88
Joined: Fri Sep 18, 2009 5:55 am

Re: Uninstall error during new version installation

Postby mwilner » Thu Oct 24, 2013 1:37 pm

I am using the same script with just the revision changed.
So can you give me a way to upload the projects to you?
Thank you,
Manfred Wilner

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Uninstall error during new version installation

Postby FrancescoT » Fri Oct 25, 2013 11:11 am

... just replied to you via email.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 83 guests