Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Installer error if StarUML installed: 'A later version of Brackets is already installed. Setup will now exit' #10173

Open
mobesa opened this issue Dec 15, 2014 · 64 comments

Comments

@mobesa
Copy link

mobesa commented Dec 15, 2014

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).

@redmunds
Copy link
Contributor

@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:

  1. Uninstall Brackets
  2. Install Brackets 1.0 first
  3. Copy the C:\Program Files (x86)\Brackets folder and rename new folder to "Brackets 1.0"
  4. Install Brackets 1.1 prerelease build (which updates C:\Program Files (x86)\Brackets)

@redmunds
Copy link
Contributor

I just saw your note that you "hadn't installed Brackets before", so you can skip steps 3 & 4 :)

@mobesa
Copy link
Author

mobesa commented Dec 15, 2014

@redmunds Thanks.
But, I am sorry; I don't have any version of Brackets installed. I've even looked through my hard drive to double check if I've missed something and there's nothing there.
Again, thanks for your contribution...

@nicolo-ribaudo
Copy link
Contributor

@mobesa
Can you install Brackets 1.1 RC 1? (That is a Pre Release, but it should work well 😉)

@redmunds
Copy link
Contributor

@mobesa Is this a shared machine? Maybe Brackets has been installed on one of the other accounts.

@mobesa
Copy link
Author

mobesa commented Dec 16, 2014

@nicolo-ribaudo @redmunds
Sorry for the late answer...
As for Brackets 1.1 RC 1, I got nothing... same game.
And, I checked my other Guest account and there's nothing there.
I've even tried to install Brackets 0.44 and I got the same error.
Maybe there's some kind of interference with another application I've already installed. Any suggestions?
Is there some install wizard in debug mode so I can tell what's happening?

@nicolo-ribaudo
Copy link
Contributor

  1. Try to run the msi installer with admin rights
    (There should be something like Right-Click > Run as administrator)
  2. If it the first method doesn't work,you can try to build brackets from the source code

@redmunds
Copy link
Contributor

@bchintx Any ideas about what could be causing this?

@mobesa
Copy link
Author

mobesa commented Dec 16, 2014

@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...

@mobesa
Copy link
Author

mobesa commented Dec 16, 2014

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...

@mobesa
Copy link
Author

mobesa commented Dec 16, 2014

@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)?

@redmunds
Copy link
Contributor

I checked out the hard drive again and nothing was there...

Brackets default installation folder is: C:\Program Files (x86)\Brackets

@nicolo-ribaudo
Copy link
Contributor

@mobesa
I've never built brackets from the source code 😕

However, I can try to sommarize it 😉

1. Prerequisites

Download and install the following softwers:

2. Clone brackets and brackets-shell repositories

  1. Start Git Bash with admin rights

  2. Go to the directory where you want to build brackets

    cd "<path_of_the_directory>"
  3. Download the source code of brackets-shell

    git clone https://github.com/adobe/brackets-shell.git
  4. Download the source code of brackets

    git clone https://github.com/adobe/brackets.git

3. Build brackets-shell

  1. Go to the brackets-shell directory

    cd brackets-shell
  2. Install brackets-shell's dependencies

    npm install
    grunt

4. Build brackets

  1. Go to the brackets directory

    cd ../brackets
  2. Install brackets's dependencies

    npm install

5. Connect brackets-shell and brackets

  1. Run brackets/tools/setup_for_hacking.bat

    cd tools
    setup_for_hacking.bat <direcotory_where_you_have_cloned_brackets_repository_(step_2.2)>/brackets

@redmunds If I zip my Brackets folder and I send it to @mobesa, can he run brackets?

@redmunds
Copy link
Contributor

@nicolo-ribaudo Yes, you should be able to zip up installation folder (C:\Program Files (x86)\Brackets) and send it.

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.

@nicolo-ribaudo
Copy link
Contributor

@redmunds Do I have to zip the C:\Users\Nicolò\AppData\Roaming\Brackets folder too?

@mobesa
Copy link
Author

mobesa commented Dec 16, 2014

@nicolo-ribaudo Thanks so much, I'm gonna try building this thing right now!

@redmunds :

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.

I couldn't find it...

@redmunds
Copy link
Contributor

Do I have to zip the C:\Users\Nicolò\AppData\Roaming\Brackets folder too?

No. If your system ever becomes hosed, you can always shutdown Brackets, delete that entire folder, and restart to reset everything.

