As of MainBoss Advanced 3.4 Update 1, there are two builds of MainBoss for ClickOnce:
If you have the Offline build installed, you will have problems if you try to run the Online build and vice versa.
If you have already run the Offline build, you cannot run the Online build until you uninstall the Offline one. Use the standard Windows Control Panel to uninstall the Offline build (in the usual way you uninstall any software package). You can then run the Online version; it will install itself and you will use the Online version from then on.
If you try to run the Online version when you have the Offline installed, you will receive an error message that says
Application cannot be started. Contact the application vendor.
The Details button will say something like
System.Deployment.Application.DeploymentException (SubscriptionState) Cannot make this application an online application because the previous version is installed. To install this application uninstall the previous version, or mark this application as installed.
Uninstalling the Offline build and installing the Online one should fix this problem.
If you have already run the Online build, you cannot run the Offline build until you clear the ClickOnce installed cache.
If you have the mage command (which is part of the Windows SDK), you can clear the ClickOnce cache by run mage from a command prompt window. Specify the -cc (clear cache) option with mage. Once you have run the command, you can use the Offline build.
If you do not have the mage command on your computer, open a command window and run the following command.
rundll32 dfshim CleanOnlineAppCache
Once you have run this command, you can use the Offline build.
If you have the Online build installed and try to run the Offline build without clearing the cache, you get the following message:
You cannot start application MainBoss Advanced from this location because it is already installed from a different location.
The Details associated with this message essentially say the same thing.