WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Installation Licensing Setup
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

FileMenu Prompts for License

 Keywords:  

Question:

Hi I can't seem to register FileMenu I am running WinBatch 2011A (32 bit only) on Windows 7. I have UAC on? I have been able to register the compiler and WinBatch by running as Admin.

If I right click a .wbt file to open with winbatch studio I get prompted for my license info. But I am unable to enter it because this message gets displayed:

Unable to write registration data to INI/registry. Try acccessing from an account with Aministrator rights.

Answer:

FileMenu should NOT require a seperate registration. You will need to license BOTH the WinBatch.exe and the WBCompiler.exe the first time they are launched.

Lets see what WinBatch says about the current license.

Start Menu | WinBatch | Winbatch.exe. Select 'License Info' button in the lower left hand corner. Confirm the licensing information is correct.

Please try re-entering the licence information by clicking on the [Enter New License Numbers] button in this dialog. Once you enter the numbers here, then launch the wbcompiler.exe and enter the license numbers there. Reboot. Then try acccessing the FileMenu again. Hopefully this will resolve the licensing issue.

User Reply:

Nope same thing. You should note that when I ran WBCompiler.exe to register it, I had to [Right Click] it and select Run as Admin. If I don't do that I get the same error
Unable to write registration data to INI/registry. Try acccessing from an account with Aministrator rights.
So I think the trick is running FileMenu as Admin for the 1st time so it can be registered but how do I do that? If I browse to it and right click run as admin, it just opens Explorer.

Answer:

You get that error because the compiler is manifested to run 'asInvoker' and you are running it from a restricted admin account. However, if you run the compiler from WinBatch Navigator you will not get the error because WinBatch Navigator is running elevated which means 'asInvoker' has full admin privileges.

You should not need to license FileMenu as long as WinBatch is properly licensed on your system. FileMenu and WinBatch read the same license information using the same WIL interpreter dll. Since this is not working for you, something has run terribly amok. We would like to know why this happened, if possible.

We have performed several clean installs of WinBatch+Compiler 2011A on Windows 7 64-bit with UAC enabled with default settings. In all cases FileMenu behaved as expected and did not prompt for license information after WinBatch was licensed via WinBatch Navigator.

By the time 2011A was released we had been using Win7 x64 in-house for some time and some WinBatch users had also migrated to the OS. I am not aware of any other user or in-house reports of this particular problem.

We will continue to look into this. It is a long shot but you might try doing a complete unistall/install to correct the problem. Make sure to license usign the WinBatch Navigator.

Start Menu | WinBatch | Winbatch.exe. Select 'License Info' button in the lower left hand corner. Please entering the licence information by clicking on the [Enter New License Numbers] button in this dialog. Once you enter the numbers here, then launch the wbcompiler.exe and enter the license numbers there. Reboot.

Also, there is one workaround you might want to consider. I have not tried these steps myself so I don't know that it will work but it might be worth a try. Find yourself a 64-bit application (64-bit NotePad.exe ) that displays a File Open or File Save dialog. Start that app with full admin privileges and open one of the file dialogs. Next right-click on a file in the dialog's file list and you should see the FileMenu license dialog. At this point it should allow you to successfully enter and apply the license info.

User Reply:

That was it! I started 64-bit Notepad with full admin privilages, selected Notepad's File-->Open menus, right clicked on a wbt file and selected the WinBatch Studio menu. At this point I got the FileMenu license dialog, entered my license information and all was well. Now I can open wbt files through Filemenu as normal.
Article ID:   W17955
Filename:   FileMenu Prompts for License.txt
File Created: 2012:03:16:08:13:24
Last Updated: 2012:03:16:08:13:24