Unable to uninstall on window 7 x64

Got a problem you cannot solve? Try here.
AKNG
Posts: 37
Joined: Thu Jun 26, 2008 1:16 pm

Unable to uninstall on window 7 x64

Postby AKNG » Thu Dec 02, 2010 5:33 pm

Hello,

I'm using InstallAware 9 R2 and I have a difficulty with the Upgrade package, 64 bit version on window 7 x64. When I install the new release, I can't uninstall the current installed package. I got the message which said that I have to uninstall in the Add-Remove Programs.

To put my setups in 64 bit mode I use this code :

Get System Setting Windows in 64 bit Mode into WIN64
Get System Setting Processor Architecture into PROCESSOR
if Variable WIN64 Equals TRUE
if Variable PROCESSOR Equals IA64
Set Itanium ia64 - Native 64 bit Windows, Intel Itanium Architecture - installation mode
else
Set x64 - Native 64 bit Windows, AMD64 and EM64T Architectures - installation mode
end
end

And to uninstall old version I use the below line of script
Install/Remove MSI Package $PRODUCTCODE$[REMOVE=ALL] (get result into variable REMOVEOLD)

Can someone help me to uninstall the old package during the upgrade?

Thank you very much

AKNG
Posts: 37
Joined: Thu Jun 26, 2008 1:16 pm

Re: Unable to uninstall on window 7 x64

Postby AKNG » Fri Dec 03, 2010 10:36 am

I don't know what happened. The installation works well after I just removed and re-added exactly the same as this part to the script

Get System Setting Windows in 64 bit Mode into WIN64
Get System Setting Processor Architecture into PROCESSOR
if Variable WIN64 Equals TRUE
if Variable PROCESSOR Equals IA64
Set Itanium ia64 - Native 64 bit Windows, Intel Itanium Architecture - installation mode
else
Set x64 - Native 64 bit Windows, AMD64 and EM64T Architectures - installation mode
end
end

The problem seem gone, but I still wondering if this is a temporary thing or the problem is really gone.

mills
Posts: 814
Joined: Tue Jul 06, 2010 7:10 pm
Location: Honolulu, HI

Re: Unable to uninstall on window 7 x64

Postby mills » Fri Dec 03, 2010 4:32 pm

The problem shouldn't resurface. Cut-pasting can some time work to solve some issues. If you look at the "InstallAware clipboard data" it's largely "controlled" by the GUIDs that you see. Some times they can be duplicated, which can cause problems. Cut-pasting regenerates the underlying code and duplicates should not persist (or be created as you work).

This kind of thing is most likely to happen when you import a script into a project and the old script has a duplicate GUID that appears in the project you imported to...
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.

AKNG
Posts: 37
Joined: Thu Jun 26, 2008 1:16 pm

Re: Unable to uninstall on window 7 x64

Postby AKNG » Tue Dec 07, 2010 4:50 pm

Hi mills,

I don't know why the problem is back again. If I try to install the same package, the uninstallation is fine. But as soon as I build another version. It's asking me to uninstall the old package through Add/Remove Program. The only script that I try to import is Microsoft Visual C++ runtimes 9.0 (include ATL and MFC) (x64). But I did comment the include of this runtime since I'm unable to install it on window 7 x64. This is another problem that i can't resolve it. But I want to fix the problem about upgrade first.

Same script as before, works once, but now, the problem is back again.

Thank you for your help.

mills
Posts: 814
Joined: Tue Jul 06, 2010 7:10 pm
Location: Honolulu, HI

Re: Unable to uninstall on window 7 x64

Postby mills » Wed Dec 08, 2010 2:34 pm

Does the program uninstall successfully on other OS? How about Win7 x32?
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.

AKNG
Posts: 37
Joined: Thu Jun 26, 2008 1:16 pm

Re: Unable to uninstall on window 7 x64

Postby AKNG » Wed Dec 08, 2010 2:44 pm

Hi Mills,

It's been few years that we use InstallAware to package our products, and we never have this problem with our 32-bit product on any OS (window XP x86, Vista x86 and x64 or Win7 x86 and x64)

The only problem with 32-bit product is when we try to downgrade (install an older version), we receive a popup with a message "Error" and the installation just stop. I did post a question on the forum and no one get back to me with an answer about it. Well this is another story.

But for the upgrade, the program failed to uninstall when it comes to an 64-bit product on window 7 x64.

