Unable to uninstall after changing ALLUSERS

Got a problem you cannot solve? Try here.
alibaba
Posts: 314
Joined: Fri Jun 26, 2009 8:46 am
Location: Thuringia, Germany

Unable to uninstall after changing ALLUSERS

Postby alibaba » Fri Oct 26, 2012 7:12 am

Hi,

I have changed the AllUsers Property in a new version to TRUE (previous version it was FALSE). But on this upgrade I can not uninstall the previous version. The uninstall string is empty!

What can be the cause?

Thanks!

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

Re: Unable to uninstall after changing ALLUSERS

Postby FrancescoT » Fri Oct 26, 2012 8:54 am

Dear Alibaba,

I'm sorry... but I am not sure to follow your issue.

Are you still refering about the SYSTEM ACCOUNT issue that you had?

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

alibaba
Posts: 314
Joined: Fri Jun 26, 2009 8:46 am
Location: Thuringia, Germany

UninstallString is not created in HKLM

Postby alibaba » Mon Oct 29, 2012 6:27 am

Are you still refering about the SYSTEM ACCOUNT issue that you had?


No, but I found the reason for this issue. If you install with ALLUSERS set to FALSE then the UninstallString will be written to

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall\$PRODUCTCODE$

But I read this information always from

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$PRODUCTCODE$

and use it for uninstalling the previous version (in case of an update installation). That is why an uninstallation fails in my case if you do not install for ALLUSERS!

As you may know I am coming from the "InstallShield world" and there every installation wrote its UninstallString to HKLM, regardless of ALLUSERS or not...

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

Re: Unable to uninstall after changing ALLUSERS

Postby FrancescoT » Mon Oct 29, 2012 1:01 pm

Dear Alibaba,

If I am not wrong;

Your actual InstallAware project have to uninstall a previous released InstallShield package?

If true have you tried to use the following plugin:
http://www.installaware.com/forum/viewtopic.php?f=3&t=1237

Using it you could uninstall your package using the PRODUCT CODE instead of retriving the UninstallString via registry.

Let me know.
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 125 guests