How to access to the items in Applications folder - c#

In Windows 8 Developer Preview there was an "Applications" folder, with all the metro and desktop applications. I discovered that this folder stil exist in Windows 8 Consumer Preview.
How I can read all elements in this folder with C#??
The folder is:
%­windir%\explorer.exe shell:::{4234d49b-0245-4df3-b780-3893943456e1}

You have a tutorial to access to Application Folder in Win8 in this URL:
http://justinangel.net/ReverseEngineerWin8Apps

Related

change default install location of windows 10 store uwp app

I have a windows 10 uwp app that runs fine when i have it sideloaded in my computer or any users computer where they have full admin priviliges. i use appxbundle and click on install button to install the same. Even powershell installation works fine.
Some of our clients don't have access to C: drive and the installation of UWP app is incomplete or fails because they don't have any install permissions.
Is it possible to run UWP app stand alone or specify a different install location which is other than C drive where user has both read and write permissions .
I tried to use .exe generated in the bin folder of uwp x64/Release folder but that doesn't run as uwp doesn't support exe
Currently, there is no such feature in UWP. UWP can't change the install process when installing, which means UWP apps can't choose where apps should be installed.
But there is a setting for Windows 10 that could change the location where the UWP apps are installed.
You could go to the Settings app and navigate to System > Storage.
Under the More Storage Settings heading click on the link that says Change where new content is saved.
You can choose one drive from the drop-down menu under "New apps will save to" and then click Apply. A new folder called "WindowsApps" will be created in the drive you've chosen. And any new UWP app will be installed in this folder. Please note Windows 10 will only install new apps to the currently selected location. Existing apps do not get moved to the new location.
Like this:

Office Addin reads files from LocalCache instead of Roaming folder on one Windows 10 computer

I have a .Net Office plugin (standard Win32 application) which has worked for several years on different version of Office and OS-es. It's a Word and PowerPoint plugin.
Now I have one customer on latest Windows 10 Pro (Version 1803 build 17134.228) complaining about missing settings, which is written by a different program to the user's Roaming folder. The Office plugin gets the path to the configuration file like this:
string localPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), BaseFolder);
We found out that the plugin read this file from
AppData\Local\Packages\Microsoft.Office.Desktop_8wekyb3d8bbwe\LocalCache\Roaming\
instead of the AppData\Roaming folder.
I created a VM with the exact same Windows 10 Pro version and build number, using Office 365, but I could not reproduce the issue.
I found two others who have seen the same issue without any solution.
On this page I read the following
The files in the C:\Users\\AppData\Local\Packages folder store the user configuration settings for all of the installed Modern UI Apps.
These apps use a completely different programming model than the traditional Desktop (Win32) apps.
My app is not a Modern UI App, so I don't understand why this one customer have this issue with the app. Does anyone know why this happens and how to solve it?

How to create Xap file

I'm new in WP development, and now stand before unbreakable wall:
Working in Visual Studio Express 2013
I created a simple journal app, all works fine in emulator and device.
But when i was needed a xap file to upload it to windowphone store, and on top panel i choosed
release-> any cpu , righ click on project name in solution explorer -> rebuilt solution ....
there is no xap file in the Bin directory, there is .exe and .pdb and others... but .xap is missing.
When i created a project, i choosed windows phone app -> empty app (windows phone)...
And just tested, if i'm creating a new silverlight app: windows phone app -> empty app (windows phone silverlight) , xap file is saving without any problem.
So how to save my project, how to create a xap file from my xaml + c# project
Thank you very much!
Silverlight Apps create .xap files, for Universal Apps (like the one you created) a .appx file will be created instead. Perhaps it is called .appxupload. Those packages reside in the subfolder AppPackages inside your project.
So if you take that file you will be fine. The store accepts those as well. The App will only support WP8.1 however.
If you need help in creating the .appx packages using Visual Studio 2013 you can refer to this article: http://msdn.microsoft.com/en-us/library/hh975357.aspx

View Isolated storage files of windows 8 metro app

I am saving some data and writing some xml file to isolated storage of Windows 8 metro apps. As I have made some apps in windows phone we can see these isolated storage file by isotool and Windows Phone power tools. Is there anyway I can see and explore my files saved by my apps in windows 8 metro app?
Windows 8 does not use Isolated storage like sliverlight/Windows Phone - instead, files written are simply written to a special folder assigned to the app (per user).
To wit:
C:\Users\[name]\AppData\Local\Packages
Look for your package name (in the manifest) and you will find it there - that folder will be the name of the folder the files are located under. e.g.
C:\Users\[name]\AppData\Local\Packages\91e643e0-f4a2-4e96-99cd-b1f1b13897aa_te6ss58atez9j

How I create application file like .apk for Windows Phone?

I'm developing Windows Phone application.I'm finished.I need application file.How I create application file like .apk for Windows Phone ?
When you build your project you should get a .xap file somewhere in your projects directory.
I have not worked with Windows Phone myself, so i do not know exactly where. But if it is like desktop C#, the default is bin/release, or bin/debug if it's a debug build.
.apk file is an Android file which contain whole application. For Windows Phone 7 equivalent is .xap file. This is just a zip file with the app and resources. Just remember to upload the release one from Documents\Visual Studio 2010\Projects\AppName\Bin\Release\.

Categories