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.

Missing 64-bit Shortcuts

 Keywords: Install Setup Performance Counters Compatibility wbsetup.app Protected Directory

Question:

My PC has Win 7 64 bit Ultimate installed. When I install 2012A, the 64 bit Compiler and Winbatch interpreter shortcuts were not installed. Tried uninstalling, wiping all files and folders and nuking anything with Winbatch references left in the registry. Upon reinstall, still no shortcuts for the 64 bit Winbatch version and 64 bit compiler, although the components are there and I can run them by directly clicking on the executables in the System (64 bit) folder. So something is stopping the 64 bit shortcuts being installed in the installer logic - any clues?

Answer:

Either you have compatibility mode set on the WinBatch install's setup.exe or something strange is going on with the Windows shell. Perhaps you don't have Explorer running? Make sure you don't have compatibility set for setup.exe and try placing an empty file named "wbsetup.app" in the root of your C: drive. Then do a reinstall.

Corrupt performance counters could be the cause of your install problem. The "wbsetup.app" file name fix will work, if this is the case but you could have problems some WinBatch functions and extenders. Check out this article in the Tech DB [ Performance Monitoring and WinBatch ]

We suspectthe problem is performance counter related. The WinBatch AppExist function is failing on an application that clearly should exist (Explorer.exe - the Windows shell main executable.) in two places during the installation process and those failures caused the 64-bit exe shortcuts to be overwritten by the 32-bit shortcuts. The AppExist function fails to detect user mode programs that are known to be running when the system performance counters are corrupt. The only other explanation would be that the shell exe is not running when the installation starts but is somehow started before the installation ends. While this is possible it is not probable.

Also make sure you are installing WinBatch to a protected directory. The is not related to your shortcut problem but you should install WinBatch into a protected directory like "C:\Program Files (x86). If you don't have room, use a symbolic link to map "C:\Program Files (x86)\Winbatch" and "C:\Program Files\Winbatch to the equivalent files on your D: drive.

If you properly setup a directory symbolic link between C and D drive directories you can successfully install WinBatch to your D drive while having it appear to be installed on the C drive to the OS. This technique has been thoroughly tested and works flawlessly (including the creation of all shortcuts)when the symbolic links are setup correctly. Make sure that the directory symbolic links are created before you perform a clean install of WinBatch. The order should be, perform complete unistall including the removal of directories, create the symbolic links including the creation of the target directories, and then perform an install.

User Reply:

OK, the issues with performance counters are fixed. LODCTR /r did the trick.

I also set up symbolic link to redirect C:\Program Files (x86)\Winbatch and C:\Program Files\Winbatch to the corresponding folder on the D: drive.


Article ID:   W17956
Filename:   Missing 64-bit Shortcuts.txt
File Created: 2014:07:18:09:51:38
Last Updated: 2014:07:18:09:51:38