Wix installation in silent mode failed - cmd

I am trying to install wix.exe through cmd in silent mode , but getting following error in log. Please help to find the reason.
command used : msiexec /i wix.exe /qn /l*v MyLogFile.txt
=== Verbose logging started: 2/28/2019 22:10:43 Build type: SHIP UNICODE 5.00.10011.00 Calling process: C:\WINDOWS\system32\msiexec.exe ===
MSI (c) (84:98) [22:10:43:033]: Resetting cached policy values
MSI (c) (84:98) [22:10:43:033]: Machine policy value 'Debug' is 0
MSI (c) (84:98) [22:10:43:033]: ******* RunEngine:
******* Product: wix.exe
******* Action:
******* CommandLine: **********
MSI (c) (84:98) [22:10:43:036]: Client-side and UI is none or basic: Running entire install on the server.
MSI (c) (84:98) [22:10:43:036]: Grabbed execution mutex.
MSI (c) (84:98) [22:10:43:537]: Cloaking enabled.
MSI (c) (84:98) [22:10:43:537]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (84:98) [22:10:43:545]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (28:48) [22:10:43:589]: Running installation inside multi-package transaction F:\softwares\wix.exe
MSI (s) (28:48) [22:10:43:593]: Grabbed execution mutex.
MSI (s) (28:7C) [22:10:43:601]: Resetting cached policy values
MSI (s) (28:7C) [22:10:43:601]: Machine policy value 'Debug' is 0
MSI (s) (28:7C) [22:10:43:601]: ******* RunEngine:
******* Product: F:\softwares\wix.exe
******* Action:
******* CommandLine: **********
MSI (s) (28:7C) [22:10:43:605]: Note: 1: 2203 2: F:\softwares\wix.exe 3: -2147286960
MSI (s) (28:7C) [22:10:43:605]: MainEngineThread is returning 1620
MSI (s) (28:48) [22:10:43:684]: User policy value 'DisableRollback' is 0
MSI (s) (28:48) [22:10:43:684]: Machine policy value 'DisableRollback' is 0
MSI (s) (28:48) [22:10:43:684]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (28:48) [22:10:43:684]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (28:48) [22:10:43:688]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (28:48) [22:10:43:688]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (84:98) [22:10:43:692]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (84:98) [22:10:43:692]: MainEngineThread is returning 1620
=== Verbose logging stopped: 2/28/2019 22:10:43 ===

Setup.exe, "Anything": Too long for a comment. A setup.exe can be "anything" - made using many different tools and feature many different technologies - and there is no general rule for how to install them silently.
Existing Answers: I can provide some links as a start, until we know more about what this file really is:
How to run an installation in /silent mode with adjusted settings
Silent run installer (.exe) with parameters on Windows
Extract MSI from EXE
Please skim these links, I guess the first one might be the most accessible? Not sure.

Related

How to silently and automatically deploy and install Github CLI on Windows?

