robertb_NZ
Well-known member
My software is made available by click-once deployment from the Jazz Software web site. After an earlier issue was resolved deployment has worked correctly since May 2016, but now it doesn't seem to recognize that a new version is available and download and run it. Clicking the Get Jazz button simply downloads the software but doesn't start it.
My startup code is basically
This hasn't changed since 2016. Since the last release I've changed VS2017 => VS2019 and Edge has updated to a chromium-based version. Both are up to date. Other software updates seem unlikely to be relevant.
Symptoms are: click "Get Jazz" and the software is downloaded (whether it has changed or not). Click on the downloaded software and it will start, this always takes the path "Case 3: Run downloaded copy offline". Because of this there is never a valid license, and it only runs when I use a back door to bypass the license code.
Previous behavior: clicking Get Jazz would check if the local version was obsolete and download a new version if necessary, then MANASYS Jazz would be started whether or not there had been a download. This went through Case 2, Run from Web page.
I experimented by publishing a version with "the application is available online only". This behaved exactly the same way.
Any ideas? I've been trying to sort this out for a couple of days, and I'm out of ideas. The software works as it should when I use the back door code. The documentation for ApplicationDeployment doesn't suggest that there have been any changes to that class.
My startup code is basically
VB.NET:
If System.Diagnostics.Debugger.IsAttached Then ' Case 1: Debugging (run from Visual Studio)
' Code for debugging
ElseIf IsNothing(ApplicationDeployment.CurrentDeployment) OrElse IsNothing(ApplicationDeployment.CurrentDeployment.ActivationUri) _
OrElse IsNothing(ApplicationDeployment.CurrentDeployment.ActivationUri.Query) Then
' Case 3. Run downloaded copy offline if the saved license token is OK
Else
' Case 2. Run from JazzSoftware web page. Save the license token for offline running.
End If
This hasn't changed since 2016. Since the last release I've changed VS2017 => VS2019 and Edge has updated to a chromium-based version. Both are up to date. Other software updates seem unlikely to be relevant.
Symptoms are: click "Get Jazz" and the software is downloaded (whether it has changed or not). Click on the downloaded software and it will start, this always takes the path "Case 3: Run downloaded copy offline". Because of this there is never a valid license, and it only runs when I use a back door to bypass the license code.
Previous behavior: clicking Get Jazz would check if the local version was obsolete and download a new version if necessary, then MANASYS Jazz would be started whether or not there had been a download. This went through Case 2, Run from Web page.
I experimented by publishing a version with "the application is available online only". This behaved exactly the same way.
Any ideas? I've been trying to sort this out for a couple of days, and I'm out of ideas. The software works as it should when I use the back door code. The documentation for ApplicationDeployment doesn't suggest that there have been any changes to that class.