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?
Uninstall error during new version installation
Uninstall error during new version installation
Manfred Wilner
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Uninstall error during new version installation
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
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
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
Re: Uninstall error during new version installation
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?
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
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Uninstall error during new version installation
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
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
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
Re: Uninstall error during new version installation
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.
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
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Uninstall error during new version installation
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
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
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
Re: Uninstall error during new version installation
Hi Francesco,
Oh I am sorry yes I overlooked this.
To answer no this per-req dialog never showed up.
Oh I am sorry yes I overlooked this.
To answer no this per-req dialog never showed up.
Manfred Wilner
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Uninstall error during new version installation
... so the problem is with your project settings or probably with your code (... if you are totally sure to use the same "PRODUCTCODE).
Regards
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
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
Re: Uninstall error during new version installation
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,
So can you give me a way to upload the projects to you?
Thank you,
Manfred Wilner
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Uninstall error during new version installation
... just replied to you via email.
Regards
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
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
Who is online
Users browsing this forum: Google [Bot] and 74 guests