Cannot open appx when download app from Windows Store - windows-store-apps

I'm using fiddler as proxy to get download URL of Windows Store apps.
Most of the time after catching URL, download appx/appxbundle and open it, windows show error 'Cannot open appx/appxbundle file'.
When I want to open appx using WinRar, faced with error 'Unknown format or damaged'. also i checked the error in Windows Powershell and see error 0x80073cf0.
I'm pretty sure, appx file downloaded completely but why cannot install app.

APPX files downloaded from the store are encrypted so you can't just download an app and extract it's contents. This is just a part of the various mechanisms in place to protect the Intellectual Property of the those creating and releasing apps.

Related

Setting cookies to chrome running in headless mode

I am planning to use chrome.exe to take a png snapshot of a web page.
The web page has references to js files that are served by an application server. Application server needs session cookies to authrize and server the pages.
I could not find any options to pass cookies to chrome.ext.
I have searched in google, but most suggestions are pointing to use selenium web driver. Making use of selenium web driver for chrome is making me choose compatible versions only. I have to frequently update the driver if the chrome version changes. It is not acceptable for my use case.
Executing the command mentioned below using java process builder.
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe " -headless -hide-scrollbars -disable-gpu -screenshot=C:\Users\abc\Desktop\tmp\file1.png C:/Users/abc/test.html
I need a way to pass cookies without using any third party libraries (webdriver, puppeteer etc..)

How to save a chrome extension as .exe file?

I have implemented a chrome extension project but I need to install it by running a .exe file.
I tried many ways like extracting files to C:\Users\user\AppData\Local\Google\Chrome\User Data\Default\Extensions automatically using iExpress(i gave the id of extension to the folder),
i tried creating ExtensionInstallForceList under HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Google\Chrome\ and creating new string value "1" giving it value "id;https://clients2.google.com/service/update2/crx"
and lots of other ways but still I couldn't make it. I would appreciate a little help
The only programmatic way to install an extension on Windows (assuming you're not a Windows Domain sysadmin, which seems to be a safe assumption) is as follows:
Upload your extension to Chrome Web Store and publish.
This is mandatory, but the extension can be specified to be unlisted.
Create an installer that adds a registry entry as described here.
Upon next browser restart, Chrome will:
Download the extension from Web Store (and nowhere else)
Ask a confirmation from the user to allow that extension.
If the user agrees, you're done. If the user does not agree, the extension is blacklisted and you can't try again on this install unless the user installs directly from Web Store.
ExtensionInstallForceList is only for enterprise deployments via group policy. Chrome will ignore local registry values and query the domain policy directly.

Publishing Lightswitch localy

I'm trying to publish ligthswitch on local network with from VisualStudio 2013,
I have installed IIS and launched web-deployment services. I Think I also installed all the possible features from web platform installer.
When I publish lightswitch app I get to this screen.
and I dont know how to get pass this service Url line. Whenever I type localhost or Computer name which is the server name, perhaps? I get an error
"Lightswitch must be run with administrative privileges to deploy to local host.
I fugured I could also just use import settings file. It could be alternative way.
but how do I create this xml file.
I've answered this for you before. You may have missed a step:
Open IIS
Locate "Default Web Site"
Right click and find Deploy -> Configure Web Deploy Publishing... (This step will create the XML file that you can use for Import Settings...
(If this menu option isn't available it means you haven't got the Management Service installed. And/or you haven't got the ALL of the Web Deploy 3.5 components installed.)

How to install .xap files in Windows 8 Phone? [duplicate]

We are developing a company app for windows phone 8.
I have followed every step described in Company app distribution for Windows Phone
Here is what I did:
Registered company account
Bought an enterprise certificate from Symantec.
Exported PFX file with private key
Generated Enrollment Token (AETX file) from PFX.
Developed application, built with visual studio and get xap file
generated. (Name it App.xap)
Precompiled managed assemblies and Signed it with certificate using
BuildMDILXap.ps1 powershell script. (All messages indicated success).
Hosted AETX and signed XAP file on our web server.
At this point, when a wp8 phone tries to download XAP file without first installing AETX, The phone gives proper error message: "Before you install this app, you need to add XXXX company account. Contact your company's support person for help".
After installing AETX, when wp8 phone tries to install XAP file, the phone asks for confirmation: "Would you like to install App1 from XXXX?" After clicking "install" button, nothing happens. There is no success message, no error message, no indication of installation, and the application does not show in application list.
I have also tried sending AETX and XAP files over email (in case internet explorer or iis cannot handle file types), same result.
I have also tried doing the same for our company hub app, same result.
As far as I understand, company hub app is just another app (of course for different purpose) and both normal app and hub app can be distributed same way (over web address or email etc), right?
What is wrong? Cannot find the problem here?
Any ideas?
I bet you don't have a proper setup for code signing. One important step that is easy to miss is to install the parent certificates of your enterprise code signing certificate (that you got from Symantec). Specifically, download and import the following two certificates and then try to sign the XAP file again.
https://knowledge.verisign.com/library/VERISIGN/ALL_OTHER/Symantec_Enterprise_Mobile_Root_for_Microsoft.cer
https://knowledge.verisign.com/library/VERISIGN/ALL_OTHER/Symantec_Enterprise_Mobile_CA_for_Microsoft_Cert.cer
It is sad that the signing tool does not report any errors, yet the output is not a correctly signed XAP that WP8 would accept.

Cannot install company app on windows phone 8

We are developing a company app for windows phone 8.
I have followed every step described in Company app distribution for Windows Phone
Here is what I did:
Registered company account
Bought an enterprise certificate from Symantec.
Exported PFX file with private key
Generated Enrollment Token (AETX file) from PFX.
Developed application, built with visual studio and get xap file
generated. (Name it App.xap)
Precompiled managed assemblies and Signed it with certificate using
BuildMDILXap.ps1 powershell script. (All messages indicated success).
Hosted AETX and signed XAP file on our web server.
At this point, when a wp8 phone tries to download XAP file without first installing AETX, The phone gives proper error message: "Before you install this app, you need to add XXXX company account. Contact your company's support person for help".
After installing AETX, when wp8 phone tries to install XAP file, the phone asks for confirmation: "Would you like to install App1 from XXXX?" After clicking "install" button, nothing happens. There is no success message, no error message, no indication of installation, and the application does not show in application list.
I have also tried sending AETX and XAP files over email (in case internet explorer or iis cannot handle file types), same result.
I have also tried doing the same for our company hub app, same result.
As far as I understand, company hub app is just another app (of course for different purpose) and both normal app and hub app can be distributed same way (over web address or email etc), right?
What is wrong? Cannot find the problem here?
Any ideas?
I bet you don't have a proper setup for code signing. One important step that is easy to miss is to install the parent certificates of your enterprise code signing certificate (that you got from Symantec). Specifically, download and import the following two certificates and then try to sign the XAP file again.
https://knowledge.verisign.com/library/VERISIGN/ALL_OTHER/Symantec_Enterprise_Mobile_Root_for_Microsoft.cer
https://knowledge.verisign.com/library/VERISIGN/ALL_OTHER/Symantec_Enterprise_Mobile_CA_for_Microsoft_Cert.cer
It is sad that the signing tool does not report any errors, yet the output is not a correctly signed XAP that WP8 would accept.