Error installing GitHub desktop "Application cannot be started, contact the application vendor." - windows

I've recently upgraded from windows 7 to windows 10 and when installing GitHub desktop, I'm getting the following error:
"Application cannot be started, contact the application vendor."
When I click on details, there is the following error:
"Unable to install this application because an application with the same identity is already installed."
I tried several troubleshoots, such as:
running the .exe file as administrator;
deleting the 2.0 folder from Local/apps/
disabling windows defender
But none of them seems to work. I cant understand what the problem may be, since I had no trouble installing github desktop on windows 7.

EDIT This method solved my problem:
Hold Windows button + R
Type in %TEMP%
Delete the entire content of temp.

I fixed this problem by adding permissions to the UserName for the of the folder containing GitHub.exe:
Using the explorer paste "%UserProfile%\AppData\Local\Apps\2.0
In the search box write "github.exe"
In the result list right-click the file & select open file location.
Right click the folder -> Properties->Security
Click [Edit...] for "Group or user names:"
Add the account user name to the list giving it full permission.

This may not apply to your situation, but here is what fixed the problem for me:
Find this file:
C:\Users[YOUR USER NAME HERE]\AppData\Local\GitHub\TheLog.txt
In that file, search for this string:
"System.Security.SecurityException: Requested registry access is not allowed."
If you find that, look down from that line, one at a time, until you find mention of some specific application. For me it was MS Visual Studio:
"at GitHub.IO.ExternalProgramLauncher.IsVisualStudioInstalled()"
Running as an administrator, run regedit and look for keys related to the application in question. If access to reading them is denied, rectify that by right-clicking on the name of the key and choosing 'permissions'. (I decline to provide instructions on how to use the permissions interface here, but it is fairly straightforward) If you can grant yourself permission, that may fix your problem. It worked for me.
If you want to find the exact correct key, download and use a tool from MicroSoft called 'Process Monitor'. Unfortunately, even when you filter to show only registry events, you will still have at least 25,000 or so to look through, and the list is not sortable. >_< This was not exactly easy, but by scrolling up from the bottom and looking for 'ACCESS DENIED' in the unsortable 'Result' column for a while I was able to find the exact registry event where access was denied which caused GH DT to fail. In my case it was this key:
HKEY_CLASSES_ROOT\VisualStudio.DTE.14.0
I ran regedit using my admin account, and ran it 'as administrator', found the key and changed the permissions. Oddly, it only worked when I added 'Administrators' (plural). When I added 'Administrator', it still refused to allow access to the key.
Hope this is related to your problem, or someone's who reads this. :)

Simply right click on the installation file and run as admin. It will automatically adjust itself to your system settings and install without error.

Related

why I am getting "it policies may be restricting access to this folder" while installing "Atom"?

please solve my problem, I was installing atom then suddenly a pop up showed of "it policies may be restricting access to this folder".
so what can I do to solve it...
you can fix that problem easily by following the steps given below :-
Copy the setup from the downloads
Go to (C:\Users{user_name}\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\TempState)
Paste the setup in TempState
Right click the setup and select run as administrator
The app will be downloaded.

Unable to upgrade XAMPP

I've spent the last 3 years attempting to get a website partner for an International trading website, but now I have given up on that idea and decided to learn development alone, although still open to a partnership, however at first I installed XAMPP version 1.7.7 and added a CodeIgniter based registration script, but now get this message - Unable to connect to your database server using the provided settings. Filename: C:\xampp\htdocs\system\database\DB_driver.php Line Number: 124
With that problem, together with the CodeIgniter changes and the XAMPP new version 5.6.8 I've decided to upgrade both. However I want to keep the old versions to enable retrieving data that has been entered into the old versions. I prefer to keep the old versions separate so that I know what portions are old and new.
I have attempted to change the name of the old version of XAMPP but I'm unable to do that and get this response - "The action can't be completed because the folder or a file is open in another program." I guess the referred folders are "Apache" and "MySQL". I've gone into XAMPP Control Panel and note "Apache" and "MySQL" are "Running" and if I click "Stop" I get ERROR messages and they don't stop. I've done some research and found that I need to be logged in as "Administrator". I've gone into Win7 Control Panel - User Accounts - and found that I'm listed as "Administrator" password protected. I've tried rebooting but that does not help. I now need guidance but open to suggestions on alternative methods to upgrade that has the same effects as in the previous paragraph.
Being an administrator under XAMPP and an administrator under Win7 are two different things.
Right click the control panel exe file in XAMPP folder and click "Run as administrator" and then Exit the control panel.
If the XAMPP control panel is running the above can't be done and I found I had to reboot to start the control panel fresh, then carry out the above.
Once all of that was done, I renamed the XAMPP folder.

