Commit 43cdbdb3 authored by Bruno Coudoin's avatar Bruno Coudoin

windows installer: fixed a potential directory erasing at uninstall or reinstall time.

I don't know in which case this directory erasing was trigged but in case
I prefer to leave uneeded files that removing user data.
parent be0d3c40
......@@ -179,13 +179,9 @@ Section -SecUninstallOldGcompris
StrCmp $R0 "HKLM" gcompris_del_lm_reg gcompris_del_cu_reg
gcompris_del_cu_reg:
DeleteRegKey HKCU ${GCOMPRIS_REG_KEY}
Goto uninstall_prob_cont
gcompris_del_lm_reg:
DeleteRegKey HKLM ${GCOMPRIS_REG_KEY}
uninstall_prob_cont:
RMDir /r "$R1"
done:
SectionEnd
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment