Menu

can't install window app

2021-11-04
2021-11-05
  • james baillies

    james baillies - 2021-11-04

    Hi Robert,
    Thank you very much for developing myDewController. I've had a lot of fun building it and using it on my scope. I am having trouble running the windows software on my minipc though. Here is the error that come up when I try to install the 4 channel controller software.
    Any suggestion you may have to get this working will be greatly appreciated.
    James

    PLATFORM VERSION INFO
    Windows : 10.0.19042.0 (Win32NT)
    Common Language Runtime : 4.0.30319.42000
    System.Deployment.dll : 4.8.4270.0 built by: NET48REL1LAST_C
    clr.dll : 4.8.4420.0 built by: NET48REL1LAST_C
    dfdll.dll : 4.8.4270.0 built by: NET48REL1LAST_C
    dfshim.dll : 10.0.19041.1 (WinBuild.160101.0800)

    SOURCES
    Deployment url : file:///C:/Users/James/Downloads/myDewControllerPro3_4CH_4_0_0_2%20(1)/myDewControllerPro3_4CH.application

    ERROR SUMMARY
    Below is a summary of the errors, details of these errors are listed later in the log.
    * Activation of C:\Users\James\Downloads\myDewControllerPro3_4CH_4_0_0_2 (1)\myDewControllerPro3_4CH.application resulted in exception. Following failure messages were detected:
    + The referenced assembly is not installed on your system. (Exception from HRESULT: 0x800736B3)

    COMPONENT STORE TRANSACTION FAILURE SUMMARY
    No transaction error was detected.

    WARNINGS
    There were no warnings during this operation.

    OPERATION PROGRESS STATUS
    * [2021-11-04 10:09:44 AM] : Activation of C:\Users\James\Downloads\myDewControllerPro3_4CH_4_0_0_2 (1)\myDewControllerPro3_4CH.application has started.

    ERROR DETAILS
    Following errors were detected during this operation.
    * [2021-11-04 10:09:53 AM] System.Runtime.InteropServices.COMException
    - The referenced assembly is not installed on your system. (Exception from HRESULT: 0x800736B3)
    - Source: System.Deployment
    - Stack trace:
    at System.Deployment.Internal.Isolation.IStore.GetAssemblyInformation(UInt32 Flags, IDefinitionIdentity DefinitionIdentity, Guid& riid)
    at System.Deployment.Internal.Isolation.Store.GetAssemblyManifest(UInt32 Flags, IDefinitionIdentity DefinitionIdentity)
    at System.Deployment.Application.ComponentStore.GetAssemblyManifestFromStore(DefinitionIdentity asmId)
    at System.Deployment.Application.ComponentStore.GetAssemblyManifestWithRetry(DefinitionIdentity asmId, TimeSpan retryInterval, Int32 maxRetryCount)
    at System.Deployment.Application.ComponentStore.GetSubscriptionStateInternal(DefinitionIdentity subId)
    at System.Deployment.Application.SubscriptionStore.GetSubscriptionStateInternal(SubscriptionState subState)
    at System.Deployment.Application.SubscriptionStore.CheckAndReferenceApplication(SubscriptionState subState, DefinitionAppId appId, Int64 transactionId)
    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, Uri& deploymentUri)
    at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivationWithRetry(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivationWithRetry(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.

     
  • brownrb

    brownrb - 2021-11-05

    Welcome to windows and one-click stuff ups
    This issue I believe dates back to around 2009, yes, 2009
    Despite numerous attempts to have this fixed the bug is still there.

    Some might call it a feature.

    Anyhows, one-click apps are stored in the users apps folder, typically
    C:\Users\rob\AppData\Local\Apps\2.0

    To make it worse, Microsoft stores one-click apps also in Registry in places like
    Computer\HKEY_CLASSES_ROOT\Software\Microsoft\Windows\CurrentVersion\Deployment\SideBySide\2.0\Components

    What happens with "updates" from MS, as well as other things unrelated to the application, the two get out of sync with each other and then Windows loses track of "uninstall, so you then can't find it in Control Panel to remove, and then you cannot update the application either because Windows thinks it is still installed (which it is but having lost where to unis=nstall it) etc

    circle repeats

    Some people/advice is to delete the apps folder BUT it you have other one-click apps installed then deleteing the apps folder just created even bigger issues.

    Apologies for the long winded explanation.

    If you have the app appearing on the start menu and on the desktop - delete those.
    If you do not, the next thing I ask will result in the app appearing as name-1

    So, the "fix" is to scrub the app, generate new keys and GUID for the existing app - to fool windows into thinking its not the same app .....

    The problem with that approach is that it does not update any prior version (because Windows thinks it is not the same) so you end up with (in time) a whole lot of old apps that you cannot run, uninstall, delete etc)

    Attached is the same app BUT with a new key and new GUID which should install ok.

    I used to advice users of a selected delete by finding the actual folders where the app is located but that is wrought with issues (delete the wrong folder and bye bye)

    Cheers
    Robert

     
    • james baillies

      james baillies - 2021-11-05

      Thank you Robert! That did the trick. BTW here is the finished project for
      you to check out.

      On Thu, Nov 4, 2021 at 10:19 PM brownrb brownrb@users.sourceforge.net
      wrote:

      Welcome to windows and one-click stuff ups
      This issue I believe dates back to around 2009, yes, 2009
      Despite numerous attempts to have this fixed the bug is still there.

      Some might call it a feature.

      Anyhows, one-click apps are stored in the users apps folder, typically
      C:\Users\rob\AppData\Local\Apps\2.0

      To make it worse, Microsoft stores one-click apps also in Registry in
      places like

      Computer\HKEY_CLASSES_ROOT\Software\Microsoft\Windows\CurrentVersion\Deployment\SideBySide\2.0\Components

      What happens with "updates" from MS, as well as other things unrelated to
      the application, the two get out of sync with each other and then Windows
      loses track of "uninstall, so you then can't find it in Control Panel to
      remove, and then you cannot update the application either because Windows
      thinks it is still installed (which it is but having lost where to
      unis=nstall it) etc

      circle repeats

      Some people/advice is to delete the apps folder BUT it you have other
      one-click apps installed then deleteing the apps folder just created even
      bigger issues.

      Apologies for the long winded explanation.

      If you have the app appearing on the start menu and on the desktop -
      delete those.
      If you do not, the next thing I ask will result in the app appearing as
      name-1

      So, the "fix" is to scrub the app, generate new keys and GUID for the
      existing app - to fool windows into thinking its not the same app .....

      The problem with that approach is that it does not update any prior
      version (because Windows thinks it is not the same) so you end up with (in
      time) a whole lot of old apps that you cannot run, uninstall, delete etc)

      Attached is the same app BUT with a new key and new GUID which should
      install ok.

      I used to advice users of a selected delete by finding the actual folders
      where the app is located but that is wrought with issues (delete the wrong
      folder and bye bye)

      Cheers
      Robert

      Attachments:


      can't install window app
      https://sourceforge.net/p/arduinonanodewcontrollerpro/discussion/general/thread/abc069276e/?limit=25#0d3b


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/arduinonanodewcontrollerpro/discussion/general/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

      --

      Jim Baillies
      M: 587-585-7338
      H: 403-244-4312
      LinkedIn Profile https://www.linkedin.com/in/james-baillies-21027252/

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.