Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Getting installation error while installing a custom prerequisite in clickonce installer
 

Getting installation error while installing a custom prerequisite in clickonce installer

I downloaded Direct X(103 MB) installer of whose custom prerequisite i wanted to create. I created it'scustom prerequisite. It got added too in my prerequisite list.
I launched my application and i ran it. It asked me that do i want to install direct x as it is a prerequisite. I said yes and it started installing.
But in mid of installation i am getting error: Cannot download the application. The application is missing the required files. Contact application vendor for assistance. I am using the exe file of complete 103 MB installer for Direct X still getting this error.
I also get this error at times that Cannot find the file DSETUP.dll but it is present in my prerequisite.

The error log is as follows:
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of http://daisy-ef650c3c7/Test_Installer.application resulted in exception. Following failure messages were detected:
+ Downloading http://daisy-ef650c3c7/Test_Installer/Test_Installer.application did not succeed.
+ The remote server returned an error: (404) Not Found.

ERROR DETAILS
Following errors were detected during this operation.
* [10/1/2009 3:44:49 AM] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
- Downloading http://daisy-ef650c3c7/Test_Installer/Test_Installer.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.DownloadManifest(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ManifestType manifestType, 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.FollowDeploymentProviderUri(SubscriptionStore subStore, AssemblyManifest& deployment, Uri& sourceUri, TempFile& tempFile, IDownloadNotification notification, DownloadOptions options)
at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options)
at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
--- Inner Exception ---
System.Net.WebException
- The remote server returned an error: (404) Not Found.
- Source: System
- Stack trace:
at System.Net.HttpWebRequest.GetResponse()
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)

ngci  Thursday, October 01, 2009 11:57 AM
I don't think this error has anything to do with the prerequisite. It is failing on the actual ClickOnce part of it. See the 404 error? It means that there is a file in the manifest of your deployment for the ClickOnce application that is not on the server.

Try installing just the ClickOnce part by invoking the application link:

http://daisy-ef650c3c7/Test_Installer.application

Does it work? Probably not, you should get the 404 error. Also make sure you have privileges to read that folder on the web service.

One thing I will share about DirectX. You don't have to deploy the whole thing as a prerequisite and install it in the GAC. You can deploy the dll's that you actually reference locally. If you are interested, post back and I will post that information.

RobinDotNet


Click here to visit my ClickOnce blog!
Microsoft MVP
RobinDotNet  Friday, October 02, 2009 3:05 AM
I don't think this error has anything to do with the prerequisite. It is failing on the actual ClickOnce part of it. See the 404 error? It means that there is a file in the manifest of your deployment for the ClickOnce application that is not on the server.

Try installing just the ClickOnce part by invoking the application link:

http://daisy-ef650c3c7/Test_Installer.application

Does it work? Probably not, you should get the 404 error. Also make sure you have privileges to read that folder on the web service.

One thing I will share about DirectX. You don't have to deploy the whole thing as a prerequisite and install it in the GAC. You can deploy the dll's that you actually reference locally. If you are interested, post back and I will post that information.

RobinDotNet


Click here to visit my ClickOnce blog!
Microsoft MVP
RobinDotNet  Friday, October 02, 2009 3:05 AM

You can use google to search for other answers

Custom Search

More Threads

• setup project credentials for windows app in .net 3.5
• Deplyement of Application
• Windows installer modifies .exe during installation ?
• Why doesn't deployed application install into Program Files Directory?
• Setup And Deployment: Check if a program is running
• Packaging Registry File
• VS2005 Retargetable folder on vdproj
• Targeting Framework 2.0 not Working
• Craate a Patch File for my .NET Project using VS2005 Setup
• Install from CD