-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Installer error if StarUML installed: 'A later version of Brackets is already installed. Setup will now exit' #10173
Comments
@mobesa Brackets always updates the current installation, so it sounds like you have installed a Brackets 1.1 prerelease build. To have multiple versions of Brackets running, you'll need to do the following:
|
I just saw your note that you "hadn't installed Brackets before", so you can skip steps 3 & 4 :) |
@redmunds Thanks. |
@mobesa |
@mobesa Is this a shared machine? Maybe Brackets has been installed on one of the other accounts. |
@nicolo-ribaudo @redmunds |
|
@bchintx Any ideas about what could be causing this? |
@nicolo-ribaudo when I right click the .msi I don't get a Run as Administrator... But I managed to run it from Powershell (using msiexec /a) and it seemed to work; the installer screen appeared for one moment than disappeared then reappeared again saying that Brackets was successfully installed. I checked out the hard drive again and nothing was there... |
Pfff... I don't know how to build from source (very intimidating for a non-tech person like me) but I'll give it a try... |
@redmunds or @nicolo-ribaudo can you give me a step-by-step guide for building Brackets from source other than the one mentioned in the repo (my head hurts from all that jargon)? |
Brackets default installation folder is: |
@mobesa However, I can try to sommarize it 😉 1. PrerequisitesDownload and install the following softwers:
2. Clone brackets and brackets-shell repositories
3. Build brackets-shell
4. Build brackets
5. Connect brackets-shell and brackets
@redmunds If I zip my Brackets folder and I send it to @mobesa, can he run brackets? |
@nicolo-ribaudo Yes, you should be able to zip up installation folder ( But I'd rather figure out why @mobesa cannot install. I'm waiting to hear if @mobesa found installation folder after running installer as admin. |
@redmunds Do I have to zip the |
@nicolo-ribaudo Thanks so much, I'm gonna try building this thing right now!
I couldn't find it... |
No. If your system ever becomes hosed, you can always shutdown Brackets, delete that entire folder, and restart to reset everything. |
@mobesa Can you launch Control Panel > Programs and Features and then see if Brackets appears in the resulting list of programs to uninstall? Perhaps a previous install attempt got far enough thru the process to register itself in your Windows system. If it does appear, can you please select that item and click the Uninstall button? Alternatively, try a forced uninstall as follows:
|
https://drive.google.com/open?id=0B8oCEY0KhtmPNHQyZERfTkdTWjQ&authuser=0 Unzip this file in Vesion: 1.1 RC |
@bchintx doesn't work: I mean the forced uninstall and install:
@nicolo-ribaudo Your zipped .exe works! I now have an operational Brackets! Thanks dude! |
OK.. So, should I close this issue or should we dig in deeper to find the reason behind this bug?? |
Can you try to do this?
|
@nicolo-ribaudo sorry man, no Brackets there... |
@mobesa I suspect you'll have a problem the next time you try to update Brackets. Can you uninstall now that you have manually copied some files to the Brackets install folder? |
@redmunds Nope... Sorry to be such a pain... But there's no trace of Brackets in the Installed Software list... So I can't uninsitall it... |
@mobesa The next time you'll need to update brackets, if isn't required a new shell version, you can just create a If is required a new brackets-shell version... try to contact me and I'll give you another zip 😉 |
Thanks @nicolo-ribaudo ... |
@redmunds
So there are some applications that run on brackets-shell. These applications may conflict with Brackets? |
Great suggestion @nicolo-ribaudo ... |
Even though there may be 2 apps built with brackets-shell, the names and installers should be totally different (unless someone was pretty lazy about re-using the Brackets installer). I suspect that the first time you tried to install Brackets, the installer or your system crashed in the middle and it left Brackets in an intermediate state. You cold try searching for "brackets" in your registry and deleting all instances. Note: only do this if you are comfortable editing a Windows Registry because you can hose your whole system. |
@redmunds I think @mobesa got those registry entries because he had run Brackets from the zip version provided by @nicolo-ribaudo. So these entries do not help in identifying the installer issue. |
Like I said before, we need to know exactly how the installer is trying to decide which version of Brackets is installed, if any. Someone must know how this works, maybe the person who created the installer?... Guessing at it gets us nowhere. |
I think it's just the default way MSI installers do this... with registry keys. |
It's gotta be a setting in the build tool for one... To allow a different version to be already installed or not. |
@RaymondLim said:
Exactly! I didn't build Brackets, instead I used the @redmunds are you sure (deleting those entries won't crash my system)? |
@mobesa could you help us out with trying to figure out the problem? I know you have it installed by the zip but we're thinking there is something with the Windows Installer database that is causing this. Can you try the following: Open command prompt and paste the contents of the log file to this thread? |
@JeffryBooher sorry for being so late...
I hope you find out something from this long piece of code... |
WOW! After taking a good look at the log I just posted, I found that some sort of installed application with some kind of key ( |
@mobesa So, you saying that if you uninstall StarUML then you can install Brackets? It looks like there could be an app GUID conflict:
Wow! The odds of that are pretty low. We could change the Brackets app GUID, but that would mess up future updates. Since we just release Brackets 1.0, this is probably the best time to make such a change. |
This wouldn't fix being unable to downgrade Brackets 1.1 to 1.0. Such check does not need to exist in the first place. |
@thany This would allow you to install 1.0 side by side with 1.2 and greater, so there would be no downgrade. |
@redmunds : That's right! I uninstalled StarUML and then installed Brackets 1.1 + Extract and all went smoothly... |
@redmunds Ehh, no. If I let Brackets install itself into the same directory, it should overwrite whatever is already there. For all intents and purposes, that's a downgrade (or an upgrade for that matter). |
It's no coincidence: looking at the website (http://staruml.io/), it's very clear that StarUML is heavily reusing code from the Brackets project. So they presumably just copied our installer code without changing the product GUID, which is a big no-no. We should contact them and ask them to fix it on their end. We also may want to consider removing our GUID from the source code, so that it's not possible to build an installer from it without generating your own GUID... |
I've pinged them, so hopefully they'll correct their installers for the future. It won't help anyone who's already installed StarUML, but once fixed it will at least prevent future installs from creating this problem. |
Also, to clarify two things from earlier in the thread:
|
@peterflynn thanks man! now I can close this issue in peace... |
Re-opening. Let's keep this open until we verify that issue has been resolved. |
Marking tracking since we're waiting on StarUML to release a fix on their end |
We should also consider removing our GUID from the source code too though, so it's harder for developers to make this mistake |
Hi, I have the same problem with Brackets 1.2 (without Extract). However, I have solved the problem a little easier. My recommendation for all who have ended up on Google search here (like me). There is a program that is called "CCleaner" (it's freeware & portable) from Piriform Company. Goes to "Tools" -> Uninstall Tab. Here you will find the Brackets program which unfortunately Windows does not display. Namely an old or faulty installation of Brackets. Simply remove Brackets. CCleaner also cleans up registry. If you like. |
@RHEAm thanks for the suggestion! Glad to hear that you've solved it with an easier method. |
Hey everyone,
I was trying to install Brackets 1.0 + Adobe Extract (downloaded the .msi from brackets.io on windows 7 x64 via Chrome) when I got this message:
"A later version of Brackets is already installed. Setup will now exit."
Help?
P.S.: I hadn't installed Brackets before (duh).
The text was updated successfully, but these errors were encountered: