Launching a windows store app after installation using c#

I am just curious if there is a way i can launch installed windows store applications within an application. I mean when i click an app, it launches if installed or downloads and launch from windows store Thank you...

Hi Joseph,
          You cannot force an application to download and install from the Windows Store, by-design.  Only the user can allow an app to install.
If you have an app already installed, you can use the
file protocol or URI activation to launch apps which are designed to handle the specific resources, but you can't simply open another app without context.
Matt Small - Microsoft Escalation Engineer - Forum Moderator
If my reply answers your question, please mark this post as answered.
NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
objects and unknown namespaces.

Similar Messages

  • Failed Windows Store App certification - error 10.3.1 Unfortunately when we reviewed your app, it failed to launch every time. - No clue

    I am trying to submit a Windows Store App (x64 for Windows 8.1 only), but it fails the certification procedure,  and I have no idea about what I am doing wrong.
    - The app passes successfully the local Windows App Certification Kit 3.4.
    - I have tried the app with the network cable out, and it works as expected.
    - I have used the same credentials to generate the appupload package and to submit it.
    - The app starts up and works as expected with a Surface Pro 3, a PC with development tools like Visual Studio; and another PC without anything extra installed.
    - The feedback provided by the certification testers is the following sentence: "10.3.1 App is testable: Unfortunately when we reviewed your app, it failed to launch every time."
    - Their attachment is a screenshot showing a fullscreen, flat color, rectangle.
    - There is no crash report of any kind.
    - The e-mail interaction with the certification guys seems to be quite a nonsensical conversation.
    ¿Any ideas that can help me to solve this problem?
    Thank you very much for any hint you can provide.

    I am trying to submit a Windows Store App (x64 for Windows 8.1 only), but it fails the certification procedure,  and I have no idea about what I am doing wrong.
    - The app passes successfully the local Windows App Certification Kit 3.4.
    - I have tried the app with the network cable out, and it works as expected.
    - I have used the same credentials to generate the appupload package and to submit it.
    - The app starts up and works as expected with a Surface Pro 3, a PC with development tools like Visual Studio; and another PC without anything extra installed.
    - The feedback provided by the certification testers is the following sentence: "10.3.1 App is testable: Unfortunately when we reviewed your app, it failed to launch every time."
    - Their attachment is a screenshot showing a fullscreen, flat color, rectangle.
    - There is no crash report of any kind.
    - The e-mail interaction with the certification guys seems to be quite a nonsensical conversation.
    ¿Any ideas that can help me to solve this problem?
    Thank you very much for any hint you can provide.

  • No Apps or Windows Store work after upgrading to Windows 8.1 Enterprise

    Hello,
    Upgraded from Windows 8 Enterprise to Windows 8.1 Enterprise.  Now none of my apps work, cannot even go into the Windows store to repair them.  All of the apps give me an error message of "This App Can't Open" while the PC Settings and Windows
    Store apps just open to a blank screen.  All Metro apps have a "X" mark on them. What I have already done:
    1.  I already downloaded the app troubleshooter which didn't help.
    2.  No use "contacting the app's publishers" since these are all native Windows apps.
    3.  Tried refreshing, no help.
    4.  System restore, no help.
    5. I don't have a proxy on.
    6. I've updated my graphics card to the most recent version.
    This may sound naive but is there a way to "reinstall" the Windows store?  Can I download it from somewhere?  Please don't tell me to "reinstall or reset" Windows 8.1, that really isn't addressing the problem at all it is simply
    throwing the entire thing away and starting over.  There has got to be a way to "fix" these sorts of things aside from a clean reinstall, otherwise they shouldn't allow "upgrading" in the first place.

    Hello,
    The cause why appstore does not start is permissions and missing repository registry keys.
    I fixed the problem by doing the following: importing and exporting registry keys / change permissions and reboot the machine.
    login with a local account (must be member of administartor group) not a domain account to your machine. If you do not have, ask a colleague not having the problem with the appstore.
    Ask hem to export the "HKEY_CURRENT_USER\Software\Classes\Local Settings\software\microsoft\windows\currentversion\appmodel" key.
    You need to import this key into the registry using your account.
     Follow this steps:
    Check first the following location to see iof the repository is not empty
    C:\ProgramData\Microsoft\Windows\AppRepository
    1. Open registry editor typing regedit.exe from a command line.
       2. Browse to the registry key at HKEY_CURRENT_USER\Software\Classes\Local Settings\software\microsoft\windows\currentversion\appmodel\repository\packages.
    if the repository is not there, login locally with a different account and export the following registry key:
    HKEY_CURRENT_USER\Software\Classes\Local Settings\software\microsoft\windows\currentversion\appmodel
    - login backup to the account having appstore problem.
    dubbel exported regkey, click yes and confirm overwriting the registry.
       3. Right click on the “packages” key and bring up the “Permissions” tab.
       4. Click the “Advanced” button located at the bottom right corner.
       5. Check to see the account name that shows up as the “Owner” (this is the first line of text on the “advanced security settings” dialog for the “packages” key). (this shows the built-in local Administrators group), it must be “SYSTEM”.    
       6. If it is any other account, click on the “Change” button next to it.
       7. Type SYSTEM in the “select user” dialog. If “Multiple Names Found” window comes up, select the row for “SYSTEM”.
       8. Click OK to the dialogs and close them all.
       9. Run from admin command prompt:    
    Powershell -ExecutionPolicy Unrestricted Add-AppxPackage -DisableDevelopmentMode -Register $Env:SystemRoot\WinStore\AppxManifest.xml
      10. Reboot your machine.
      11. Start appstore, if you get the error, you have no internet connection.
      12. Close appstore wait a view seconds and start it again.
    This fixed the problem for me.
    Regards, Azzim / System Administrator

  • How to use local .sdf database in a windows store apps

    Hi,
    I am new in windows store app development. I have been working in WPF application development for long time. Now I want develop windows store apps. I am studying on it. I got a problem. I what to store data from windows store app in .sdf database file. I
    confused is .sdf database is compatible with windows store apps.
    I want Deploy the apps in windows apps store. Is .sdf database support in client machine while he download it and run his own machine.
    Please Suggest me about it with sample reference. It will be very helpful for me.
    bye
    With Regards
    Sadequzzaman Monoj
    Bangladesh

    SDF files are used by Microsoft SQL Server Compact Edition. SQL CE is not supported for Windows Store Apps/Universal Apps. Only WP Silverlight Apps can use SQL CE. You will have to switch to a different database format.
    As far as I know the only DB currently supported for local deployment with Windows Store Apps is SQLite.
    This article gives an introduction on how to get started with SQLite in Universal Apps:
    http://blog.tpcware.com/2014/04/universal-app-with-sqlite-part-1/

  • How to use .sdf database in a windows store apps

    Hi,
    I am new in windows store app development. I have been working in WPF application development for long time. Now I want develop windows store apps. I am studying on it. I got a problem. I what to store data from windows store app in .sdf database file. I
    confused is .sdf database is compatible with windows store apps.
    I want Deploy the apps in windows apps store. Is .sdf database support in client machine while he download it and run his own machine.
    Please Suggest me about it with sample reference. It will be very helpful for me.
    bye
    With Regards
    Sadequzzaman Monoj
    Bangladesh

    SDF files are used by Microsoft SQL Server Compact Edition. SQL CE is not supported for Windows Store Apps/Universal Apps. Only WP Silverlight Apps can use SQL CE. You will have to switch to a different database format.
    As far as I know the only DB currently supported for local deployment with Windows Store Apps is SQLite.
    This article gives an introduction on how to get started with SQLite in Universal Apps:
    http://blog.tpcware.com/2014/04/universal-app-with-sqlite-part-1/

  • How to use offline map for windows store app using c# and xaml

    Hi friends,
    I want to integrate offline map in my windows store app but I am not able to achieve that.
    Below is my requirement:
    When a user wants to go somewhere where she/he doesn't want to use wi-fi or mobile data but wants to use map to assist her/him to roam around. For this I want to give an option to download the map for that region/area before leaving for that place and there
    she/he can use map even in offline.
    Is it possible that I can achieve this using Bing maps?
    If yes then tell me the processes to follow.
    If no then can I achieve this using "Here" or by using any other API or by tweaking any way?
    Note: I am showing maps in case of online and user can search for directions or any places in that. I am using Bing maps for that.
    Thanks,
    S.Sandeep

    Hi Sandeepmsandy,
    There is no available code sample for this scenario. You may write your own.
    Step 1: Get pdf URL from sqlite database. Please refer to the following MSDN blog and see a code sample.
    http://blogs.msdn.com/b/robertgreen/archive/2012/11/13/using-sqlite-in-windows-store-apps.aspx. Note, you need to retarget the project to 8.1 and then get two sqlite packages from NuGet before building this sample.
    Step 2: Use some special classes to get file from serer.
    HttpWebRequest can help download small pdf files. For more information to see
    https://social.msdn.microsoft.com/Forums/windowsapps/en-US/de96a61c-e089-4595-8349-612be5d23ee6/download-file-with-httpwebrequest?forum=winappswithcsharp. It’s easy for use, but if you want to download the larger or many files, it’s recommend to use
    BackgroundTransfer namespace. The classes in this namespace provide a power way to transfer files in the background. See a code sample from MSND.
    https://code.msdn.microsoft.com/windowsapps/Background-Transfer-Sample-d7833f61.
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate
    the survey.

  • Can I use the new Bing Maps control released in Feb 2015 in my windows store app?

    Can I use the new Bing Maps control released in Feb 2015 in my windows store app?  If not, will there be a release of the store app version that has all or most of the updates that are in the new map control for WPF/Silverlight?

    The FEB 2015 release was for the WPF map control which is for desktop only. There is an existing Bing Maps SDK for Windows Store apps which has a lot more functionality than the WPF map control already. You can find this SDK here:
    https://visualstudiogallery.msdn.microsoft.com/224eb93a-ebc4-46ba-9be7-90ee777ad9e1
    You can find documentation this SDK here:
    https://msdn.microsoft.com/en-us/library/hh846481.aspx
    Also, I have written a free ebook on this SDK here:
    https://rbrundritt.wordpress.com/my-book/
    You can also find lots of code samples here:
    https://code.msdn.microsoft.com/site/search?f%5B0%5D.Type=Topic&f%5B0%5D.Value=Bing%20Maps&f%5B1%5D.Type=Platform&f%5B1%5D.Value=Windows%20RT&f%5B1%5D.Text=Windows%20Store%20apps
    You can also find a bunch of blog posts on this control on the Bing Maps blog. Here is a filtered list of blogs for Windows Store Apps:
    http://blogs.bing.com/maps/tag/windows-store-app/
    http://rbrundritt.wordpress.com

  • What apple store app would be used to read emails on mac that were downloaded to a thumb drive from windows (outlook).

    What apple store App would be used to read email on the mac that was downloaded to a thumb drive from windows outlook.
    Recently purchased a Mac and data transfer for e-mails only showed the email preview but does not open up the body of the email or attachments.  So I down loaded my inbox, and folders to a thumb drive.  this will open correctly on the window pc but the mac is looking for the approriate app to read this data.
    Could the Apple store remove down loaded emails and then reload from the thumb drive?

    EL-Benjo,
    Please be sure to read the Important Note at the bottom of the page of the link I provided.
    Important Note
    When you install OS X Lion using the USB thumb drive, you will not be able to reinstall OS X Lion from Lion Recovery. You will need to use the USB thumb drive to reinstall OS X Lion.

  • Which Nuget Package for Azure Service Bus can I use for Windows Store apps?

    Hi,
    I want to use the Azure Service Bus Topics. I have an app that needs to subscribe to the Service bus Topic. The Nuget-Package for Azure Service Bus is not applicable for Windows Store Apps (I get an error during install), thats why I used the Windows Azure
    Service Bus managed for Windows Store. Unfortunatelly this API throws a Serialization Exception when I create a subscription. What can I do to use the Service bus in Windows store apps?
    Thats how I try to create the subscription:
    await Microsoft.WindowsAzure.Messaging.Subscription.CreateAsync(TOPIC_NAME, SUBSCRIPTION_NAME, CONNECTION_STRING);

    Yes this is the one I used.
    But creating a subscription with the code above throws the SerializationException mentioned in this question:
    http://social.msdn.microsoft.com/Forums/de-DE/1acb887e-d5f1-4bfb-8eb9-f8ce7390ae7b/microsoftwindowsazuremessagingsubscriptioncreateasync-throws-an?forum=servbus&prof=required.
    Maybe I do something wrong? Do I Need to do something before creating the subscription?
    I haven't found any sample that shows how you can subscribe to a Topic and receive Messages using the restricted Api for winrt :(
    Any suggestions?

  • Wi-Fi SSID in Windows Store App using Win32 API

    Hi Friends,
    I am trying to get the available WiFi SSID and Signal strength of the networks. As there is no managed API that supports in Windows Store App, I though to creating Win32 DLL of  the WiFi SSID
    code and access from my C# code. Well I am able to access the Win32 DLL from my Windows Store App using C# code but the code fails at
    dwResult = WlanOpenHandle(dwMaxClient, NULL, &dwCurVersion, &hClient);
    if (dwResult != ERROR_SUCCESS) {
    wprintf(L"WlanOpenHandle failed with error: %u\n", dwResult);
    return 1;
    // You can use FormatMessage here to find out why the function failed
    I think its because the Windows Store App doesn't have support to access the network so it refuse the Win32 code as well. Please correct me if I am wrong.
    Then I was trying to find a way, and for C++/CX, will this help me, or a better solution if any.
    My goal is to get the SSID and the signal strength of the networks.
    And could you please let me know if there any way to get the Signal Frequency also, So that I can apply this
    formula.
    Regards
    Somnath

    WlanOpenHandle is available to desktop apps only: see the version information in the docs.

  • I upgraded the OS on my iMac to Lion from the App store; and after installation, it restarted and now the operating system won't start up.... it keeps displaying the apple/folder with a question mark and a circle with a line through it! Please help!

    I upgraded the OS on my iMac to Lion from the App store; and after installation, it restarted and now the operating system won't start up.... it keeps displaying the apple/folder with a question mark and a circle with a line through it! Please help!

    Try starting up with your Snow Leopard DVD and see if the disk can be repaired. Once you are at the installer screen go to the Utilities Menu and choose Disk Utility and choose repair disk. You might also want to try Diskwarrior.
    Hope this helps.
    Ben

  • [Forum FAQ] Go to Start Screen/Desktop when closing Windows Store App

    After install Windows 8.1 Update 1, you will notice these things set by default even on touchscreen laptops and desktops:
    Windows 8.1 now boots directly to the desktop.
    Closing Windows Store Apps and go to desktop instead of Start Screen.
    Besides option “When I sign in or close all apps on a screen, go to the desktop instead of Start” since Windows 8, another new option in Taskbar Properties “Show Windows Store app on taskbar” is used to control closing app behavior.
    Features of "Show Windows Store app on taskbar" 
    When the setting is checked, all of the Windows Store apps that are currently running will display on taskbar. You can easily switch between Windows Store apps and your desktop and its applications through the taskbar. For mouse users,
    you can also access the taskbar within a Windows Store app. Just move the mouse cursor to the button of the screen, the taskbar pops up.
    When the setting is unchecked,
    Windows Store apps have no minimize button, only Close button
    Windows Store apps that are open are not visible on Taskbar
    Windows Store apps can still be pinned to the taskbar
    How do these two options work for closing app behavior?
    Modern app and Taskbar   setting
    OFF
    ON
    Boot   to desktop setting
    OFF
    Close goes to Start
    Close reveals the   app that was previously used, and eventually dead ends at the Desktop
    ON
    Close goes to desktop
    Close reveals the   app that was previously used, and eventually dead ends at the Desktop
    Know why “When I sign in or close all apps on a screen, go to the desktop instead of Start” does not work when “Show Windows Store app on taskbar” is checked on
    As MironV mentioned in the
    thread, Windows 8.1 Update is designed to introduce a number of changes for mouse and keyboard users that would help them use and switch between Windows Store apps alongside their familiar desktop applications. A lot of these changes only made sense when
    combined together, so they are toggled by one setting, which is “Show Windows Store apps on the taskbar.” This is usually enabled together with the first setting as a complimentary set of improvements for desktop users. When the setting is enabled, Windows
    Store apps are intended to feel more like regular maximized applications living on the desktop, though they are full screen only. For example, when you launch apps from Start, they appear on the taskbar until they are closed. You can also minimize them or
    switch between them by invoking the taskbar.
    Please understand that unchecking the “When I sign in or close all apps on a screen, go to the desktop instead of Start" setting has no effect on close and minimize behavior when the “Show Windows Store apps on the taskbar” setting is checked, since
    they are controlling two independent things. If you tend to use only one Windows Store app at a given time, it may seem like we’re not respecting the setting by going to the desktop.
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    I don't know if I'm the only one, but on my desktop (using mouse and keyboard only) I like to have my Start screen as my main screen.  To ensure this I made sure to uncheck the "When I sign in or close all apps on a screen, go to the desktop" box and
    check the "Show Start on the display I'm using when I press the Windows Logo key" box. I also really like having the task bar appear at the bottom even when I'm using a modern app.  Based on the settings I've chosen (i.e., boxes I've checked or not checked),
    I would expect to be taken back to the start screen and not the desktop whenever I close an app.  From what I've read from your response and from others in this thread, in order to accomplish this function (i.e., closing an app and going directly to the
    start screen) I need to uncheck the "Show Windows Store apps on the taskbar" setting.  By doing this I get the functionality I was looking for when the apps are closed and I get sent to the start screen.  However, I am now not able to see the taskbar
    when I'm in a modern app or when I'm on the start screen.  This seems counterintuitive/confusing as many have mentioned.  Not to mention it creates an additional step for users to get back to the Start screen.
    All I want to do is (1) use my start screen as my main screen, (2) see the taskbar when running whatever app I'm using (e.g., modern), and (3) go back to my start screen (and not the desktop) when I close an app.  It would only make sense that I should
    get these results if I leave the "Show Windows Store apps on the taskbar" box checked and the "When I sign in or close all apps on a screen, go to the desktop instead of Start" box unchecked; but unfortunately this is NOT the case.  I really hope that
    an update fixing this is coming sooner rather than later because this is really annoying.

  • Login to WebApi (MVC + WebApi) with Microsoft Account from Windows Store App

    Hi
    How can I access a WebApi Controller (ASP.NET MVC+WebApi) that is secured with Microsoft Account from a Windows Store App?
    I have no idea how to login. I tried the LiveSDK but this gives me only access to OneDrive, Callender and so on.
    Could someone please point me in the right direction.
    Thanks
    Guenter

    Hi Guenter,
    To be clear, you are using Microsoft account as login and at same time you have your own REST service for other functionalities?
    Let's say if you login with LiveSDk, you should be able to get some access token, see this for more information:
    Signing users in, after that use the token to access your REST service, as I understand REST service is a kind of http request, we can use HTTPClient to request data from the address.
    I'm afraid there is no existing sample here but the only thing I found is HTTPClient sample:
    https://code.msdn.microsoft.com/windowsapps/HttpClient-sample-55700664, you can use POST to send your token information to the server.
    --James
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Code signing Windows Store Apps

    I can't get a very clear answer on the code signing requirement for deploying Windows Store Apps to the app store, even after searching the Internet for a couple of days. Specifically, my question is: are you required (not just recommended) to have a third
    party Code Signing Certificate to publish to the Windows App Store?
    I am not distributing the app to internal customers, but rather to external customers via the app store. If I'm missing this requirement documented in the documentation available on this site, can you point me to it?
    Michael

    All methods of deployment (Windows Store, PowerShell or System Center Configuration Manager) require the application to be signed using a certificate. The Windows Store channel requires a signing certificate
     from a publicly trusted CA because, well, the testers in the approval process won't have access to your internal PKI.
    Visual C++ MVP

  • How can we get a url for a "Meet Now" conference call from within the Windows Store App?

    Hi,
    Is it possible to get the url for the current meeting / new "Meet Now" call from within the Windows Store app?
    You have the option of inviting your current Lync contacts, but I don't see a way of giving a URL to clients that would launch Lync on their device, or take them to the web app.
    I can see how to get the link using the Outlook plugin, for pre-scheduled meetings. Is this link always the same and the one that should be used for an impromptu "Meet Now" meeting? It would still be good to know how to get this URL from within
    the store app so I can tell clients where to get it.
    Some people may be on Windows RT devices and not have access to the plugin in Outlook, and want to start a meeting at short notice and then invite others via email or pasting a link to them elsewhere.
    Any help appreciated.
    If I have answered your question, please mark it as the correct answer. If I have provided helpful information, please mark it as so.

    Hi,
    Agree with Holger, I check on my Lync Windows Store app and can't find the meeting URL as well.
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

Maybe you are looking for

  • Font size and user form

    Hello, I'd like to know if somebody find a solution for the font size issue on user form. since BO 2005, the user can change the font size. the application will format all the controls of form with the good size. However, the layout does not follow v

  • Zen Neeon 2 does not have power at all

    Well it's so simple as in the top of a pin, it took long to discover but it is easy as drinking water. If you have your player with this problem just simply reset it by using the reset?hole in the player with a pin, and it will just turn on and be re

  • Poor visual quality connecting PB 15" to LCD tvs ( both HD and non HD)

    I can connect my 15 " G4 PB to both my LCD tvs - one is a 19" non HD Sharp Aquos, the other is a HD 37" Sharp Aquos- however, the visual quality is terrible- no matter what res I choose, mirrored, non- mirrored, - the fonts are fuzzy are totally ille

  • PeopleTools 8.51- where are the patches

    A while back, we installed Oracle 11.1.0.7.0 and PeopleTools 8.50 for our HRMS 9 system. At the time, we used a document, probably called Operating System, RDBMS & Additional Component Patches Required for Installation PeopleTools 8.50, that had a bu

  • All logs received but not applied | Physical Standby Database

    All, Need your help.... We have physical standby database setup as below Primary : 2 node RAC Stdby : Standalone physical standby database. When I verify the stdby database status, I could see all the logs are received from primary but still not appl