The Github CLI repo has an MSI installer for Windows in their latest release. The file I have been trying to install is gh_2.10.1_windows_amd64.msi.
The objective is to be able to install this program remotely across many computers, meaning a silent and autonomous install is necessary.
I have tried to perform a variety of Powershell commands, such as the following
MsiExec.exe /i gh_2.10.1_windows_amd64.msi /qn /L*v "%WINDIR%\Temp\GitHubCLI-Install.log
Or
Start-Process msiexec.exe -Wait -ArgumentList '/i "C:\Users\myUser\Downloads\gh_2.10.1_windows_amd64.msi" /q /le "C:\Install.log"'
And many other various permutations and options that I've been trying from various forum and Stackoverflow posts.
When I try to install it silently, the command executes and seems to immediately finish. However, Github CLI is not installed.
If I run something like:
msiexec /i C:\Users\myUser\Downloads\gh_2.10.1_windows_amd64.msi
A setup GUI appears that I need to click through for it to install.
How can I remotely deploy and install this software by installing through Powershell?
I realize it can also be installed with choco, scoop, winget etc. However, a network connection to these services is not guaranteed at each system. So I need to package the msi and install locally that way in order to be 100% certain the install is completed on the systems.
Edit
It appears running Powershell as administrator allows the install to occur quietly without any input needed. But this requires confirming the UAC prompt. This is not possible for a remote update. What can I do?
After running the following code from one of the answers:
# Check $LASTEXITCODE afterwards.
cmd /c 'MsiExec.exe /i gh_2.10.1_windows_amd64.msi /qn /L*v "%WINDIR%\Temp\GitHubCLI-Install.log'
The install occurred and logs were produced. However, an error occurred. Here is a snippet around the area where the error was produced in the logs:
Property(S): PrimaryVolumeSpaceAvailable = 0
Property(S): PrimaryVolumeSpaceRequired = 0
Property(S): PrimaryVolumeSpaceRemaining = 0
Property(S): INSTALLLEVEL = 1
Property(S): SOURCEDIR = C:\Users\myUser\Downloads\
Property(S): SourcedirProduct = {6E9B412F-42F0-4819-BDFF-3BFE1A28F531}
Property(S): ProductToBeRegistered = 1
MSI (s) (A4:DC) [12:45:54:500]: Note: 1: 1708
MSI (s) (A4:DC) [12:45:54:500]: Note: 1: 2205 2: 3: Error
MSI (s) (A4:DC) [12:45:54:500]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1708
MSI (s) (A4:DC) [12:45:54:500]: Note: 1: 2205 2: 3: Error
MSI (s) (A4:DC) [12:45:54:500]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709
MSI (s) (A4:DC) [12:45:54:500]: Product: GitHub CLI -- Installation failed.
MSI (s) (A4:DC) [12:45:54:500]: Windows Installer installed the product. Product Name: GitHub CLI. Product Version: 2.10.1. Product Language: 1033. Manufacturer: GitHub, Inc.. Installation success or error status: 1603.
MSI (s) (A4:DC) [12:45:54:506]: Deferring clean up of packages/files, if any exist
MSI (s) (A4:DC) [12:45:54:506]: MainEngineThread is returning 1603
MSI (s) (A4:EC) [12:45:54:509]: RESTART MANAGER: Session closed.
MSI (s) (A4:EC) [12:45:54:509]: No System Restore sequence number for this installation.
=== Logging stopped: 2022-05-18 12:45:54 ===
MSI (s) (A4:EC) [12:45:54:512]: User policy value 'DisableRollback' is 0
MSI (s) (A4:EC) [12:45:54:512]: Machine policy value 'DisableRollback' is 0
MSI (s) (A4:EC) [12:45:54:512]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (A4:EC) [12:45:54:512]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (A4:EC) [12:45:54:513]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (A4:EC) [12:45:54:513]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (88:D8) [12:45:54:515]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (88:D8) [12:45:54:517]: MainEngineThread is returning 1603
=== Verbose logging stopped: 2022-05-18 12:45:54 ===
As per some comments below, I have tried to run the above command on a different system, since the 1603 error is probably related to some folder apparently. However, on the different system, it is saying that I have insufficient privileges.
MSI (s) (20:38) [16:48:34:696]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709
MSI (s) (20:38) [16:48:34:696]: Product: GitHub CLI -- Error 1925. You do not have sufficient privileges to complete this installation for all users of the machine. Log on as administrator and then retry this installation.
Error 1925. You do not have sufficient privileges to complete this installation for all users of the machine. Log on as administrator and then retry this installation.
As you state, quiet (unattended, no-UI) installation requires running from an elevated session.
In the context of PowerShell remoting via Invoke-Command -ComputerName, a remote session automatically and invariably runs with elevation - assuming that the target user is a member of the BUILTIN\Administrators group on the remote machine.
Therefore, try something like the following (assumes that the current user is an administrator on the target machines):
Invoke-Command -Computer $computers -ScriptBlock {
# Use of cmd /c ensures *synchronous* execution
# (and also interprets %WINDIR% as intended).
cmd /c 'MsiExec.exe /i gh_2.10.1_windows_amd64.msi /qn /L*v "%WINDIR%\Temp\GitHubCLI-Install.log'
if ($LASTEXITCODE -ne 0) { throw "Installation failed with exit code $LASTEXITCODE." }
}
To run the installer on the local machine - from an elevated session - simply run the command from the script block above directly, i.e.:
# Must run WITH ELEVATION.
# Check $LASTEXITCODE afterwards.
cmd /c 'MsiExec.exe /i gh_2.10.1_windows_amd64.msi /qn /L*v "%WINDIR%\Temp\GitHubCLI-Install.log'
Or in PS 5 (as administrator):
install-package gh_2.10.1_windows_amd64.msi
Unfortunately, the -additionalarguments parameter doesn't work.

