How can I get information about an UWP application on Windows 10 from another application?
As a minimum, I am interested in application name and default tile. Then, I would like to be able to learn as much as possible, of course.
Some UWP apps can be linked to an EXE. That is, their main window is created by an EXE. This helps. At least, I know the location of "resource.pri", which presumably can be read.
But, there are apps which do not have EXE, and "hosted" by wwahost.exe instead. These are black boxes to me. Is there any way to know what is inside?
I would appreciate any hints.
Thanks
It's possible, but very different than what we do for desktop apps. I can share you the possible solution but there are some security issues, so I suggest you contact Microsoft to get a better way(maybe open some APIs for this kind of information) ensure your users have a safe system.
Here is what we need to do to get these information.
Enum WWAHost process.
You can enum "File type" items loaded into WWAHost, and find the one which is in this format: "C:\Program Files\WindowsApps\xxxx". When you view the app in Task Manager and view its properties, you will find it is a folder property windows. And you can also use Process Explorer to check the WWAHost process, and you will find the folder format I mentioned.
(Security Issue) To get the package name, version and more information, you have to access the folder I mentioned above. By reading the AppxManifest and dumping the resource.pri by using "makepri dump" and reading the generated resource.pri.xml, you will be able to get many information. But, we have to use special way to get access to the windowsapps folder and it will raise security risk to your users' OS(and maybe other issues). But if it is for your personal use, it's OK.
Related
This might be a really basic question, but I can't quite figure out how to set up programmatic access to an external GD.
Our partner organization gives us access to their GD. I can access them through a browser. What I want to is to be able to programmatically download files from there (preferably using a python library) since there are a lot of them to download and I don't want to do it by hand.
I am using this as a guide but got stuck at step 4 "click ‘Configure consent screen’ and follow the instructions" -- what am I supposed to specify as Application Name and other items? And is there a better/easier way to set up programmatic access?
In case it makes a difference:
I am using a Win10 machine
I have no admin rights on it
Any guidance will be much appreciated!
I would like to create my own tool to sort photos and videos from anywhere in the file system, sorting and changing names, and stuff like that (basically a sorting tool with custom sort parameters).
Since windows store apps are easy to distribute I think it could be a nice place to develop it.
while I have nothing against C# or VB that i guess it could be easily done with it, I would like to try the HTML/CSS/JS apps of the windows store.
I'm not looking for profit on this, since is aimed for my family.
And I don't really know what kind of access to the file system do these apps have.
I consider a store app because of the universal model, if necessary I could port it to the phones too, the other option I'm considering is just to use ironpython and make it full Desktop.
With UWP apps you don't have the full access to the system files. Of course you get one to the working folder of your app - LocalFolder. By using suitable Capabilities you can be granted an access to specified libraries like: Music, Photos, Videos and more, known as KnownFolders. Additionally you can widely access removable devices. To prevent access violation to work on files in KnownFolders you have to use a special broker, which will grant privileges to your app.
The full list of access permitions you will find at MSDN.
I have been working on a web monitor using sigar to gather the System information, but now i need to get the Oracle's RAM and CPU usage. I did it using sigar.getProcCpu(pid).getTotal() function.
But when i deploy the app on glassfish 4, i get the error message: org.hyperic.sigar.SigarPermissionDeniedException: Access is denied.
is there any walkaround for this? can i give sigar access to the info that im requesting?
I got exact the same problem as yours.
I found this post after I asked my question and find my answer.
And here's my answer for my own question:
The OS does not allow your program to access process information until you run the program with Admin privilege, so I need to provide Admin privilege.
There are some methods to provide Admin privilege, including ask user to right click on the icon and select "run as administrator".
But the better way might be wrapping your java application in an .exe like here and here said.
However, I probably have to hack the OS as excowboy said here as I want to show the information on web page and can't wrapping my app in an .exe file.
I think I have to give up. Just put these links for those who may need it. :) Oh, the total CPU usage is accessible if you want,BTW.
Hope this would help you and sorry for my poor English. ;)
I'm a .NET Developer trying my hand at an application on OS X. MonoMac makes so many things easy for me. I've managed to write an application useful to myself using just the MonoMac posts people have done and the Apple Developer documentation.
I can't seem to find out how to actually associate a file extension to my application. I believe this needs to be done via Launch Services or maybe add something to the Info.plist in my project.
Any hints, code or how tos?
Read this guidelines on Runtime Configuration from Apple: http://developer.apple.com/library/mac/#documentation/MacOSX/Conceptual/BPRuntimeConfig/000-Introduction/introduction.html as pointed by this answer: How to associate a specified type of file with my program?
Our application commonly used an ActiveX control to download and install our client on IE (XP and prior), however as our user base has drifted towards more Vista boxes with "Protected Mode" on, we are required to investigate.
So going forward, is it worth the headache of trying to use the protected mode API? Is this going to result in a deluge of dialog boxes and admin rights to do the things our app needs to do (write to some local file places, access some other applications, etc)?
I'm half bent on just adding a non-browser based installer app that will do the dirty work of downloading and installing the client, if need be... this would only need to be installed once and in large corporate structures it could be pushed out by IT.
Are there some other ideas I'm missing?
This client, is it a desktop application and not some software that runs inside the browser? In that case, please just supply a regular download installer application. My personal experience with browser-hosted installers is that they are just confusing and the few I have seen seemed to be poorly coded in some way.
If you use an MSI based installer I'm sure lots of Windows domain administrators will love you too, as Microsoft has tools to deploy MSI based installations onto large sets of machines remotely.
Its far better to do this right than put it off any longer. Vista is Microsoft's way of saying they aren't letting people get away with ignoring security issues any more and encouraging people to update their code.
I'm sure other users here will be able to point you are some MSDN best practices about writing ActiveX controls.
Have you checked out Microsoft's ClickOnce Deployment?
If I remember correctly you can embed a manifests which would help with dealing with protected modes automatically, saving you those headaches with the APIs.
I believe ClickOnce is geared for the same thing your ActiveX installer was designed to do.
Since you say your IT dept could push this out, I assume you could use this kind of technology as well.
Even though you might not be writing applications on the .NET CLR, you can use Visual Studio to generate those manifest and installers for you.