@bchintx
Copy link
Contributor

bchintx commented Dec 16, 2014

@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:

  1. launch a Command Prompt, run as Administrator
  2. cd to the folder where you downloaded the Brackets .msi file
  3. msiexec /x Brackets.1.0.Extract.msi
  4. now try installing it again: msiexec /i Brackets.1.0.Extract.msi

@nicolo-ribaudo
Copy link
Contributor

@mobesa

https://drive.google.com/open?id=0B8oCEY0KhtmPNHQyZERfTkdTWjQ&authuser=0

Unzip this file in C:\Program Files (x86)\Brackets and try to launch Brackets.exe 😉

Vesion: 1.1 RC

@mobesa
Copy link
Author

mobesa commented Dec 16, 2014

@bchintx doesn't work: I mean the forced uninstall and install:

  • For the uninstall, I got "Operation can't be done only on installed packages" or something like that...
  • As for the forced installation, I got the same error as before "Brackets has already been installed bla bla bla..."

@nicolo-ribaudo Your zipped .exe works! I now have an operational Brackets! Thanks dude!

@mobesa
Copy link
Author

mobesa commented Dec 16, 2014

OK.. So, should I close this issue or should we dig in deeper to find the reason behind this bug??

@nicolo-ribaudo
Copy link
Contributor

@mobesa

For the uninstall, I got "Operation can't be done only on installed packages" or something like that...

Can you try to do this?

  1. Go to Control Panel > Programs and Features
  2. Show programs' path in the programs table
  3. Delete manually the path of the old Brackets version

@mobesa
Copy link
Author

mobesa commented Dec 16, 2014

@nicolo-ribaudo sorry man, no Brackets there...
Do you reckon that the problem is with some other application I have installed, an Adobe app maybe?
By the way, if I keep using this version of Brackets, how do I update? I re-build it with the new version or what?

@redmunds
Copy link
Contributor

@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?

@mobesa
Copy link
Author

mobesa commented Dec 16, 2014

@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...

@nicolo-ribaudo
Copy link
Contributor

@mobesa The next time you'll need to update brackets, if isn't required a new shell version, you can just create a dev folder into the zip I gave you and clone the brackets repository into it.

If is required a new brackets-shell version... try to contact me and I'll give you another zip 😉

@mobesa
Copy link
Author

mobesa commented Dec 16, 2014

Thanks @nicolo-ribaudo ...

@nicolo-ribaudo
Copy link
Contributor

@redmunds
Quoted from the brackets-shell repository:

Note: The brackets-shell is only maintained for use by the Brackets project. Although some people have definitely had success using it as an app shell for other projects,

So there are some applications that run on brackets-shell. These applications may conflict with Brackets?
Maybe one of the apps @mobesa has installed is based on brackets-shell...

@mobesa
Copy link
Author

mobesa commented Dec 16, 2014

Great suggestion @nicolo-ribaudo ...
Which apps do you think run on brackets-shell?

@redmunds
Copy link
Contributor

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.

@RaymondLim
Copy link
Contributor

@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.

@thany
Copy link

thany commented Dec 21, 2014

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.

@marcelgerber
Copy link
Contributor

I think it's just the default way MSI installers do this... with registry keys.

@thany
Copy link

thany commented Dec 21, 2014

It's gotta be a setting in the build tool for one... To allow a different version to be already installed or not.

@mobesa
Copy link
Author

mobesa commented Dec 22, 2014

@RaymondLim said:

@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.

Exactly! I didn't build Brackets, instead I used the zip @nicolo-ribaudo provided me and _ran_ it.
By the way, I think @thany is in the right direction... we ought to look for the possible cause and to not focus on the effect...