MSI Installer throws exit code 3010 and couldn't fix it. Help needed

Uninstalling existing msi - Success
Installing msi - exit with error code 3010
mySoftware.exe /s /v" /quiet /qn REBOOT=ReallySuppress ADDLOCAL="mySoftwareConfig" /L*v "%mySoftwareLogFile%" /clone_wait
How do i prevent my msi throwing error code 3010 which is causing my successor code pause and exit.
Attached the MSI Log extract
MSI (s) (78:A4) [16:42:14:676]: Product: mySoftwareTest -- Configuration completed successfully.
MSI (s) (78:A4) [16:42:14:677]: Windows Installer reconfigured the product. Product Name: mySoftwareTest. Product Version: 4.5 Product Language: 1033. Manufacturer: mySoftwareCompany. Reconfiguration success or error status: 0.
MSI (s) (78:A4) [16:42:14:677]: Value of RebootAction property is
MSI (s) (78:A4) [16:42:14:677]: Windows Installer requires a system restart. Product Name: mySoftwareTest. Product Version: 4.5. Product Language: 1033. Manufacturer: mySoftwareCompany. Type of System Restart: 2. Reason for Restart: 1.
MSI (s) (78:A4) [16:42:14:677]: Product: mySoftwareTest. Restart required. The installation or update for the product required a restart for all changes to take effect. The restart was deferred to a later time.
MSI (s) (78:A4) [16:42:14:744]: Deferring clean up of packages/files, if any exist
MSI (s) (78:A4) [16:42:14:744]: MainEngineThread is returning 3010
MSI (s) (78:E8) [16:42:14:801]: RESTART MANAGER: Previously shut down applications have been restarted.
MSI (s) (78:E8) [16:42:14:802]: RESTART MANAGER: Session closed.
MSI (s) (78:E8) [16:42:14:802]: No System Restore sequence number for this installation.
=== Logging stopped: 4/1/2020 16:42:14 ===
MSI (s) (78:E8) [16:42:14:814]: User policy value 'DisableRollback' is 0
MSI (s) (78:E8) [16:42:14:814]: Machine policy value 'DisableRollback' is 0
MSI (s) (78:E8) [16:42:14:814]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (78:E8) [16:42:14:814]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (78:E8) [16:42:14:819]: Note: 1: 2265 2: 3: -2147287035
MSI (s) (78:E8) [16:42:14:819]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (78:E8) [16:42:14:822]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (s) (78:E8) [16:42:14:824]: Destroying RemoteAPI object.
MSI (s) (78:DC) [16:42:14:824]: Custom Action Manager thread ending.
MSI (c) (54:CC) [16:42:14:825]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (54:CC) [16:42:14:826]: MainEngineThread is returning 3010
MSI (c) (54:48) [16:42:14:832]: RESTART MANAGER: Previously shut down applications have been restarted.
MSI (c) (54:48) [16:42:14:833]: RESTART MANAGER: Session closed.
=== Verbose logging stopped: 4/1/2020 16:42:14 ===
Need to reply as an answer - will evolve it if need be.
First please check and report what is under: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback
Are you testing on a virtual? Did you do a reboot and try again?
It says the reboot reason is for "replacing in use files" and the reboot type is "deferred".
The exact files involved should be logged in that log file. First I would check if they involve Windows Services and core runtimes.

How to install setup project to win10

