Appref ms что это
Appref ms что это
This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.
Answered by:
Question
Answers
If you read the appref-ms file using the following code:
you may get the following kind of result:
http://ServerURL/appName.application#appName.application, Culture=neutral, PublicKeyToken=7446cb71d1187222, processorArchitecture=x86
From the bold content a definition id will be generated and the system could find the local exe via it. The subsequent process is undocumented unfortunately.
If you don’t know why the exe could be launched without providing system the path of it, please consider the following scenario:
If you’ve got a unique id of an application, you can hash it and create a folder with the name of that hash value, put the application in that folder. Then if you could get that unique id again you’re able to find the application because the path can be calculated with the unique id.
Though above is not exactly what ClickOnce does it may shed some light on your concern.
Allen Chen [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Appref ms что это
Вопрос
I am getting very frustrated now..
I have a program which is just an appref-ms file that launches a webpage which installs a program AS USER.
Now if you’re not a local administrator then it fails.
I’ve tried everything.. so far. and am at my wits end..
anything? please. *sigh*.
Kindest regards, Martin
Ответы
Have you tried using the administrator permission to test the result? What’s the result?
Meanwhile, you can check whether the following thread could help:
Run ClickOnce deployed app under «administrator»
Vincent Wang
TechNet Community Support
Все ответы
Have you tried using the administrator permission to test the result? What’s the result?
Meanwhile, you can check whether the following thread could help:
Run ClickOnce deployed app under «administrator»
Vincent Wang
TechNet Community Support
How’s everything going? Please feel free to give me any update.
Vincent Wang
TechNet Community Support
I’ve been running around the internet trying to find a solution to my problem..
Deploying a clickonce application.. and still haven’t found any solution that Works..
I’ve tried shortcuts, cmd, bat file, powershell script, I’ve tried app-v package (which failed because my clickonce also want to use sql server Express which ´runs as a service, and app-v and services are not really compatible)
I’ve wasted way to much time on this already.
I even phoned the Company that created the program and they agreed that it was crappy made and that they were working on a new install. in 2014. 😐
My solution now. I created a Little script that in turn creates 2 scripts which I can run as admin manually..
it just adds the user to local admin Group then logs off.. then the user must logon Again, install the script.. run
the second script which removes them from local administrator Group and logs them off..
But this installs the appref-ms in local user appdata, makes all the necessary changes and the program Works after that. god forbid if there’s ever an update to the program..
Now if anyone has a better idea.. I am all ears. I am thankful it’s only a smaller handful of people that needs this application.
How to open APPREF-MS files on your device
If an error occurs when you try to open APPREF-MS file on your device, you should do two things – install appropriate software and associate APPREF-MS files with this software. If this does not solve the problem, then the cause may be different – you will find more details in this article.
APPREF-MS File Extension
How to open APPREF-MS file?
Step 1. Install a program that supports APPREF-MS files
In order to open APPREF-MS file an appropriate program that supports this file format must be installed on the system. Below is the list of programs that support files with APPREF-MS extension.
Programs that can open APPREF-MS files
Download installer for given application and launch it. After the installation has been completed, APPREF-MS files should be opened with installed application by default next time you try to open this type of file.
Remember!
Not all listed applications will be capable of performing all operations on APPREF-MS files. Some applications may only be capable of opening such file and viewing its contents while the purpose of others may be converting files to other file formats. Therefore you should check beforehand the capabilities of applications in relation to APPREF-MS files.
Step 2. Associate given software with APPREF-MS files
A situation can arise where user has an appropriate application supporting APPREF-MS files installed on their system, but such application is not associated with this type of files. In order to associate given application with APPREF-MS files user should open a file submenu by right-clicking the file icon and selecting «Open with» option. System will display a list of suggested programs that can be used to open APPREF-MS files. Select appropriate option and check «Always use selected application to open this kind of files». System will save this information from now on use selected program to open APPREF-MS files.
Step 3. Check whether no other errors related to APPREF-MS files occur
When the above-mentioned solutions fail, other options must be pursued. It is possible that the APPREF-MS file in question is corrupted or damage. The most common causes of file damage are:
Appref ms что это
This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.
Answered by:
Question
Hi, I’ve basically googled everywhere and this is a bit of a mystery. Basically I’m unable to open the file created as a shortcut on my desktop (windows 7 64 bit), myapplication.appref-ms
According to MSDN, this may be due to corrupt dot net 2.0, which I cannot remove, nor repair on my machine (tried to install the downloaded package, disabling dot net 3.5 in the process etc), all without success.
The same package deployed (by myself) onto the webserver, is installable on another window 7 32 bit machine. The same file is associated with ClickOnce on the 32 bit machine. Don’t understand how to associate this file extension on my 64 bit machine.
Also, I’m unable to open the *.application file from the internet too (from my own 64 bit machine) but 32 bit machine works fine (launched automatically).
Can’t understand what’s gone wrong on my 64 bit machine. Any help is appreciated.
Answers
Thanks for all the replies here. Didn’t work. I have managed to crack it though and it’s appaling as it’s a deep hole, with no support from Microsoft.
According to MS, there’s a problem with dot net 2.0, and repair or reinstalling is required BUT you cannot do that with Windows 7. No chance whatsoever. Repairing dot net 4.0, 4.5 doesn’t work either.
First uninstall your app that’s deployed through ClickOnce.
To fix this, make sure you have the following registry entries in your machine:
[HKEY_CLASSES_ROOT\.application]
«Content Type»=»application/x-ms-application»
@=»Application.Manifest»
You can copy the text above and put into a *.reg file, double clicking to insert them into your registries. Without these association, opening the *.appref-ms will prompt Windows to ask you which program to choose, and opening the *.application in IE will either show the XML file, or «save as» dialog rather than opening them.
This will automatically register those as «ClickOnce Application Reference» for *.appref-ms and «ClickOnce Application Deployment Manifest (.application)» for *.application.
Took me a few days to resolve these, and I’m a veteran in MS development! So you can imagine how dodgy this is. Don’t need to reinstall Windows 7 or reinstall dot net 2.0, just for a simple problem. Hope that helps!
All replies
Why don’t you need to open the file «myapplication.appref-ms «? just a quick view.
Ghost,
Call me ghost for short, Thanks
To get the better answer, it should be a better question.
Thanks for all the replies here. Didn’t work. I have managed to crack it though and it’s appaling as it’s a deep hole, with no support from Microsoft.
According to MS, there’s a problem with dot net 2.0, and repair or reinstalling is required BUT you cannot do that with Windows 7. No chance whatsoever. Repairing dot net 4.0, 4.5 doesn’t work either.
First uninstall your app that’s deployed through ClickOnce.
To fix this, make sure you have the following registry entries in your machine:
[HKEY_CLASSES_ROOT\.application]
«Content Type»=»application/x-ms-application»
@=»Application.Manifest»
You can copy the text above and put into a *.reg file, double clicking to insert them into your registries. Without these association, opening the *.appref-ms will prompt Windows to ask you which program to choose, and opening the *.application in IE will either show the XML file, or «save as» dialog rather than opening them.
This will automatically register those as «ClickOnce Application Reference» for *.appref-ms and «ClickOnce Application Deployment Manifest (.application)» for *.application.
Took me a few days to resolve these, and I’m a veteran in MS development! So you can imagine how dodgy this is. Don’t need to reinstall Windows 7 or reinstall dot net 2.0, just for a simple problem. Hope that helps!
Thanks for all the replies here. Didn’t work. I have managed to crack it though and it’s appaling as it’s a deep hole, with no support from Microsoft.
According to MS, there’s a problem with dot net 2.0, and repair or reinstalling is required BUT you cannot do that with Windows 7. No chance whatsoever. Repairing dot net 4.0, 4.5 doesn’t work either.
First uninstall your app that’s deployed through ClickOnce.
To fix this, make sure you have the following registry entries in your machine:
[HKEY_CLASSES_ROOT\.application]
«Content Type»=»application/x-ms-application»
@=»Application.Manifest»
You can copy the text above and put into a *.reg file, double clicking to insert them into your registries. Without these association, opening the *.appref-ms will prompt Windows to ask you which program to choose, and opening the *.application in IE will either show the XML file, or «save as» dialog rather than opening them.
This will automatically register those as «ClickOnce Application Reference» for *.appref-ms and «ClickOnce Application Deployment Manifest (.application)» for *.application.
Took me a few days to resolve these, and I’m a veteran in MS development! So you can imagine how dodgy this is. Don’t need to reinstall Windows 7 or reinstall dot net 2.0, just for a simple problem. Hope that helps!
Thanks for all the replies here. Didn’t work. I have managed to crack it though and it’s appaling as it’s a deep hole, with no support from Microsoft.
According to MS, there’s a problem with dot net 2.0, and repair or reinstalling is required BUT you cannot do that with Windows 7. No chance whatsoever. Repairing dot net 4.0, 4.5 doesn’t work either.
First uninstall your app that’s deployed through ClickOnce.
To fix this, make sure you have the following registry entries in your machine:
[HKEY_CLASSES_ROOT\.application]
«Content Type»=»application/x-ms-application»
@=»Application.Manifest»
You can copy the text above and put into a *.reg file, double clicking to insert them into your registries. Without these association, opening the *.appref-ms will prompt Windows to ask you which program to choose, and opening the *.application in IE will either show the XML file, or «save as» dialog rather than opening them.
This will automatically register those as «ClickOnce Application Reference» for *.appref-ms and «ClickOnce Application Deployment Manifest (.application)» for *.application.
Took me a few days to resolve these, and I’m a veteran in MS development! So you can imagine how dodgy this is. Don’t need to reinstall Windows 7 or reinstall dot net 2.0, just for a simple problem. Hope that helps!
Как найти файл *.exe цели *.appref-ms
Я должен сделать резервную копию программы, работающей из файла *.appref-ms
Когда я открыл файл GitHub.appref-ms с помощью текстового редактора, я нашел
Где указывается цель в локальном диске,
Редактирование PublicKeyToken в результате по умолчанию или значок Null.
Редактирование URL-адреса В результате «Приложение не запускается».
Как *.appref-ms Targeting Exe.
Это не отвечает на мой вопрос
Примечание: я пытался открыть файл в автономном режиме, но он работает отлично.
Простой ответ на это; Я пытался понять то же самое, и это просто поразило меня.
GitHub это программа, установленная на вашем компьютере, и, когда он работает, он будет использовать потоки и RAM. Так что это делает процесс. Все, что вам нужно сделать, это открыть диспетчер задач, перейти на вкладку «Процессы», найти «Github.exe», щелкнуть правой кнопкой мыши «Открыть местоположение файла». Вуаля! Мой находится в какой-то папке приложений в Local, около 4 слоев.
Файл appref-ms не указывает на exe. Когда вы нажимаете этот ярлык, он вызывает манифест развертывания на URL-адресе поставщика развертывания и проверяет наличие обновлений. Он проверяет манифест приложения (yourapp.exe.manifest), чтобы посмотреть, какие файлы загружать, и этот файл содержит определение точки входа (например, exe).
Я не мог найти местоположение в файле справки приложения в моем случае.
Лучший «совет», который я могу сказать законно:
В некоторых случаях вы можете переместить конечную папку, в которой находятся все файлы, и использовать символическую ссылку, если у вас мало места. Но не все приложения будут работать и по существу будут удалять символическую ссылку после запуска. Затем они могут переустановить или просто удалить ссылку. Имейте в виду, что другие приложения могут использовать ту же самую конечную папку, поэтому перемещение папки также повлияет на них.