@redmunds are you sure (deleting those entries won't crash my system)?

@JeffryBooher
Copy link
Contributor

@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
cd to folder containing the installer MSI file.
Run msiexec /i Brackets.1.0.Extract.msi /l*v brackets_log.txt

and paste the contents of the log file to this thread?
Thanks!

@mobesa
Copy link
Author

mobesa commented Jan 6, 2015

@JeffryBooher sorry for being so late...
I did as you said and here's the log that I got:

=== Verbose logging started: 15/03/36  22:17:00  Build type: SHIP UNICODE 5.00.7601.00  Calling process: C:\Windows\system32\msiexec.exe ===
MSI (c) (AC:74) [22:17:00:221]: Font created.  Charset: Req=178, Ret=178, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg

MSI (c) (AC:74) [22:17:00:221]: Font created.  Charset: Req=178, Ret=178, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg

MSI (c) (AC:9C) [22:17:00:308]: Resetting cached policy values
MSI (c) (AC:9C) [22:17:00:308]: Machine policy value 'Debug' is 0
MSI (c) (AC:9C) [22:17:00:308]: ******* RunEngine:
           ******* Product: Brackets.1.0.Extract.msi
           ******* Action: 
           ******* CommandLine: **********
MSI (c) (AC:9C) [22:17:00:398]: Machine policy value 'DisableUserInstalls' is 0
MSI (c) (AC:74) [22:17:00:812]: Font created.  Charset: Req=0, Ret=0, Font: Req=, Ret=Arial

MSI (c) (AC:74) [22:17:01:140]: Cloaking enabled.
MSI (c) (AC:74) [22:17:01:140]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (AC:74) [22:17:01:220]: Font created.  Charset: Req=0, Ret=0, Font: Req=, Ret=Arial

MSI (c) (AC:9C) [22:17:01:230]: Note: 1: 1402 2: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer 3: 2 
MSI (c) (AC:9C) [22:17:01:257]: SOFTWARE RESTRICTION POLICY: Verifying package --> 'C:\Users\sondes\Desktop\old\Brackets.1.0.Extract.msi' against software restriction policy
MSI (c) (AC:9C) [22:17:01:257]: SOFTWARE RESTRICTION POLICY: C:\Users\sondes\Desktop\old\Brackets.1.0.Extract.msi has a digital signature
MSI (c) (AC:9C) [22:17:21:118]: SOFTWARE RESTRICTION POLICY: C:\Users\sondes\Desktop\old\Brackets.1.0.Extract.msi is permitted to run at the 'unrestricted' authorization level.
MSI (c) (AC:9C) [22:17:21:121]: Cloaking enabled.
MSI (c) (AC:9C) [22:17:21:121]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (AC:9C) [22:17:21:146]: End dialog not enabled
MSI (c) (AC:9C) [22:17:21:146]: Original package ==> C:\Users\sondes\Desktop\old\Brackets.1.0.Extract.msi
MSI (c) (AC:9C) [22:17:21:146]: Package we're running from ==> C:\Users\sondes\Desktop\old\Brackets.1.0.Extract.msi
MSI (c) (AC:9C) [22:17:21:211]: APPCOMPAT: Compatibility mode property overrides found.
MSI (c) (AC:9C) [22:17:21:243]: APPCOMPAT: looking for appcompat database entry with ProductCode '{ABCC2682-885E-47D9-9EB8-2785C3FD82E3}'.
MSI (c) (AC:9C) [22:17:21:253]: APPCOMPAT: no matching ProductCode found in database.
MSI (c) (AC:9C) [22:17:21:754]: MSCOREE not loaded loading copy from system32
MSI (c) (AC:9C) [22:17:21:796]: Machine policy value 'TransformsSecure' is 0
MSI (c) (AC:9C) [22:17:21:796]: User policy value 'TransformsAtSource' is 0
MSI (c) (AC:9C) [22:17:21:831]: Machine policy value 'DisablePatch' is 0
MSI (c) (AC:9C) [22:17:21:831]: Machine policy value 'AllowLockdownPatch' is 0
MSI (c) (AC:9C) [22:17:21:831]: Machine policy value 'DisableMsi' is 0
MSI (c) (AC:9C) [22:17:21:831]: Machine policy value 'AlwaysInstallElevated' is 0
MSI (c) (AC:9C) [22:17:21:831]: User policy value 'AlwaysInstallElevated' is 0
MSI (c) (AC:9C) [22:17:21:831]: Running product '{ABCC2682-885E-47D9-9EB8-2785C3FD82E3}' with user privileges: It's not assigned.
MSI (c) (AC:9C) [22:17:21:831]: Machine policy value 'DisableLUAPatching' is 0
MSI (c) (AC:9C) [22:17:21:831]: Machine policy value 'DisableFlyWeightPatching' is 0
MSI (c) (AC:9C) [22:17:21:839]: APPCOMPAT: looking for appcompat database entry with ProductCode '{ABCC2682-885E-47D9-9EB8-2785C3FD82E3}'.
MSI (c) (AC:9C) [22:17:21:839]: APPCOMPAT: no matching ProductCode found in database.
MSI (c) (AC:9C) [22:17:21:841]: Transforms are not secure.
MSI (c) (AC:9C) [22:17:21:841]: PROPERTY CHANGE: Adding MsiLogFileLocation property. Its value is 'C:\Users\sondes\Desktop\old\brackets_log.txt'.
MSI (c) (AC:9C) [22:17:21:841]: Command Line: CURRENTDIRECTORY=C:\Users\sondes\Desktop\old CLIENTUILEVEL=0 CLIENTPROCESSID=3756 
MSI (c) (AC:9C) [22:17:21:841]: PROPERTY CHANGE: Adding PackageCode property. Its value is '{3FE94502-41DB-407D-A571-BB58029975F8}'.
MSI (c) (AC:9C) [22:17:21:841]: Product Code passed to Engine.Initialize:           ''
MSI (c) (AC:9C) [22:17:21:841]: Product Code from property table before transforms: '{ABCC2682-885E-47D9-9EB8-2785C3FD82E3}'
MSI (c) (AC:9C) [22:17:21:841]: Product Code from property table after transforms:  '{ABCC2682-885E-47D9-9EB8-2785C3FD82E3}'
MSI (c) (AC:9C) [22:17:21:841]: Product not registered: beginning first-time install
MSI (c) (AC:9C) [22:17:21:841]: PROPERTY CHANGE: Adding ProductState property. Its value is '-1'.
MSI (c) (AC:9C) [22:17:21:841]: Entering CMsiConfigurationManager::SetLastUsedSource.
MSI (c) (AC:9C) [22:17:21:841]: User policy value 'SearchOrder' is 'nmu'
MSI (c) (AC:9C) [22:17:21:841]: Adding new sources is allowed.
MSI (c) (AC:9C) [22:17:21:841]: PROPERTY CHANGE: Adding PackagecodeChanging property. Its value is '1'.
MSI (c) (AC:9C) [22:17:21:841]: Package name extracted from package path: 'Brackets.1.0.Extract.msi'
MSI (c) (AC:9C) [22:17:21:841]: Package to be registered: 'Brackets.1.0.Extract.msi'
MSI (c) (AC:9C) [22:17:21:844]: Note: 1: 2262 2: AdminProperties 3: -2147287038 
MSI (c) (AC:9C) [22:17:21:844]: Machine policy value 'AlwaysInstallElevated' is 0
MSI (c) (AC:9C) [22:17:21:844]: User policy value 'AlwaysInstallElevated' is 0
MSI (c) (AC:9C) [22:17:21:844]: Running product '{ABCC2682-885E-47D9-9EB8-2785C3FD82E3}' with user privileges: It's not assigned.
MSI (c) (AC:9C) [22:17:21:844]: PROPERTY CHANGE: Adding CURRENTDIRECTORY property. Its value is 'C:\Users\sondes\Desktop\old'.
MSI (c) (AC:9C) [22:17:21:844]: PROPERTY CHANGE: Adding CLIENTUILEVEL property. Its value is '0'.
MSI (c) (AC:9C) [22:17:21:844]: PROPERTY CHANGE: Adding CLIENTPROCESSID property. Its value is '3756'.
MSI (c) (AC:9C) [22:17:21:844]: PROPERTY CHANGE: Adding MsiSystemRebootPending property. Its value is '1'.
MSI (c) (AC:9C) [22:17:21:844]: TRANSFORMS property is now: 
MSI (c) (AC:9C) [22:17:21:844]: PROPERTY CHANGE: Adding VersionDatabase property. Its value is '300'.
MSI (c) (AC:9C) [22:17:21:846]: SHELL32::SHGetFolderPath returned: C:\Users\sondes\AppData\Roaming
MSI (c) (AC:9C) [22:17:21:846]: SHELL32::SHGetFolderPath returned: C:\Users\sondes\Favorites
MSI (c) (AC:9C) [22:17:21:846]: SHELL32::SHGetFolderPath returned: C:\Users\sondes\AppData\Roaming\Microsoft\Windows\Network Shortcuts
MSI (c) (AC:9C) [22:17:21:846]: SHELL32::SHGetFolderPath returned: C:\Users\sondes\Documents
MSI (c) (AC:9C) [22:17:21:849]: SHELL32::SHGetFolderPath returned: C:\Users\sondes\AppData\Roaming\Microsoft\Windows\Printer Shortcuts
MSI (c) (AC:9C) [22:17:21:849]: SHELL32::SHGetFolderPath returned: C:\Users\sondes\AppData\Roaming\Microsoft\Windows\Recent
MSI (c) (AC:9C) [22:17:21:849]: SHELL32::SHGetFolderPath returned: C:\Users\sondes\AppData\Roaming\Microsoft\Windows\SendTo
MSI (c) (AC:9C) [22:17:21:849]: SHELL32::SHGetFolderPath returned: C:\Users\sondes\AppData\Roaming\Microsoft\Windows\Templates
MSI (c) (AC:9C) [22:17:21:849]: SHELL32::SHGetFolderPath returned: C:\ProgramData
MSI (c) (AC:9C) [22:17:21:849]: SHELL32::SHGetFolderPath returned: C:\Users\sondes\AppData\Local
MSI (c) (AC:9C) [22:17:21:849]: SHELL32::SHGetFolderPath returned: C:\Users\sondes\Pictures
MSI (c) (AC:9C) [22:17:21:851]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools
MSI (c) (AC:9C) [22:17:21:851]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
MSI (c) (AC:9C) [22:17:21:851]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\Programs
MSI (c) (AC:9C) [22:17:21:851]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu
MSI (c) (AC:9C) [22:17:21:851]: SHELL32::SHGetFolderPath returned: C:\Users\Public\Desktop
MSI (c) (AC:9C) [22:17:21:851]: SHELL32::SHGetFolderPath returned: C:\Users\sondes\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Administrative Tools
MSI (c) (AC:9C) [22:17:21:854]: SHELL32::SHGetFolderPath returned: C:\Users\sondes\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
MSI (c) (AC:9C) [22:17:21:854]: SHELL32::SHGetFolderPath returned: C:\Users\sondes\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
MSI (c) (AC:9C) [22:17:21:854]: SHELL32::SHGetFolderPath returned: C:\Users\sondes\AppData\Roaming\Microsoft\Windows\Start Menu
MSI (c) (AC:9C) [22:17:21:854]: SHELL32::SHGetFolderPath returned: C:\Users\sondes\Desktop
MSI (c) (AC:9C) [22:17:21:871]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Templates
MSI (c) (AC:9C) [22:17:21:871]: SHELL32::SHGetFolderPath returned: C:\Windows\Fonts
MSI (c) (AC:9C) [22:17:21:874]: Note: 1: 2898 2: MS Sans Serif 3: MS Sans Serif 4: 0 5: 16 
MSI (c) (AC:9C) [22:17:21:884]: MSI_LUA: Setting AdminUser property to 1 because this is the client or the user has already permitted elevation
MSI (c) (AC:9C) [22:17:21:884]: PROPERTY CHANGE: Adding AdminUser property. Its value is '1'.
MSI (c) (AC:9C) [22:17:21:884]: PROPERTY CHANGE: Adding Privileged property. Its value is '1'.
MSI (c) (AC:9C) [22:17:21:884]: Note: 1: 1402 2: HKEY_CURRENT_USER\Software\Microsoft\MS Setup (ACME)\User Info 3: 2 
MSI (c) (AC:9C) [22:17:21:884]: PROPERTY CHANGE: Adding USERNAME property. Its value is 'sondes'.
MSI (c) (AC:9C) [22:17:21:884]: Note: 1: 1402 2: HKEY_CURRENT_USER\Software\Microsoft\MS Setup (ACME)\User Info 3: 2 
MSI (c) (AC:9C) [22:17:21:884]: PROPERTY CHANGE: Adding DATABASE property. Its value is 'C:\Users\sondes\Desktop\old\Brackets.1.0.Extract.msi'.
MSI (c) (AC:9C) [22:17:21:884]: PROPERTY CHANGE: Adding OriginalDatabase property. Its value is 'C:\Users\sondes\Desktop\old\Brackets.1.0.Extract.msi'.
MSI (c) (AC:9C) [22:17:21:884]: Machine policy value 'MsiDisableEmbeddedUI' is 0
MSI (c) (AC:9C) [22:17:21:884]: PROPERTY CHANGE: Adding SourceDir property. Its value is 'C:\Users\sondes\Desktop\old\'.
MSI (c) (AC:9C) [22:17:21:884]: PROPERTY CHANGE: Adding SOURCEDIR property. Its value is 'C:\Users\sondes\Desktop\old\'.
MSI (c) (AC:74) [22:17:21:974]: PROPERTY CHANGE: Adding VersionHandler property. Its value is '5.00'.
=== Logging started: 15/03/36  22:17:22 ===
MSI (c) (AC:9C) [22:17:22:558]: Note: 1: 2205 2:  3: PatchPackage 
MSI (c) (AC:9C) [22:17:22:558]: Machine policy value 'DisableRollback' is 0
MSI (c) (AC:9C) [22:17:22:558]: User policy value 'DisableRollback' is 0
MSI (c) (AC:9C) [22:17:22:558]: PROPERTY CHANGE: Adding UILevel property. Its value is '5'.
MSI (c) (AC:9C) [22:17:22:560]: PROPERTY CHANGE: Adding ACTION property. Its value is 'INSTALL'.
MSI (c) (AC:9C) [22:17:22:560]: Doing action: INSTALL
Action 22:17:22: INSTALL. 
Action start 22:17:22: INSTALL.
MSI (c) (AC:9C) [22:17:22:590]: UI Sequence table 'InstallUISequence' is present and populated.
MSI (c) (AC:9C) [22:17:22:590]: Running UISequence
MSI (c) (AC:9C) [22:17:22:590]: PROPERTY CHANGE: Adding EXECUTEACTION property. Its value is 'INSTALL'.
MSI (c) (AC:9C) [22:17:22:590]: Doing action: FindRelatedProducts
Action 22:17:22: FindRelatedProducts. Searching for related applications
Action start 22:17:22: FindRelatedProducts.
FindRelatedProducts: Found application: {5594F5B4-B8BD-4165-AEEB-317C324F93BB}
MSI (c) (AC:9C) [22:17:22:598]: PROPERTY CHANGE: Adding WIX_DOWNGRADE_DETECTED property. Its value is '{5594F5B4-B8BD-4165-AEEB-317C324F93BB}'.
Action ended 22:17:22: FindRelatedProducts. Return value 1.
MSI (c) (AC:9C) [22:17:22:598]: Doing action: LaunchConditions
Action 22:17:22: LaunchConditions. Evaluating launch conditions
Action start 22:17:22: LaunchConditions.
Info 2898. For WixUI_Font_Normal textstyle, the system created a 'Tahoma' font, in 0 character set, of 13 pixels height.
A later version of Brackets is already installed.  Setup will now exit.
MSI (c) (AC:9C) [22:17:25:855]: Product: Brackets -- A later version of Brackets is already installed.  Setup will now exit.

Action ended 22:17:25: LaunchConditions. Return value 3.
MSI (c) (AC:9C) [22:17:25:858]: Doing action: FatalError
Action 22:17:25: FatalError. 
Action start 22:17:25: FatalError.
Info 2898. For WixUI_Font_Bigger textstyle, the system created a 'Tahoma' font, in 0 character set, of 19 pixels height.
Action 22:17:25: FatalError. Dialog created
MSI (c) (AC:80) [22:17:25:918]: Note: 1: 2731 2: 0 
Action ended 22:17:27: FatalError. Return value 2.
Action ended 22:17:27: INSTALL. Return value 3.
Property(C): UpgradeCode = {3B75C4E6-41C6-43E0-B0B2-92C7C7614AF1}
Property(C): ProgramMenuFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\
Property(C): WIXUI_INSTALLDIR = INSTALLDIR
Property(C): ALLUSERS = 1
Property(C): ProgramFilesFolder = C:\Program Files (x86)\
Property(C): SourceDir = C:\Users\sondes\Desktop\old\
Property(C): Manufacturer = brackets.io
Property(C): ProductCode = {ABCC2682-885E-47D9-9EB8-2785C3FD82E3}
Property(C): ProductLanguage = 1033
Property(C): ProductName = Brackets
Property(C): ProductVersion = 1.0
Property(C): ARPPRODUCTICON = appicon.ico
Property(C): DefaultUIFont = WixUI_Font_Normal
Property(C): WixUI_Mode = InstallDir
Property(C): ARPNOMODIFY = 1
Property(C): ARPNOREPAIR = 1
Property(C): ErrorDialog = ErrorDlg
Property(C): SecureCustomProperties = WIX_DOWNGRADE_DETECTED;WIX_UPGRADE_DETECTED
Property(C): WIX_DOWNGRADE_DETECTED = {5594F5B4-B8BD-4165-AEEB-317C324F93BB}
Property(C): MsiLogFileLocation = C:\Users\sondes\Desktop\old\brackets_log.txt
Property(C): PackageCode = {3FE94502-41DB-407D-A571-BB58029975F8}
Property(C): ProductState = -1
Property(C): PackagecodeChanging = 1
Property(C): CURRENTDIRECTORY = C:\Users\sondes\Desktop\old
Property(C): CLIENTUILEVEL = 0
Property(C): CLIENTPROCESSID = 3756
Property(C): VersionDatabase = 300
Property(C): MsiSystemRebootPending = 1
Property(C): VersionMsi = 5.00
Property(C): VersionNT = 601
Property(C): VersionNT64 = 601
Property(C): WindowsBuild = 7601
Property(C): ServicePackLevel = 1
Property(C): ServicePackLevelMinor = 0
Property(C): MsiNTProductType = 1
Property(C): MsiNTSuitePersonal = 1
Property(C): WindowsFolder = C:\Windows\
Property(C): WindowsVolume = C:\
Property(C): System64Folder = C:\Windows\system32\
Property(C): SystemFolder = C:\Windows\SysWOW64\
Property(C): RemoteAdminTS = 1
Property(C): TempFolder = C:\Users\sondes\AppData\Local\Temp\
Property(C): CommonFilesFolder = C:\Program Files (x86)\Common Files\
Property(C): ProgramFiles64Folder = C:\Program Files\
Property(C): CommonFiles64Folder = C:\Program Files\Common Files\
Property(C): AppDataFolder = C:\Users\sondes\AppData\Roaming\
Property(C): FavoritesFolder = C:\Users\sondes\Favorites\
Property(C): NetHoodFolder = C:\Users\sondes\AppData\Roaming\Microsoft\Windows\Network Shortcuts\
Property(C): PersonalFolder = C:\Users\sondes\Documents\
Property(C): PrintHoodFolder = C:\Users\sondes\AppData\Roaming\Microsoft\Windows\Printer Shortcuts\
Property(C): RecentFolder = C:\Users\sondes\AppData\Roaming\Microsoft\Windows\Recent\
Property(C): SendToFolder = C:\Users\sondes\AppData\Roaming\Microsoft\Windows\SendTo\
Property(C): TemplateFolder = C:\ProgramData\Microsoft\Windows\Templates\
Property(C): CommonAppDataFolder = C:\ProgramData\
Property(C): LocalAppDataFolder = C:\Users\sondes\AppData\Local\
Property(C): MyPicturesFolder = C:\Users\sondes\Pictures\
Property(C): AdminToolsFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\
Property(C): StartupFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\
Property(C): StartMenuFolder = C:\ProgramData\Microsoft\Windows\Start Menu\
Property(C): DesktopFolder = C:\Users\Public\Desktop\
Property(C): FontsFolder = C:\Windows\Fonts\
Property(C): GPTSupport = 1
Property(C): OLEAdvtSupport = 1
Property(C): ShellAdvtSupport = 1
Property(C): MsiAMD64 = 6
Property(C): Msix64 = 6
Property(C): Intel = 6
Property(C): PhysicalMemory = 4004
Property(C): VirtualMemory = 4561
Property(C): LogonUser = sondes
Property(C): UserSID = S-1-5-21-684317524-2884594227-2894737267-1000
Property(C): UserLanguageID = 7169
Property(C): ComputerName = SONDES-PC
Property(C): SystemLanguageID = 7169
Property(C): ScreenX = 1366
Property(C): ScreenY = 768
Property(C): CaptionHeight = 22
Property(C): BorderTop = 1
Property(C): BorderSide = 1
Property(C): TextHeight = 16
Property(C): TextInternalLeading = 3
Property(C): ColorBits = 32
Property(C): TTCSupport = 1
Property(C): Time = 22:17:27
Property(C): Date = 15/03/36
Property(C): MsiNetAssemblySupport = 4.0.30319.18408
Property(C): MsiWin32AssemblySupport = 6.1.7601.17514
Property(C): RedirectedDllSupport = 2
Property(C): AdminUser = 1
Property(C): Privileged = 1
Property(C): USERNAME = sondes
Property(C): DATABASE = C:\Users\sondes\Desktop\old\Brackets.1.0.Extract.msi
Property(C): OriginalDatabase = C:\Users\sondes\Desktop\old\Brackets.1.0.Extract.msi
Property(C): SOURCEDIR = C:\Users\sondes\Desktop\old\
Property(C): VersionHandler = 5.00
Property(C): UILevel = 5
Property(C): ACTION = INSTALL
Property(C): EXECUTEACTION = INSTALL
=== Logging stopped: 15/03/36  22:17:27 ===
MSI (c) (AC:9C) [22:17:27:041]: Note: 1: 1708 
MSI (c) (AC:9C) [22:17:27:043]: Product: Brackets -- Installation failed.

MSI (c) (AC:9C) [22:17:27:043]: Windows Installer installed the product. Product Name: Brackets. Product Version: 1.0. Product Language: 1033. Manufacturer: brackets.io. Installation success or error status: 1603.

MSI (c) (AC:9C) [22:17:27:111]: Grabbed execution mutex.
MSI (c) (AC:9C) [22:17:27:111]: Cleaning up uninstalled install packages, if any exist
MSI (c) (AC:9C) [22:17:27:116]: MainEngineThread is returning 1603
=== Verbose logging stopped: 15/03/36  22:17:27 ===

I hope you find out something from this long piece of code...
Good luck!

@mobesa
Copy link
Author

mobesa commented Jan 6, 2015

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 ({5594F5B4-B8BD-4165-AEEB-317C324F93BB} to be exact) is the problem here.
I searched the net. Then, I found another issue (#8224) which mentioned the same problem I had: I have StarUML installed on my device... it seems that StarUML is conflicting with Brackets. Might as well uninstall it and start working with Brackets!!!
Well, I would love to close this ticket, but I am not sure if I should; maybe there are other users out there who have StarUML installed and who need Brackets alongside it... So, I think we have to find a well-rounded solution here folks; to remove the conflict between these apps once and for all, somehow...
Cheers!

@redmunds
Copy link
Contributor

redmunds commented Jan 6, 2015

@mobesa So, you saying that if you uninstall StarUML then you can install Brackets?

It looks like there could be an app GUID conflict:

FindRelatedProducts: Found application: {5594F5B4-B8BD-4165-AEEB-317C324F93BB}

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.

@thany
Copy link

thany commented Jan 6, 2015

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.

@redmunds
Copy link
Contributor

redmunds commented Jan 6, 2015

@thany This would allow you to install 1.0 side by side with 1.2 and greater, so there would be no downgrade.

@mobesa
Copy link
Author

mobesa commented Jan 6, 2015

@redmunds : That's right! I uninstalled StarUML and then installed Brackets 1.1 + Extract and all went smoothly...

@thany
Copy link

thany commented Jan 6, 2015

@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).

@peterflynn
Copy link
Member

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...

@peterflynn
Copy link
Member

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.

@peterflynn
Copy link
Member

Also, to clarify two things from earlier in the thread:

  • msiexec /a is not installing as an admin (/a doesn't mean "admin," it means something akin to "don't install, unzip instead" ...and it's tricky to use since it may fail silently if you don't provide other info like a valid target path). To install as an admin, follow these steps (which use /i, not /a).
  • As already noticed here, Windows installers (MSI files) operate off of GUIDs. So searching the Registry for "Brackets" won't help with cases like this since MSIs don't go off of the app name. They only care about the GUID, which can be found via installer logs like the one above.

@mobesa
Copy link
Author

mobesa commented Jan 7, 2015

@peterflynn thanks man! now I can close this issue in peace...

@mobesa mobesa closed this as completed Jan 7, 2015
@redmunds
Copy link
Contributor

redmunds commented Jan 7, 2015

Re-opening. Let's keep this open until we verify that issue has been resolved.

@redmunds redmunds reopened this Jan 7, 2015
@peterflynn peterflynn changed the title Error message on setup: 'A later version of Brackets is already installed. Setup will now exit' Installer error if StarUML installed: 'A later version of Brackets is already installed. Setup will now exit' Jan 7, 2015
@peterflynn
Copy link
Member

Marking tracking since we're waiting on StarUML to release a fix on their end

@peterflynn
Copy link
Member

We should also consider removing our GUID from the source code too though, so it's harder for developers to make this mistake

@lvlirko
Copy link

lvlirko commented Mar 4, 2015

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.

@mobesa
Copy link
Author

mobesa commented Mar 4, 2015

@RHEAm thanks for the suggestion! Glad to hear that you've solved it with an easier method.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests