I want create a website for my app! I want if press install button (in my site) be installed .appx from "http://mahdisml.tk/first.appx"
How to install an .appx file from a site ? (not in WindowsStore)
You can install WinRT app with Powershell using this cmdlet
Add-AppxPackage C:\App1_1.0.0.0_AnyCPU_Test\App1_1.0.0.0_AnyCPU.appx
You can use only drive file path, network file path is not allowed in above cmdlet.
Unfortunately you can't open Powershell from browser, if you want to know the reason then here it is.
So conclusion is that it is not possible to install WinRT app in just a click of a button.
Related
Trying to following this tutorial to get basic SignalR working:
https://learn.microsoft.com/en-us/aspnet/core/tutorials/signalr?tabs=visual-studio&view=aspnetcore-2.2
I am using Visual Studio 15.9.7
the tutorial includes the instructions below, but when I follow them, the modal window disappears without any kind of message and I do not have the signalr javascript libraries anywhere. The lib/signalr folder isn't extracted into my application. Nothing.
I looked around to try and figure out where to download them manually. Nothing.
I tried running all the Package Console commands to try and get signalR. like this one: npm install #aspnet/signalr
Nothing.
Is there an easy and proven way to just get these js libraries?
In Solution Explorer, right-click the project, and select Add > Client-Side Library.
In the Add Client-Side Library dialog, for Provider select unpkg.
For Library, enter #aspnet/signalr#1, and select the latest version that isn't preview.
Add Client-Side Library dialog - select library
Select Choose specific files, expand the dist/browser folder, and select signalr.js and signalr.min.js.
Set Target Location to wwwroot/lib/signalr/, and select Install.
Add Client-Side Library dialog - select files and destination
LibMan creates a wwwroot/lib/signalr folder and copies the selected files to it.
Firstly, you can try to update your Visual Studio and check if it can help fix the issue.
Besides, to add the SignalR client library to the project, we can also use LibMan Cli command.
Run the following command to install LibMan (if not installed it before)
dotnet tool install -g Microsoft.Web.LibraryManager.Cli
Run the following command to get the SignalR client library
libman install #aspnet/signalr -p unpkg -d wwwroot/lib/signalr --files dist/browser/signalr.js --files dist/browser/signalr.min.js
I have a simple vuejs project, which does not need to communicate with server. I need to pass this project to someone does not know software engineering, so I cannot have him install nodejs and run npm run dev to run this project. Is there any way to compile this project to a single html file, so he can just open this file in chrome and run it?
If you just want to show him the project (and don't let him edit it), the obvious solution is to create a build (running npm run build), put it on a test server and give him the domain name. Another possibility is to send him (e.g. via mail, zipped) the content of the dist folder after a build (the index.html and the static folder).
I am installing red5 media server. It installed successfully, but when i click to install it shows empty list of demos like the figure attached.How to add demos by adding directly in folder?
Are you having internet connection ? If yes, then you can directly download them. If no, then try these *.war files. Put them in webapps directory of your red5 server.(I haven't tried the 2nd method)
I tried to install Apache Flex SDK 4.11 to my Flash builder 4.7. I downloaded the installer from http://flex.apache.org/installer.html and installed the installer.
Then, I run the installer, the first page let me choose Flex, AIR, and player version. On the next page, it ask me to select folder to install. I tried to select "C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\sdks" or even any other folder, and it stuck there. I cannot click on "Next" button. When I mouse over the field, it says "Invalid Flex SDK directory selected".
How can I get Flex SDK to be installed? Is there any alternative or manual way to do it? What is the valid directory should I select?
Thank you.
The problem is that the directory you chose requires admin access. Either run the installer as administrator, or install to a different location, like C:\FlexSDKs or something.
The Installer expects an empty directory. So just create a dir for 4.11 and point to it in the Installer.
I'm building an application which is made of four .app packages: a launcher, a client, a server manager and a runtime.
The launcher's .app is distributed in a .pkg file generated by MonoMac's packaging option. The other .app files are downloaded/auto-updated as ZIP by the launcher.
Bundling a copy of Mono within every single one of those .app files would be a waste of bandwidth / diskspace, but even more than that, I have a Mono server .exe file which is cross-platform and as such doesn't come in an .app bundle nor should pack any platform-specific DLLs. So bundling a private copy of Mono isn't an option.
Is there a way for me to create a .pkg file which has a dependency/requirement on a globally-installed Mono?
I see PackageMaker has a Requirements pane which can run scripts but I have no idea how to properly check whether Mono has been installed without relying on some hardcoded paths and stuff like that.
I'd like to have the installer check whether Mono is installed and if it isn't, install it (or, failing that, display a message with a link to the Mono website for instance).
I ended up switching to Packages which is a pretty neat tool.
I added a pre-install requirement of type "Shell script returns true". My shell script just checks for the "mono" executable using the "which" command:
#!/bin/bash
which mono
$(exit $?)
When the script returns false, I configured Packages to spit out an informative error message with a link to download Mono (for lack of a way to trigger download / installation of Mono).