I am using Win10 and developed an app which has setup project(with VS2013). It can be installed to win7 but cannot be installed to win10. Is there any settings on setup projects on the visual studio?
Update:
msiexec log is:
Action start 13:34:52: ExecuteAction.
MSI (c) (38:14) [13:34:52:291]: PROPERTY CHANGE: Adding SECONDSEQUENCE
property. Its value is '1'.
MSI (c) (38:14) [13:34:52:291]: Grabbed execution mutex.
MSI (c) (38:14) [13:34:52:291]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (c) (38:14) [13:34:52:291]: Switching to server: TARGETDIR="C:\Users\xxx\AppData\Local\PathFolder\ProjectSetup\" VSDNETURLMSG="This setup requires the .NET Framework version 4.5.
Please install the .NET Framework and run this setup again. The .NET Framework can be obtained from the web. Would you like to do this now?" VSDNETMSG="This setup requires the .NET Framework version 4.5.
Please install the .NET Framework and run this setup again." CURRENTDIRECTORY="C:\Users\xxx\Winform\ProjectSetup\Release" CLIENTUILEVEL="0" CLIENTPROCESSID="3384" USERNAME="Windows User"
SOURCEDIR="C:\Users\xxx\Winform\ProjectSetup\Release\" ACTION="INSTALL" EXECUTEACTION="INSTALL" ROOTDRIVE="F:\" INSTALLLEVEL="1" SECONDSEQUENCE="1" ADDLOCAL=DefaultFeature
MSI (s) (18:84) [13:34:52:304]: Running installation inside multi-package transaction C:\Users\xxx\Winform\ProjectSetup\Release\ProjectSetup.msi
MSI (s) (18:84) [13:34:52:304]: Grabbed execution mutex.
MSI (s) (18:6C) [13:34:52:307]: MainEngineThread is returning 1603
MSI (s) (18:84) [13:34:52:313]: User policy value 'DisableRollback' is 0
MSI (s) (18:84) [13:34:52:313]: Machine policy value 'DisableRollback' is 0
MSI (s) (18:84) [13:34:52:313]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (18:84) [13:34:52:313]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (18:84) [13:34:52:316]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (18:84) [13:34:52:316]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (38:14) [13:34:52:317]: Back from server. Return value: 1603
MSI (c) (38:14) [13:34:52:317]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (38:14) [13:34:52:317]: PROPERTY CHANGE: Deleting SECONDSEQUENCE property. Its current value is '1'.
Action ended 13:34:52: ExecuteAction. Return value 3.
MSI (c) (38:14) [13:34:52:317]: Doing action: FatalErrorForm
Action 13:34:52: FatalErrorForm.
Action start 13:34:52: FatalErrorForm.
MSI (c) (38:14) [13:34:52:317]: Note: 1: 2235 2: 3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target`, NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = 'FatalErrorForm'
DEBUG: Error 2826: Control Line1 on dialog FatalErrorForm extends beyond the boundaries of the dialog to the right by 3 pixels
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2826. The arguments are: FatalErrorForm, Line1, to the right
DEBUG: Error 2826: Control Line2 on dialog FatalErrorForm extends beyond the boundaries of the dialog to the right by 3 pixels
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2826. The arguments are: FatalErrorForm, Line2, to the right
DEBUG: Error 2826: Control BannerBmp on dialog FatalErrorForm extends beyond the boundaries of the dialog to the right by 3 pixels
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2826. The arguments are: FatalErrorForm, BannerBmp, to the right
Action 13:34:52: FatalErrorForm. Dialog created
Action ended 13:34:53: FatalErrorForm. Return value 1.
Action ended 13:34:53: INSTALL. Return value 3.
MSI (c) (38:14) [13:34:53:273]: Destroying RemoteAPI object.
MSI (c) (38:88) [13:34:53:273]: Custom Action Manager thread ending.
=== Logging stopped: 6.05.2019 13:34:53 ===
MSI (c) (38:14) [13:34:53:280]: Note: 1: 1708
MSI (c) (38:14) [13:34:53:280]: Product: ProjectSetup -- Installation failed.
MSI (c) (38:14) [13:34:53:280]: Windows Installer installed the product. Product Name: ProjectSetup. Product Version: 1.0.0. Product Language: 1033. Manufacturer: PathFolder. Installation success or error status: 1603.
MSI (c) (38:14) [13:34:53:281]: Grabbed execution mutex.
MSI (c) (38:14) [13:34:53:281]: Cleaning up uninstalled install packages, if any exist
MSI (c) (38:14) [13:34:53:282]: MainEngineThread is returning 1603
=== Verbose logging stopped: 6.05.2019 13:34:53 ===

AtmelStudio 7 installation failed for avr8 device support package

I am trying to install AtmelStudio 7 on Windows 7, but the installation stopped after some time. The following error message is shown:
An error occured
AVR8 Device Support
What i tried so far:
I took also a quick look at Atmel-FAQ, but the suggested solution (call as-installer-*.exe SHELLCOMMAND=/NoWeb /NoRefresh /NoRestart) did result in the same error message.
I scanned the log messages, but failed to find something helpful.
Remove all Atmel components and drivers by using the Windows uninstall mechanism
Question
Has anybody an idea how to get AtmelStudio 7 installed?
Update
I solved the installation problem as follows:
The error indicated that the IDE installation is corrupt chances are the registry keys are messed up.
1) 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' or 'Atmel Studio Development Environment' chances are component is not uninstalled properly.
2) In order to clean up the above component use a third party utility(http://www.revouninstaller.com/revo_uninstaller_free_download.html) to remove the above components from the system.
Note: In order for Revo Uninstaller to list the above components go to Tools->Options->Show System components and check it.
3) After the clean up of the above component and registry to verify the clean up 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'.
4) Now you can install Atmel Studio.
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 this 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 and select either 'Atmel Studio IDE 7.0' or 'Atmel Studio Development Environment'
Apply the corrections
After that, I was able to install AS 7.0.1006 sucessfully.
Here I have the same failure on a laptop running win7
When I checked the log files found the following error, but I still have not been able to fix it...
Property(S): INSTALLLEVEL = 1
Property(S): SOURCEDIR = C:\ProgramData\Package Cache\{C327F1B0-01E9-45BB-AE07-AD204C992A31}v7.0.922\
Property(S): SourcedirProduct = {C327F1B0-01E9-45BB-AE07-AD204C992A31}
Property(S): ProductToBeRegistered = 1
MSI (s) (58:48) [13:08:41:248]: Note: 1: 1708
MSI (s) (58:48) [13:08:41:249]: Note: 1: 2205 2: 3: Error
MSI (s) (58:48) [13:08:41:249]: Note: 1: 2228 2: 3: Error 4: SELECT Message FROM Error WHERE Error = 1708
MSI (s) (58:48) [13:08:41:249]: Note: 1: 2205 2: 3: Error
MSI (s) (58:48) [13:08:41:249]: Note: 1: 2228 2: 3: Error 4: SELECT Message FROM Error WHERE Error = 1709
MSI (s) (58:48) [13:08:41:249]: Product: AVR8 Device Support — Installation failed.
MSI (s) (58:48) [13:08:41:250]: Windows Installer installed the product. Product Name: AVR8 Device Support. Product Version: 7.0.922. Product Language: 1033. Manufacturer: Atmel. Installation success or error status: 1603.
MSI (s) (58:48) [13:08:41:255]: Deferring clean up of packages/files, if any exist
MSI (s) (58:48) [13:08:41:255]: MainEngineThread is returning 1603
MSI (s) (58:D4) [13:08:41:259]: RESTART MANAGER: Session closed.
MSI (s) (58:D4) [13:08:41:259]: No System Restore sequence number for this installation.
=== Logging stopped: 7/3/2016 13:08:41 ===
MSI (s) (58:D4) [13:08:41:264]: User policy value 'DisableRollback' is 0
MSI (s) (58:D4) [13:08:41:264]: Machine policy value 'DisableRollback' is 0
MSI (s) (58:D4) [13:08:41:264]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (58:D4) [13:08:41:267]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (s) (58:D4) [13:08:41:268]: Restoring environment variables
MSI (s) (58:D4) [13:08:41:269]: Destroying RemoteAPI object.
MSI (s) (58:50) [13:08:41:269]: Custom Action Manager thread ending.
MSI (c) (FC:64) [13:08:41:282]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (FC:64) [13:08:41:283]: MainEngineThread is returning 1603
=== Verbose logging stopped: 7/3/2016 13:08:41 ===</code><br/>
Maybe these resources helps you.
https://support.microsoft.com/en-us/kb/834484
http://www.avrfreaks.net/comment/1922756#comment-1922756
If anybody knows what's going wrong, please let us konw !
Thanks !
Another issue that happened to me is hanging the installation at
Atmel Studio Development Environment Applying
Details: Initializing environment
And the useful solution is killing the AtmelStudio.exe (*32) process which was apparently running in the background as part of the installation process.
The following link is where I found the solution:
http://www.avrfreaks.net/comment/1918991#comment-1918991
And finally after some seemingly scary steps...!

Visual Studio 2013 creating too many log files in C:\Windows\Temp directory

I have recently installed Visual Studio 2013. After a couple of weeks I found thousands of MSI*.LOG files had been created in my C:\Windows\Temp directory - almost 30Gb worth. Each file is virtually the same and is about 3.1Mb. It appears to be installing the same thing over and over. I can delete all of the files, but they start to reappear almost immediately. I have placed a snippet of one of the files below. I am new to posting on StackOverflow so I'm not sure if I need to put more of the file or all of the file or what. I found 2 other articles on the internet suggesting issues with VS2013 so I have gone through the Repair process as well as uninstalling/reinstalling VS2013. I did notice that after I uninstalled VS2013 that no more files were created, but they started to appear again after I reinstalled VS2013.
I didn't receive any errors during VS2013 installation. I am able to create new solutions/projects and everything seems to compile/build just fine so I am at a loss as to what the problem could be.
Has anyone seen this issue? Is there a resolution that solves the problem? I'm looking for something other than just "clean up the files every night"!
=== Verbose logging started: 12/1/2014 12:29:41 Build type: SHIP UNICODE 5.00.7601.00 Calling process: C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorsvw.exe ===
MSI (c) (9C:18) [12:29:41:414]: Resetting cached policy values
MSI (c) (9C:18) [12:29:41:414]: Machine policy value 'Debug' is 0
MSI (c) (9C:18) [12:29:41:414]: ******* RunEngine:
******* Product: {9C593464-7F2F-37B3-89F8-7E894E3B09EA}
******* Action:
******* CommandLine: **********
MSI (c) (9C:18) [12:29:41:414]: Client-side and UI is none or basic: Running entire install on the server.
MSI (c) (9C:18) [12:29:41:414]: Grabbed execution mutex.
MSI (c) (9C:18) [12:29:41:414]: Cloaking enabled.
MSI (c) (9C:18) [12:29:41:414]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (9C:18) [12:29:41:430]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (84:94) [12:29:41:430]: Running installation inside multi-package transaction {9C593464-7F2F-37B3-89F8-7E894E3B09EA}
MSI (s) (84:94) [12:29:41:430]: Grabbed execution mutex.
MSI (s) (84:DC) [12:29:41:430]: Resetting cached policy values
MSI (s) (84:DC) [12:29:41:430]: Machine policy value 'Debug' is 0
MSI (s) (84:DC) [12:29:41:430]: ******* RunEngine:
******* Product: {9C593464-7F2F-37B3-89F8-7E894E3B09EA}
******* Action:
******* CommandLine: **********
MSI (s) (84:DC) [12:29:41:430]: Machine policy value 'DisableUserInstalls' is 0
MSI (s) (84:DC) [12:29:41:445]: SRSetRestorePoint skipped for this transaction.
MSI (s) (84:DC) [12:29:41:445]: End dialog not enabled
MSI (s) (84:DC) [12:29:41:445]: Original package ==> C:\Windows\Installer\4c8872.msi
MSI (s) (84:DC) [12:29:41:445]: Package we're running from ==> C:\Windows\Installer\4c8872.msi
MSI (s) (84:DC) [12:29:41:461]: APPCOMPAT: Uninstall Flags override found.
MSI (s) (84:DC) [12:29:41:461]: APPCOMPAT: Uninstall VersionNT override found.
MSI (s) (84:DC) [12:29:41:461]: APPCOMPAT: Uninstall ServicePackLevel override found.
MSI (s) (84:DC) [12:29:41:461]: APPCOMPAT: looking for appcompat database entry with ProductCode '{9C593464-7F2F-37B3-89F8-7E894E3B09EA}'.
MSI (s) (84:DC) [12:29:41:461]: APPCOMPAT: no matching ProductCode found in database.
MSI (s) (84:DC) [12:29:41:461]: MSCOREE not loaded loading copy from system32
MSI (s) (84:DC) [12:29:41:461]: Opening existing patch 'C:\Windows\Installer\3007d0.msp'.
MSI (s) (84:DC) [12:29:41:461]: Opening existing patch 'C:\Windows\Installer\2fe190.msp'.
MSI (s) (84:DC) [12:29:41:461]: Opening existing patch 'C:\Windows\Installer\20c3cd.msp'.
MSI (s) (84:DC) [12:29:41:477]: Opening existing patch 'C:\Windows\Installer\20c3cc.msp'.
MSI (s) (84:DC) [12:29:41:477]: SequencePatches starts. Product code: {9C593464-7F2F-37B3-89F8-7E894E3B09EA}, Product version: 12.0.21005, Upgrade code: {015856DA-C69D-3EE0-85EC-270367A147A1}, Product language 1033
MSI (s) (84:DC) [12:29:41:477]: SequencePatches returns success.
MSI (s) (84:DC) [12:29:41:477]: Final Patch Application Order:
MSI (s) (84:DC) [12:29:41:477]: {BFB5154E-888D-4D0E-B377-018AF8B74968} -
MSI (s) (84:DC) [12:29:41:477]: {C823005E-3448-3126-A3E5-9B568096F87A} -
MSI (s) (84:DC) [12:29:41:477]: {1B46DFCA-9504-4ACD-AB79-FBC3C899784E} -
MSI (s) (84:DC) [12:29:41:477]: {1F654618-A065-3008-9415-576BB5F0E42D} -
MSI (s) (84:DC) [12:29:41:477]: Machine policy value 'DisablePatch' is 0
MSI (s) (84:DC) [12:29:41:477]: Machine policy value 'AllowLockdownPatch' is 0
MSI (s) (84:DC) [12:29:41:477]: Machine policy value 'DisableLUAPatching' is 0
MSI (s) (84:DC) [12:29:41:477]: Machine policy value 'DisableFlyWeightPatching' is 0
MSI (s) (84:DC) [12:29:41:477]: Looking for patch transform: RTM.1
DEBUG: Error 2746: Transform RTM.1 invalid for package C:\Windows\Installer\4c8872.msi. Expected product {7781AFF2-D0BE-364B-B18A-D7DBEF8B712D}, found product {9C593464-7F2F-37B3-89F8-7E894E3B09EA}.
MSI (s) (84:DC) [12:29:41:477]: Skipping validation for patch transform #RTM.1. Will not apply because previous transform was invalid
MSI (s) (84:DC) [12:29:41:477]: Looking for patch transform: RTM.2
1: 2746 2: RTM.1 3: C:\Windows\Installer\4c8872.msi 4: {7781AFF2-D0BE-364B-B18A-D7DBEF8B712D} 5: {9C593464-7F2F-37B3-89F8-7E894E3B09EA}
Thanks!
After running repair from the Visual Studio installer the problem seems to be resolved. I lost some gigs, but there's no more daily fillup.
In my case problem started after installing Update 5 for VS 2013 Community Edition. Repairing didn't resolve the problem.
However, I found this post on Heath Stewart's MSDN Blog and it helped in my case.

Resources