Error “You cannot start application [application name] from this location because it is already installed from a different location” when launching hyperlinks from documents
Who is this article for?Internal Audit Users.
No elevated permissions are required.
This article explores the error "You cannot start application [application name] from this location because it is already installed from a different location" when launching hyperlinks from documents. Please see the troubleshooting steps below.
1. Cannot start application because it is already installed from a different location
When you use ClickOnce to deploy the Ideagen Audit (formerly known as Pentana Audit) client, you go to a landing page and click a button to install.
If you click the button again, ClickOnce recognises that you installed the application already, and just launches it. It doesn’t do the download again.
Your PC knows the URL from which you installed the package. Note that it:
- Sees the http and the https versions of that same URL as two different places.
- Won’t let you install the same package from two different places.
This means that if you install from http://server.domain.com/PentanaPRD/Client and then try to install again from https://server.domain.com/PentanaPRD/Client, even though it’s the same page, the ClickOnce installer will raise an error like:
Error: You cannot start application Pentana - PRD from this location because it is already installed from a different location.
This will be an issue if you:
- Have installed Pentana from an http URL.
- Have a default browser that enforces use of https.
- Clicked a hyperlink in a document to launch Ideagen Audit.
This will raise a similar error to the one above, and the ClickOnce install log file will contain a message like:
Message: + You cannot start application Pentana - PRD from location https:// server.domain.com /PentanaUAT/Client/Vision.application?visionproduction:LaunchAudit,Audit,7f46fc64-f3e8-45c4-b2e8-8d3759998e3a it is already installed from location http:// server.domain.com /PentanaPRD/Client/Vision.application.
This is because Windows uses the ClickOnce mechanism to find the application to launch, and ClickOnce decides that you are trying to install the application package again, from a different URL.
The solution is to:
- Use Add/Remove Programs to uninstall the Pentana Audit application.
- Open Edge.
- Go to the deployment URL (which is normally like https://server.domain.com/PentanaPRD/Client).
- Click the button to install the application again.
- Clicking a hyperlink should cause a working launch sequence.
2. Walkthrough
The below video walks through the problem and solution: