Hi all,
This time we are facing a very serious problem. Here is the scenario:
We have a product version 4.0.0000.0000 and we developed a new version, 4.0.0002.0000.
We built an update executable, witch upgrades the version .0000 to .0002. The problem is:
When adding a registry removal key instruction and selecting the option "Delete (if present) at uninstall", the setup gives the error message:
"Could not delete key \. Make sure you have sufficient privileges to access the key, or contact technical support."
(I dont know if the message is exactly this, since our project's language is Brazilian Portuguese, and this is my free translation).
After this error message, the user's registry gets corrupted and it's not even possible to start on safe mode and restore the system. It's necessary to reinstall Windows.
The removal key instruction points to:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\NEON 4.0.0000.0000
And, as I mentioned before, it ONLY happens when the option "Delete (if present) at uninstall" is checked.
I have 2 serious considerations about this issue:
1) This removal key was added because after upgrading, the previous version key was been left, causing the display of 2 "NEON" (our product name) on Windows Add/Remove programs list. Is there anything wrong on the upgrade configuration of the project? Because I think this key should be removed and replaced by the new version's key).
2) We had to reinstall 3 of our laboratory machines because of this error. I just can't understand how an this option (even if it`s been used by mistake) is causing such damage.
Unfortunately, this episode made us very insecure about the Advanced Installer product, at least until the causes of the damage are completly clarified.
The attached file is the update log (until the point of the error, because after that, if the user aborts the setup it increases until 42mb and even compressed I was unable to send to the forum), the Setup project (of version 4.0.0000) and the Update project (version 4.0.0002).
I can make the executables available too, if necessary, as well as any other information.
We really need some urgency in this case. Hope you understand.
Thanks in advance,
Raul Vellame
FOLLOW US
Get the latest news in Application Packaging