Add-on Enabled but doesn't get loaded

Hello,

My Add-on is installed on Windows machines through a Windows Installer wich creates the Windows Registry Key and change the autoDisableScopes variable.

When I open Firefox after the installation, the extension is already installed and enabled, but doesn’t get loaded (the content script doesn’t work). But if I restart firefox again, everything works fine.

Am I missing something? Thank you.

Maybe there’s a permissions dialog that is not being accepted? If you can reproduce this problem consistently, I suggest you file a bug report.

There isn’t permissions dialog.
The problem is my preferences.js file, located at browser\defaults\preferences wich change the autoDisableScopes variable to 0. If I delete this file and install the extension it works on the first time, but the user need to go to extensions page and enable it.
Thanks!