Windows 10 - Uninstall problem

Got a problem you cannot solve? Try here.
SITL
Posts: 116
Joined: Tue Sep 27, 2016 12:31 am

Windows 10 - Uninstall problem

Postby SITL » Fri Jul 28, 2017 5:26 am

Dear Francesco,

Thanks for your help.
This one problem is reported by few customers,

PROBLEM :
If the user tries to uninstall thro' control panel startup screen splashes & nothing happens.
We see nothing in the process list.

ANSWER: clean the temp folder ( %temp% => C:\Users\***\AppData\Local\Temp)

So, if we clean the temp folder, everything seems to be fine.
QUESTION:
1. How can we explain this to our customer ?
OR
2. How can we clean %temp% folder within our script ?
(Only InstallAware related files)

Appreciate your suggestion.
Regards
SITL

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

Re: Windows 10 - Uninstall problem

Postby FrancescoT » Fri Jul 28, 2017 11:48 am

Dear SITL,

I am not able to replicate anything similar.

If you have any chance to post a VERY MINIMAL project that replicates the issue, I'll try to have a look.

*Note!
Please post it as compressed archive and include with the project all files it uses.

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

SITL
Posts: 116
Joined: Tue Sep 27, 2016 12:31 am

Re: Windows 10 - Uninstall problem

Postby SITL » Mon Jul 31, 2017 6:32 am

Dear Francesco,
Thanks for your reply,

This issue is not consistent. Some times it happens on some machines.
It's hard to comprehend this issue. So I think InstallAware is aware of what files it has kept in the %temp% folder.
Can we clean these installaware created files within our script ?
OR
How can we give convincing answer to our customers ?
( any specific files names matching to a particular pattern, that we can clean ? )

If you have any clues, please share it.
Regards
SITL

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

Re: Windows 10 - Uninstall problem

Postby FrancescoT » Mon Jul 31, 2017 10:46 am

Dear SITL,

when installing as PER-MACHINE the ALLUSERS pre-defined variable must be TRUE. Otherwise, the relative registry entry will be stored under:
- HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall

This variable isn't not TRUE by default with a MSI package and this gets then switched to TRUE/FALSE (depending on the selected installation mode), when the MSI runs interactively. Differently with a Silent MSI install, this variable will remain as FALSE, unless not forced to TRUE from the script code or when explicitly passing it from command line.

That said and supposing that you want to specify it from command line with a silent install;

msiexec /i setup.msi CMDLINE="SILENT=TRUE ALLUSERS=TRUE" /quite

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: No registered users and 83 guests