Error starting the service. The OracleMTSRecoveryService was not found

I am getting this error while installing oracle 11g enterprise edition on windows 7 professional 64 bit. I checked the registry as some people have mention but the correct thing is already there. If try starting the service from Services.msc it says the service wss not found also
I ran into this same issue and this solved it:
When you get the error pop-up, leave it opened, open regedit and modify the ImagePath in the following key to point to the proper location:
computer\hkey_local_machine\system\controlset001\service\OracleMTSRecoveryService
The proper location may be something like this:
C:\app\myaccount\product\11.2.0\dbhome_1\bin\omtsreco.exe
All credit to:
http://yuanmengblog.blogspot.com/2011/08/oracle-standard-db-install-issue-with.html
The oracle download was split into two parts.
If you tried to install with only one part it will show many bugs and after installation oracle won't work.
Download two parts of oracle from the official site and extract in same place. The files will merge automatically into the same folder.
Now install the oracle. If you already installed the oracle once. It should taken some path like below.
In my system it took "E:\app\INDP\product\11.2.0\dbhome_1..."
If you are installing second time installation will take path, "E:\app\INDP\product\11.2.0\dbhome_2..."
Now the above erorr will come because of registry.
So, now yo need to edit the registry value like below.
ctrl+R will bring the run window. Type regedit and press ok
Then Under Computer, select HKEY_LOCAL_MACHINE -> SYSTEM ->ControlSet001-> Services -> OracleMTSRecoveryService.
Double click on ImagePath. It will prompt a window with old path or with wrong path under value data.
Now, you need to edit it with your curent path like below.
E:\app\INDP\product\11.2.0\dbhome_2\bin\omtsreco.exe OracleMTSRecoveryService
Now press "retry" button of the window, which shown that error. Now, it will work like charm.

Zend Studio and PHPCloud