Thank you for you help

mills
Posts: 814
Joined: Tue Jul 06, 2010 7:10 pm
Location: Honolulu, HI

Re: Unable to uninstall on window 7 x64

Postby mills » Wed Dec 08, 2010 3:33 pm

Would you be able to submit the project for our examination? You could post it here or send it to support@installaware.com
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.

AKNG
Posts: 37
Joined: Thu Jun 26, 2008 1:16 pm

Re: Unable to uninstall on window 7 x64

Postby AKNG » Wed Dec 22, 2010 9:28 am

Hello,

I did send the project to your support@installaware.com.

Everytime I try to install a new version over the current version, I receive a popup which tell me to uninstall it manually before proceeding the installation.

Thank you for your help

giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Unable to uninstall on window 7 x64

Postby giaviv » Wed Dec 22, 2010 10:36 am

Dear AKNG,

The project you attached works fine for me. Maybe try cutting pasting the code as well as reinstalling InstallAware - let me know if that helps in any way.

Best,
Aviv Giladi
InstallAware Support
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

AKNG
Posts: 37
Joined: Thu Jun 26, 2008 1:16 pm

Re: Unable to uninstall on window 7 x64

Postby AKNG » Wed Dec 22, 2010 1:01 pm

Hello,

I did tried the cutting and pasting so many time but I doesn't work. I did reinstall, but the problem still there.

When I reinstall with the same exe or msi, it will uninstall the current version properly, no problem at all. But when I create another EXE or MSI (new version), I got this problem.

For more information, I used installAware 9 R2 build sliders.rtm.050709

Thank for your help
AKNG

giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Unable to uninstall on window 7 x64

Postby giaviv » Wed Dec 22, 2010 1:23 pm

Dear AKNG,

It is not possible to uninstall the same program from a different executable (not the one used to install it).

Sincerely,
Aviv Giladi
InstallAware Support
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

AKNG
Posts: 37
Joined: Thu Jun 26, 2008 1:16 pm

Re: Unable to uninstall on window 7 x64

Postby AKNG » Wed Dec 22, 2010 1:39 pm

Hello,

What I mean is the upgrade did not working properly. When you release a new version of software (same software, and same PID), normally you should able to uninstall the old one on your machine and install the new one.
I did it all the time with my 32-bit version of my software with the same script. But as soon as come to 64-bit version, I got the problem. It tell me to uninstall manually before continuing the setup.

Here some scenarios that could clarify the upgrade problem
On the same machine with window 7 64-Bit
- Upgrade 32-bit version of our software - > No problem, it uninstall the old 32-bit version of our software and install the new version. Everything goes well
- Upgrade 64-bit version of our software - > Problem is there, it ask to do the uninstall manually through Add/Remove Programs

Those to 2 versions (32 and 64 Bit) use the same scritpt, the only thing different is the GUID that I use as the product ID (32-bit and 64-bit has their GUID which does not change)

Regards
AKNG

giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Unable to uninstall on window 7 x64

Postby giaviv » Wed Dec 22, 2010 3:17 pm

Dear AKNG,

Please try and set 32 bit mode before the (Un)Install MSI Setup command is called for your uninstall/upgrade process and then set back to 64 bit mode. Note that this issue is already fixed in InstallAware 10. Please let me know if this resolved the issue.

Best,
Aviv Giladi
InstallAware Support
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

AKNG
Posts: 37
Joined: Thu Jun 26, 2008 1:16 pm

Re: Unable to uninstall on window 7 x64

Postby AKNG » Thu Dec 23, 2010 5:53 pm

Hello Aviv,

The solution seem work fine. I'm not sure that I'm gonna update to Installaware 10 since I don't know that all the problems (like display error message in Vietnamese) were fixed.

I still have the problem with installation of runtimes Visual C++ runtimes 9.0 x64. If you can help me, it will be appreciate. Do I have to open another thread?

Thank you again
Best regards,
AKNG

giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Unable to uninstall on window 7 x64

Postby giaviv » Fri Dec 24, 2010 2:31 am

Dear AKNG,

The display errors usually occur when there is a license problem (e.g using an IA9 license in IA10 is likely to cause these kinds of problems). Can you elaborate on how exactly are you are trying to install the run-times?

Thanks,
Aviv Giladi
InstallAware Support
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 72 guests