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!
Unable to uninstall after changing ALLUSERS
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Unable to uninstall after changing ALLUSERS
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
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
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
UninstallString is not created in HKLM
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...
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Unable to uninstall after changing ALLUSERS
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.
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
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: Bing [Bot] and 85 guests