Click once issue & desktop shortcuts

  • Thread starter Thread starter eschneider
  • Start date Start date
E

eschneider

Hello,

The location of the Click Once Client update was changed (Cert expired),
while the users desktop shortcuts remained from the Original install. I
confirmed that the application starts using Start Menu / Programs, but not
the old desktop shortcuts.

This makes sense to me, but is there a way to manage/prevent this issue?

Thanks,
Schneider


Caused the following error:

PLATFORM VERSION INFO
Windows : 5.1.2600.131072
(Win32NT)
Common Language Runtime : 2.0.50727.1433
System.Deployment.dll : 2.0.50727.1433
(REDBITS.050727-1400)
mscorwks.dll : 2.0.50727.1433
(REDBITS.050727-1400)
dfdll.dll : 2.0.50727.1433
(REDBITS.050727-1400)
dfshim.dll : 2.0.50727.1433
(REDBITS.050727-1400)


SOURCES

Deployment url :
file:///C:/Documents%20and%20Settings/rraczyla/Desktop/Marks%20Pricing%20&%20Audit%20Client.appref-ms



ERROR SUMMARY

Below is a summary of the errors, details of these errors are
listed later in the log.

* Activation of C:\Documents and Settings\rraczyla\Desktop\Marks
Pricing & Audit Client.appref-ms resulted in exception. Following failure
messages were detected:

+ Downloading
file://ixion/MarksPricingClient/MarksPricingClient.application did not
succeed.
+ The network path was not found.
+ The network path was not found.
+ The network path was not found.

COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.

WARNINGS
There were no warnings during this operation.

OPERATION PROGRESS STATUS

* [3/31/2008 1:40:09 PM] : Activation of C:\Documents and
Settings\rraczyla\Desktop\Marks Pricing & Audit Client.appref-ms has
started.

ERROR DETAILS
Following errors were detected during this operation.
* [3/31/2008 1:40:35 PM]
System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
- Downloading
file://ixion/MarksPricingClient/MarksPricingClient.application did not
succeed.
- Source: System.Deployment
- Stack trace:
at
System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem
next)
at
System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
at
System.Deployment.Application.FileDownloader.Download(SubscriptionState
subState)
at
System.Deployment.Application.DownloadManager.DownloadManifestAsRawFile(Uri&
sourceUri, String targetPath, IDownloadNotification notification,
DownloadOptions options, ServerInformation& serverInformation)
at
System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirect(SubscriptionStore
subStore, Uri& sourceUri, TempFile& tempFile, IDownloadNotification
notification, DownloadOptions options, ServerInformation& serverInformation)
at
System.Deployment.Application.DownloadManager.DownloadDeploymentManifest(SubscriptionStore
subStore, Uri& sourceUri, TempFile& tempFile, IDownloadNotification
notification, DownloadOptions options)
at
System.Deployment.Application.ApplicationActivator.ProcessOrFollowShortcut(String
shortcutFile, TempFile& deployFile)
at
System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri
activationUri, Boolean isShortcut, String textualSubId, String
deploymentProviderUrlFromExtension)
at
System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object
state)

--- Inner Exception ---
System.Net.WebException
- The network path was not found.


- Source: System
- Stack trace:
at
System.Net.FileWebRequest.EndGetResponse(IAsyncResult asyncResult)
at
System.Net.FileWebRequest.GetResponse()
at
System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem
next)
--- Inner Exception ---
System.Net.WebException
- The network path was not found.

- Source: System
- Stack trace:
at
System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess
access, Boolean asyncHint)
at
System.Net.FileWebRequest.GetResponseCallback(Object state)
--- Inner Exception ---
System.IO.IOException
- The network path was not found.
- Source: mscorlib
- Stack trace:
at System.IO.__Error.WinIOError(Int32
errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String
path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights,
FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES
secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String
path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize,
Boolean useAsync)
at
System.Net.FileWebStream..ctor(FileWebRequest request, String path, FileMode
mode, FileAccess access, FileShare sharing, Int32 length, Boolean async)
at
System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess
access, Boolean asyncHint)


COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
 
Hi Schneider,

Do you mean that you can start the ClickOnce application via the Start Menu
/ Programs properly?

You can delete the old desktop shortcut and create a new desktop shortcut.
To do this, go to the Start Menu / Programs / yourclickonce shortcut and
right-click on it and then select "Send To>Desktop(create shortcut)".

Hope this helps.
If you have any question, please feel free to let me know.

Sincerely,
Linda Liu
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
What I'm saying; If I have thousands of clients how can ensure old desktop
shortcuts are not used?
Is there a automatic way to ensure old shortcuts are removed?
 
Hi Schneider,

Thank you for your quick response!

Firstly, when a ClickOnce application is installed on a client machine, the
desktop shortcut isn't created. It's created by the user manually.

Secondly, after a ClickOnce application is installed on client machines,
there's no way to control the installed ClickOnce application from one
place. For example, to upgrade or uninstall the application, we have to do
it from each client machine.

So in your scenario, I would say that there isn't an automatic way to
ensure old shortcut are removed.

Hope this helps.
If you have any concern, please feel free to let me know.

Sincerely,
Linda Liu
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Ok, so there is no way to handle this at the moment.
But I think there should be. It should be possible to search the desktop for
related shortcuts when removing an application.

In the case of Click-once when updating is the previous application actualy
removed?

Thanks,
Schneider
 
Thanks, Robin

I was look for MS to take the initiative to manage the problem. I can
figure-out how to remove them. I just feel "Remove Application" should by
default remove stale shortcuts.

Schneider
 
Thanks Robin for your help!

Hi Schneider,

I suggest that you make a suggestion about this issue in the Microsoft
Connect web site:

http://connect.microsoft.com/VisualStudio/Feedback

Thank you for your contribution to Microsoft product!

Sincerely,
Linda Liu
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top