This project is read-only.
1
Vote

Install problems

description

I am unable to install the application from the zip file provided on my Windows 8 desktop. When I run the included setup program I receive an error message that has a caption of "Cannot Start Application," and says, "Cannot download application. The application is missing required files..." These details are given if I click on the Details button:

PLATFORM VERSION INFO
Windows             : 6.2.9200.0 (Win32NT)
Common Language Runtime     : 4.0.30319.18033
System.Deployment.dll       : 4.0.30319.17929 built by: FX45RTMREL
clr.dll             : 4.0.30319.18033 built by: FX45RTMGDR
dfdll.dll           : 4.0.30319.17929 built by: FX45RTMREL
dfshim.dll          : 4.0.41209.0 (Main.041209-0000)
SOURCES
Deployment url          : file:///C:/Users/Yoder/Downloads/RegExSetup_Alpha2/RegExUtility.application
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of C:\Users\Yoder\Downloads\RegExSetup_Alpha2\RegExUtility.application resulted in exception. Following failure messages were detected:
    + Downloading file:///C:/Users/Yoder/Downloads/RegExSetup_Alpha2/RegExUtility.application did not succeed.
    + Could not find file 'C:\Users\Yoder\Downloads\RegExSetup_Alpha2\RegExUtility.application'.
    + Could not find file 'C:\Users\Yoder\Downloads\RegExSetup_Alpha2\RegExUtility.application'.
    + Could not find file 'C:\Users\Yoder\Downloads\RegExSetup_Alpha2\RegExUtility.application'.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [3/2/2013 12:00:22 PM] : Activation of C:\Users\Yoder\Downloads\RegExSetup_Alpha2\RegExUtility.application has started.
ERROR DETAILS
Following errors were detected during this operation.
* [3/2/2013 12:00:22 PM] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
    - Downloading file:///C:/Users/Yoder/Downloads/RegExSetup_Alpha2/RegExUtility.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.DownloadDeploymentManifestDirectBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
        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
    - Could not find file 'C:\Users\Yoder\Downloads\RegExSetup_Alpha2\RegExUtility.application'.
    - 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
    - Could not find file 'C:\Users\Yoder\Downloads\RegExSetup_Alpha2\RegExUtility.application'.
    - 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.FileNotFoundException
    - Could not find file 'C:\Users\Yoder\Downloads\RegExSetup_Alpha2\RegExUtility.application'.
    - 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, Boolean useLongPath, Boolean checkHost)
        at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, 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.
The error appears to be saying that the RegExUtility.application file is not in the folder it is looking for it in. As a work around I tried moving all of the files in the Application Files\RegExUtility_1_0_0_7 sub-folder into the folder that setup.exe was in. When I ran setup like that a different error message appeared. In this case setup was able to locate RegExUtility.application, but it failed to install it due to a security zone mismatch. Here are the details for that attempt:

PLATFORM VERSION INFO
Windows             : 6.2.9200.0 (Win32NT)
Common Language Runtime     : 4.0.30319.18033
System.Deployment.dll       : 4.0.30319.17929 built by: FX45RTMREL
clr.dll             : 4.0.30319.18033 built by: FX45RTMGDR
dfdll.dll           : 4.0.30319.17929 built by: FX45RTMREL
dfshim.dll          : 4.0.41209.0 (Main.041209-0000)
SOURCES
Deployment url          : file:///C:/Users/Yoder/Downloads/RegExSetup_Alpha2/RegExUtility.application
IDENTITIES
Deployment Identity     : RegExUtility.application, Version=1.0.0.7, Culture=neutral, PublicKeyToken=07ff6b48231d8d24, processorArchitecture=x86
APPLICATION SUMMARY
* Installable application.
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of C:\Users\Yoder\Downloads\RegExSetup_Alpha2\RegExUtility.application resulted in exception. Following failure messages were detected:
    + Deployment and application do not have matching security zones.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [3/2/2013 12:07:12 PM] : Activation of C:\Users\Yoder\Downloads\RegExSetup_Alpha2\RegExUtility.application has started.
* [3/2/2013 12:07:12 PM] : Processing of deployment manifest has successfully completed.
* [3/2/2013 12:07:12 PM] : Installation of the application has started.
ERROR DETAILS
Following errors were detected during this operation.
* [3/2/2013 12:07:12 PM] System.Deployment.Application.InvalidDeploymentException (Zone)
    - Deployment and application do not have matching security zones.
    - Source: System.Deployment
    - Stack trace:
        at System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, IDownloadNotification notification, DownloadOptions options, Uri& appSourceUri, String& appManifestPath)
        at System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, Uri& appSourceUri, String& appManifestPath)
        at System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp)
        at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState& subState, ActivationDescription actDesc)
        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)
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.

comments