ClickOnce и MageUI.exe
От: Chardex Россия  
Дата: 03.03.07 17:05
Оценка:
При инсталяции почему-то пишет что файл tx13_ic.ini уже добавлен! Хотя File Type ему не устанавливал (но пробовал и с File Type = Data File — результат тот же)
Вот подробности ошибки:
PLATFORM VERSION INFO
    Windows             : 5.1.2600.131072 (Win32NT)
    Common Language Runtime     : 2.0.50727.42
    System.Deployment.dll         : 2.0.50727.42 (RTM.050727-4200)
    mscorwks.dll             : 2.0.50727.42 (RTM.050727-4200)
    dfdll.dll             : 2.0.50727.42 (RTM.050727-4200)
    dfshim.dll             : 2.0.50727.42 (RTM.050727-4200)

SOURCES
    Deployment url            : file:///D:/Projects/Office/Deploy/Client/Debug/test.application
    Application url            : file:///D:/Projects/Office/Deploy/Client/Debug/test.exe.manifest

IDENTITIES
    Deployment Identity        : test.app, Version=1.0.0.0, Culture=neutral, PublicKeyToken=00cffba65f66cc8c, processorArchitecture=msil
    Application Identity        : test.exe, Version=1.0.0.0, Culture=neutral, PublicKeyToken=00cffba65f66cc8c, processorArchitecture=msil, type=win32

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 D:\Projects\Office\Deploy\Client\Debug\test.application resulted in exception. Following failure messages were detected:
        + Downloading file:///D:/Projects/Office/Deploy/Client/Debug/tx13_ic.ini did not succeed.
        + The file 'C:\Documents and Settings\Pavel Minchenkov\Local Settings\Temp\Deployment\31RK8P36.0T0\T7RAATRY.M82\tx13_ic.ini' already exists.

COMPONENT STORE TRANSACTION FAILURE SUMMARY
    No transaction error was detected.

WARNINGS
    There were no warnings during this operation.

OPERATION PROGRESS STATUS
    * [03.03.2007 19:51:09] : Activation of D:\Projects\Office\Deploy\Client\Debug\test.application has started.
    * [03.03.2007 19:51:09] : Processing of deployment manifest has successfully completed.
    * [03.03.2007 19:51:09] : Installation of the application has started.
    * [03.03.2007 19:51:09] : Processing of application manifest has successfully completed.
    * [03.03.2007 19:51:18] : Request of trust and detection of platform is complete.

ERROR DETAILS
    Following errors were detected during this operation.
    * [03.03.2007 19:51:19] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
        - Downloading file:///D:/Projects/Office/Deploy/Client/Debug/tx13_ic.ini 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.DownloadDependencies(SubscriptionState subState, AssemblyManifest deployManifest, AssemblyManifest appManifest, Uri sourceUriBase, String targetDirectory, String group, IDownloadNotification notification, DownloadOptions options)
            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)
            at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
        --- Inner Exception ---
        System.IO.IOException
        - The file 'C:\Documents and Settings\Pavel Minchenkov\Local Settings\Temp\Deployment\31RK8P36.0T0\T7RAATRY.M82\tx13_ic.ini' already exists.
        - 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)
            at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)

COMPONENT STORE TRANSACTION DETAILS
    No transaction information is available.

Или такая ошибка:

PLATFORM VERSION INFO
    Windows             : 5.1.2600.131072 (Win32NT)
    Common Language Runtime     : 2.0.50727.42
    System.Deployment.dll         : 2.0.50727.42 (RTM.050727-4200)
    mscorwks.dll             : 2.0.50727.42 (RTM.050727-4200)
    dfdll.dll             : 2.0.50727.42 (RTM.050727-4200)
    dfshim.dll             : 2.0.50727.42 (RTM.050727-4200)

SOURCES
    Deployment url            : file:///D:/Projects/Office/Deploy/Client/Debug/test.application
    Application url            : file:///D:/Projects/Office/Deploy/Client/Debug/test.exe.manifest

IDENTITIES
    Deployment Identity        : test.app, Version=1.0.0.0, Culture=neutral, PublicKeyToken=00cffba65f66cc8c, processorArchitecture=msil
    Application Identity        : test.exe, Version=1.0.0.0, Culture=neutral, PublicKeyToken=00cffba65f66cc8c, processorArchitecture=msil, type=win32

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 D:\Projects\Office\Deploy\Client\Debug\test.application resulted in exception. Following failure messages were detected:
        + Downloading file:///D:/Projects/Office/Deploy/Client/Debug/tx13_rtf.dll did not succeed.
        + Could not find file 'D:\Projects\Office\Deploy\Client\Debug\tx13_rtf.dll'.
        + Could not find file 'D:\Projects\Office\Deploy\Client\Debug\tx13_rtf.dll'.
        + Could not find file 'D:\Projects\Office\Deploy\Client\Debug\tx13_rtf.dll'.

COMPONENT STORE TRANSACTION FAILURE SUMMARY
    No transaction error was detected.

WARNINGS
    There were no warnings during this operation.

OPERATION PROGRESS STATUS
    * [03.03.2007 20:00:30] : Activation of D:\Projects\Office\Deploy\Client\Debug\test.application has started.
    * [03.03.2007 20:00:31] : Processing of deployment manifest has successfully completed.
    * [03.03.2007 20:00:31] : Installation of the application has started.
    * [03.03.2007 20:00:31] : Processing of application manifest has successfully completed.
    * [03.03.2007 20:00:33] : Request of trust and detection of platform is complete.

ERROR DETAILS
    Following errors were detected during this operation.
    * [03.03.2007 20:00:34] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
        - Downloading file:///D:/Projects/Office/Deploy/Client/Debug/tx13_rtf.dll 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.DownloadDependencies(SubscriptionState subState, AssemblyManifest deployManifest, AssemblyManifest appManifest, Uri sourceUriBase, String targetDirectory, String group, IDownloadNotification notification, DownloadOptions options)
            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)
            at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
        --- Inner Exception ---
        System.Net.WebException
        - Could not find file 'D:\Projects\Office\Deploy\Client\Debug\tx13_rtf.dll'.
        - 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 'D:\Projects\Office\Deploy\Client\Debug\tx13_rtf.dll'.
        - Source: System
        - Stack trace:
            at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint)
            at System.Net.FileWebRequest.WrappedGetResponseCallback(Object state)
        --- Inner Exception ---
        System.IO.FileNotFoundException
        - Could not find file 'D:\Projects\Office\Deploy\Client\Debug\tx13_rtf.dll'.
        - 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.


Вообщем не пойму почему то файл не находит, который есть, то файл якобы уже существует.
Когда делаю через студию — все хорошо, только вот не получается свои файлы там добавлять.
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.