How the installer determines if to upgrade or fresh install

Got a problem you cannot solve? Try here.
tzachk
Posts: 171
Joined: Wed Jul 18, 2012 12:14 am

How the installer determines if to upgrade or fresh install

Postby tzachk » Tue Jul 19, 2016 11:17 am

Hi francesco,

Which key in the regisrty is read by the installer to decide if my product is already installed and thus perform an upgrade or it isn't installed and thus perform a fresh install?
I tried deleting the entries from the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall and from HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall to see if now the installer will perform a fresh install instead of an upgrade, but that didn't work.

Thanks,
T

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

Re: How the installer determines if to upgrade or fresh install

Postby FrancescoT » Tue Jul 19, 2016 12:39 pm

Dear Tzachk,

this is resolved at package Runtime through MSI WINAPI.

By the way, I discourage you to tamper the registry at such purpose. The results can be disastrous.

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

tzachk
Posts: 171
Joined: Wed Jul 18, 2012 12:14 am

Re: How the installer determines if to upgrade or fresh install

Postby tzachk » Tue Jul 19, 2016 12:51 pm

Hi Francesco,

I'm trying to help a client that by mistake deleted the installation folder and to make things worse he then then deleted registry keys to try to manually uninstall.
He want to perform a clean install, but the installer have issues uninstalling the product.
What I'm trying to perform is to remove the registry key that makes the installer thinks the product is installed, do a clean install, and then uninstall.

Tzach

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

Re: How the installer determines if to upgrade or fresh install

Postby FrancescoT » Tue Jul 19, 2016 1:50 pm

Dear Tzach,

you may try to use;

- a restore point to restore the machine's system files to an earlier point in time.
- Microsoft Fix-it online tool.

Hope this helps you.

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: Bing [Bot] and 144 guests