Uninstall doesn't delete files or reg after multi-lang bug - Advanced Installer Community
sminnick
Posts: 7
Joined: Fri Sep 12, 2014 6:46 pm

Uninstall doesn't delete files or reg after multi-lang bug

I made my installer multilingual and stumbled into the multi language bug/limitation? Where you can't uninstall a language different than the OS's default language.
http://www.advancedinstaller.com/forums ... =2&t=28484
http://www.advancedinstaller.com/forums ... =5&t=28232

After installing and running into this, I had to revouninstall to continue. After that and fixing the Product Codes to be all the same code. I can't uninstall the product.

After installing, it works. Shows up in windows products and features list. I uninstall it, and it says it uninstalls correctly, but it's still in the list. I go to uninstall it again, says there is a problem and to remove it from the list. But when I check the files are still installed and registry entries are still there.

This didn't happen till I made it multi lingual and installed a foreign language on my English Windows 7 x64 machine. After that uninstall stopped working correctly.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Uninstall doesn't delete files or reg after multi-lang b

Hi,

I looked over the files that you sent over the mail and I found that your problem is similar to the one described on the Desktop icon is not getting deleted during the uninstall thread.

Can you follow the steps described on that thread or test your product on multiple clean machines and see if the problem persists?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sminnick
Posts: 7
Joined: Fri Sep 12, 2014 6:46 pm

Re: Uninstall doesn't delete files or reg after multi-lang b

So according to that link I needed to go through and "decrypt" all the registry entries that showed up in my log, 39 of them. Reversing the order of the entries and then searching for them in my registry. WOW, that was a major pain. But that did seem to fix my issue. Thanks.

This was caused by making my installer multi-lingual and installing (for instance) a German install on my windows machine where my language for the OS was English. Then I was unable to uninstall the product. I had to go into the installer and make all the Product Codes were identical for each language I wished to use. Is this a bug that's getting fixed? Be default the tool tries to assign different Product codes to each different language.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Uninstall doesn't delete files or reg after multi-lang b

Hi,
This was caused by making my installer multi-lingual and installing (for instance) a German install on my windows machine where my language for the OS was English. Then I was unable to uninstall the product. I had to go into the installer and make all the Product Codes were identical for each language I wished to use
I'm not sure why that happened, but installing more languages of a product on the same machine should have not been caused that problem. Different languages should be recognized as different product and the files should have been removed when you uninstalled the installed languages.
Is this a bug that's getting fixed? Be default the tool tries to assign different Product codes to each different language.
No, this is the recommended behavior. You can take a look on the Different languages, same product code thread which debates a similar problem.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”