I created from scratch a cloud app located at:
http://jimszend.my.phpcloud.com/
I have zero files on my local drive, but I am trying to get them from the server using Zend Studio.
I have found this page to accomplish this but it does not work:
http://www.phpcloud.com/help/studio-remote-system
Step 1. I believe to be correct. But I have no way to know for sure.
Step 2. Open the PHP or Zend Framework project that you want to upload to your application container, or create a new project. <--- I want to create a new project on my hard drive.
So Step 2 somehow does not work, so instead I go to File -> New -> PHP Project from Zend Developer Cloud.
So I give the project a name: say ABC
The location is: C:\Users\Jim\Zend\workspaces\DefaultWorkspace
The container from a dropdown is: http://jimszend.my.phpcloud.com:10082 (Id: 4_0 )
Now I click refresh right below that and I get nothing so now I click on Add Target
and I enter a username and password. This dialog screen is the problem. I can't figure out what to enter here. meaning I have tried hundreds of different ways and I get stuck right here. I always end up clicking on Generate new key and then I click Test Connection and since there is no error, I assume this is correct.
Then I close that screen and now when I click on the drop down for Application nothing gets filled in. But sometimes this does work and I find my application which says, "jimszend zend framework" - something like this, but even if I get this far then I get some sort of Git failure when I click finish.
Does anyone know a full proof way to pull down "my files" using Zend Studio from PHP Cloud?
Thanks,
Jim
I suspect you may not have your public / private keys set or somewhere you are not supplying the correct credentials during the process. I did the following.
Follow this help document very closely. It's a really good doc from the phpcloud people.
http://www.phpcloud.com/help/putty-ssh-debug-tunnel
Using the phpcloud admin I created a new public / private key pair (Zend Studio kind, ending in .pem). Then I downloaded the .pem to a folder on my windows 7 machine.
Next download from the putty website these three applications to help you match your private / public key pair in putty and in Zend Studio. For me I wanted everything hooked up, both Putty and Zend Studio.
-PuttyGen
-Pageant
-Putty
Note putty uses a .ppk file type (not .pem), so Using PuttyGen I opened the .pem file and saved out the private key to the same location where I saved my .pem file from the php cloud. I kept the same file naming convention, to keep matters straight. So the only difference between the two files was .pem and .ppk.
Next I opened Pageant and used Pageant to open a store my .ppk file. I understand Pageant to be a key store which Putty will check, as it needs to open locked doors.
Next I followed the guidelines in the above phpcloud link, carefully, to establish a tunnel.
Once the tunnel was open, I launched Zend Studio.
From there I went to Windows->preferences and searched for SSH2. Once the SSJ2 dialog opened, under the general tab I added both my .pem and .ppk to the path. Then under the Key Management tab dialog I used "Load existing key" and loaded my .pem file. Then I clicked apply.
Then using Zend Studio I created a new "PHP Project from Remote Server". I went though the steps clicking "Manage remote servers". For the server connection I typed the follow.
JAZZFINGERS.MY.PHPCLOUD.COM
and if you are prompted for credentials, do not use the container credentials, unless they are the same as your other credentials.
From there you can also test your connection. For me this worked. Hope this helps. Oh yeah, also read this. Very important and helpful.
www.phpcloud.com/help/studio-remote-system
-Best Wishes

VS2005 Setup project - program asks for installation media when started for the first time by another user

I have a very simple VS2005 deployment project that aims to install for all users on a PC.
All the application files are written to %Program Files%\MyProg. A shortcut is created in the start menu and the startup folder. No registry settings or anything else are created. I have set
'InstallAllUsers' to true.
The created MSI runs fine and installs the software. It works without any problems when running under the user account from which it was installed.
When logging in as another user, the start menu and startup icons are present. It attempts to launch the application however an installation window pops up and states that 'the feature you are trying to use is on a network resource that is unavailable.' The installer will only proceed if pointed to the original MSI file.
Why does this happen? I want my application to be installed completely for all users when it is installed by a single user.
edit: Solution
I was getting similar event log messages as shown on this page. In my case it turned out to be as simple as ensuring that the User's Program Menu had its 'AlwaysCreate' attribute turned to false. If it was true, windows would try and recreate the folder when a new user logged in. This somehow required the invocation of the installer and thus resulted in the 'please insert the installation media' prompts.
It is actually kind of hard to say without some more information. I would recommend checking on the rights in the installed folder (seeing if only the one who installed it has rights) and also checking the file list for the directory (to make sure VS didn't automatically place some files in the user profile). Let me know what comes out from those two steps and we can try to keep digging if that didn't shed any light on it.
Keep in mind chances are this is most def not specific to Visual Studio, look at this MS support article here where the same message is coming back for office.
I know this is an old post but I thought I'd add another cause and solution in case the above didn't work for you.
There is a bug in VS Setup and Deployment Projects which results in registry values being entered into HKCU instead of HKLM irrespective of the InstallAllUsers property being set to true.
You must use Orca msi editor to change the registry root for "DesktopFolder" and "ProgramMenuFolder" from either 1 or 2 to -1. The issue cannot be resolved via VS.
http://www.qa.downappz.com/questions/vs-2010-deploys-per-user-features-during-install-which-require-access-to-install-media.html

Resources