Page 1 of 1
Windows 10 - Uninstall problem
Posted: Fri Jul 28, 2017 5:26 am
by SITL
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
Re: Windows 10 - Uninstall problem
Posted: Fri Jul 28, 2017 11:48 am
by FrancescoT
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
Re: Windows 10 - Uninstall problem
Posted: Mon Jul 31, 2017 6:32 am
by SITL
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
Re: Windows 10 - Uninstall problem
Posted: Mon Jul 31, 2017 10:46 am
by FrancescoT
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