AS 7.0.1006 broke completely my installation

Go To Last Post
11 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The web installer of AS7.0.1006, when upgrading the previous version .943, showed a strange error, then I tried reinstalling.

No luck, same error all the time, on AVR8 package. Inspecting log file I find

...

Property(S): ProductToBeRegistered = 1
MSI (s) (80:6C) [14:34:18:524]: Note: 1: 1708
MSI (s) (80:6C) [14:34:18:524]: Note: 1: 2205 2:  3: Error
MSI (s) (80:6C) [14:34:18:524]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1708
MSI (s) (80:6C) [14:34:18:524]: Note: 1: 2205 2:  3: Error
MSI (s) (80:6C) [14:34:18:524]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709
MSI (s) (80:6C) [14:34:18:524]: Product: AVR8 Device Support -- Installation failed.

...

So I tried with the full installer, just in case anything went wrong on downloading. Same results, even with an uninstall, system registry clean and reinstall.

I thought then to try reinstalling .943, and now I have that same error even with it.

As a last resort, I decided for a system restore, but even after that I still had no AS7 valid install on system.

 

Looks like that as for now, this machine won't install again any AS7 instance, unless I manage that DB error(?) to be fixed... Luckily I have AS7 installed on another work machine (which I won't update anymore even with a gun at my head), or I'd have to stop working at all!

Any ideas before I curse AS7 developers? :)

 

Update

The error above appears to be connected only to visualization, cause by installer. The most interesting error in the (immensely) long log seems to be this one

Begin PerformPacksInstallActions
Expected atpackcli.exe in path C:\Program Files (x86)\Atmel\Studio\7.0\atpackmanager\atpackcli.exe, but missing. Did your installation succeeded?
CustomAction PerformPacksInstallActions returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 18.56.47: PerformPacksInstallActions. Return value 3.
Action ended 18.56.47: INSTALL. Return value 3.

Since my log ends with

MSI (c) (68:D8) [18:56:48:050]: MainEngineThread is returning 1603
=== Verbose logging stopped: 01/07/2016  18.56.48 ===

Now, code 1603 in Windows Installer Error Messages https://msdn.microsoft.com/en-us...(v=vs.85).aspx is described as

A system restart may be required because the file being updated is also currently in use. Users may be given the opportunity to avoid some system restarts by using the FilesInUse Dialog or the MsiRMFilesInUse Dialog. For more information, see System Reboots and Logging of Reboot Requests.

Hmm... that doesn't look like a good reason to kill installer!

 

Note that things don't change disabling antivirus and Windows Defender

 

This topic has a solution.
Last Edited: Mon. Jul 4, 2016 - 04:55 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Strangely enough, I had the same error. I moved the setup file to C:/ and ran as admin and it worked :|

 

Other things for me broke, BUT IT INSTALLED :D

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have the same problem and I can't resolve it. I tried to do this what @ryanafleming advises, but problem still occurs.

This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The error indicates that the IDE installation is corrupt chances are the registry keys are messed up.

First, go to a command prompt and run the following command

wmic product where "vendor like 'Atmel%'" get Name, Version

 

This will list the product which are part of the machine and comes from Atmel. If it lists either 'Atmel Studio IDE 7.0' [Don't mistake it for Atmel Studio 7.0] or 'Atmel Studio Development Environment' chances are component is not uninstalled properly.

In order to uninstall the above component use Microsoft Fix It or a third party utility to uninstall the above components from the system. It is observed that some of the customers have used a third party utility Revo Uninstaller Pro to uninstall the above component and scan with advanced mode to remove the left over registry entries of the product. 

Note:In order for Revo Uninstaller to list the above components go to Tools->Options->Show System components and check it.

After the uninstall of the above component and clean up of registry to verify whether it succeeded run the following command again.

wmic product where "vendor like 'Atmel%'" get Name, Version

 

If the clean up was successful it should not list 'Atmel Studio IDE 7.0' or 'Atmel Studio Development Environment'.

Now you can install Atmel Studio.

Last Edited: Mon. Jul 4, 2016 - 06:39 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks @charla for the explanation, that helped resolving, although it's been an exquisite massacre :)

The WMI console found the guilty remnants, and showed them in the list as

Atmel Studio IDE 7.0             7.0.790

Fine, then I tried Microsoft Fix It, that spotted it again. Selected it from list, and asked to repair: only part of it could be repaired.

Even relaunching Fix It, nothing more could be cleaned, and WMI console kept showing the above as still there.

 

I then tried installing Revo Uninstaller, and it wasn't able to see the leftovers to clean. Too bad.

I tried even IObit uninstaller, still not a chance.

 

I resorted to regedit then, after saving a restore point (just in case it could help...)

I looked for the strings "Atmel Studio IDE", and funny enough I had references only to old versions, prior to .790; trying to seek further, even regedit started crashing repeatedly (I presume then the registry is now that badly malformed, after uninstalling AS7 .943). Since I'm old, stubborn and faint at heart as a charging bull, deleted all of them, as far as I could go.

Crossed my fingers and re-run WMI console: this time AS IDE had disappeared.

Then I launched .1006 full installer from disk, and this time it got reinstalled... resolved.

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I think in Revo Uninstaller Pro if you go to Tools->Options->Show System components it would list Atmel Studio IDE 7.0 and after uninstalling it. If you have scanned using Revo uninstaller Pro with Advanced mode it would have listed the left over registry keys for the product which could be deleted.

 

Last Edited: Mon. Jul 4, 2016 - 06:34 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I'm sure it's able to do many more things, unfortunately well hidden. It has one of the most awkward user interfaces I've used in 2016.

Now that i've just uninstalled it (I hope) I'll send my compliments to developers! laugh

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I also had the error after having uninstalled Atmel Studio 7.0.582.

Unfortunately, it messed up the registry, such that I could not use the "wmic" program (it just does not anything for an eternity).

After some hours of searching, I found that Microsoft tool for fixing install/uninstall issues:

 

https://support.microsoft.com/en-us/help/17588/fix-problems-that-block-programs-from-being-installed-or-removed

 

Using that is easy and the steps described above very similar:

- Choose "Problems with uninstalling" (or something like that)

- Find "Atmel Studio..." (see post from charla)

- Apply the corrections

 

After that, I was able to install AS 7.0.1006 sucessfully.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

After a few days of searching, I found your answer, according to your description, I solved the problem. Thanks you

Go for it

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

To me (WIN 10 x64) only Revo Uninstaller helped. Microsoft Fix utility can find the wrong Studio installments, but couldn't fix them.
 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

When I get this problem  I put a new copy of common.dll in this dir 

C:\Program Files (x86)\Atmel\Studio\7.0\atbackend

You must be admin to make this happen.

PC

Things should be as simple as possible but no simpler