Jump to content
Leigh

[FAQ] Installer Errors, Setup Failed & Installer Windows UI Issues

Recommended Posts

If you're getting an error when installing our app(s)/update, please read the following thread for more information. However, if you're getting a Setup Failed error or the Installer Window UI isn't displaying correctly, please read the appropriate instructions below:
  1. Setup Failed Error: If you’re getting the error Setup Failed when trying to install our app(s)/update, please try the following suggestions listed below
  2. Installer Window UI Issues: If you’re not getting Setup Failed when installing our app(s)/update you could be experiencing one of the issues listed below
  3. How to find your SetupUI.log file: If you've tried all of the suggestions listed above, please locate your SetupUI.log file using the steps listed below 
  4. Common errors shown in SetupUI.log: There are several known errors that can be easily spotted within the SetupUI.log file. See below
  5. Microsoft recommends installing this app from the Microsoft store: If you get this error when trying to install our app(s), please try the following suggestion listed below

Share this post


Link to post
Share on other sites
Setup Failed Error
 
If you’re getting an error Setup Failed when trying to install our app/update, please try the below suggestions. They should hopefully allow you to install our app/update without any further issues:
  • Restart your machine and try the installation again
  • Make sure you're installing the latest version of the app ( more information here )
  • Right click the .exe file and select Run as Administrator
  • Make sure your machine isn't in the middle of installing updates - this can lock files needed to install our app/update
  • Make sure your machine is fully updated by checking for any available updates
  • Uninstall any previous versions of the software first using Microsoft's Uninstall Troubleshooter app (some errors have been caused by the installer being unable to remove the previous version)
  • If you’re using an app, such as ImDisk, to modify where your TEMP directory is stored, please disable this and use the default Windows TEMP directory.
  • Make sure you have the correct permissions to add/modify or remove folders within C:\Program Files\
  • Check Event Viewer to see if any additional information is provided regarding the error ( more information here )

Back to top

Share this post


Link to post
Share on other sites
Installer Window UI Issues
 
If you’re not getting Setup Failed when installing our app/update you could be experiencing one of the below issues:
  • If you’re not seeing the installer Window UI at all, please read the Affinity Installer window not showing FAQ for more information
  • If you’re seeing the Installer Windows UI but it only shows the App’s name, please download and install the latest versions of the Windows .NET Framework from Microsoft's website - for more information about Affinity apps and .NET, please read this FAQ.
  • If you're seeing the message Exception: Image loading failed, make sure you haven't renamed the downloaded .exe's filename to include accented characters. Removing the accented characters from the filename will resolve the issue. 

Back to top

Share this post


Link to post
Share on other sites

How to find your SetupUI.log file

If you’ve tried all of the above and you’re still having issues, please start a new thread and attach your Setup log files - this will allow us to look into this further for you. You can access the setup log files by navigating to %TEMP%\AffinitySetup\ from the Run Dialog. You will want the folder with the latest Created/Modified Date. In this folder you will have two .log files: Setup.log & SetupUI.log.

Back to top

Share this post


Link to post
Share on other sites

Common errors shown in SetupUI.log

There are several known errors that can be easily spotted within the SetupUI.log file that might allow you to resolve your own issue. The SetupUI.log file can be opened in a text editor, such as NotePad, to be viewed. 

The Installer has Insufficient Privileges to Access this Directory

If you see the below error in the middle of your log file, please restart your machine and try installing Affinity again. 

+Error: The installer has insufficient privileges to access this directory: C:\Program Files\Affinity\<APP Name>.  The installation cannot continue.  Log on as administrator or contact your system administrator.
+Info: Action ended 18:20:43: InstallFinalize. Return value 3.

FastPictureViewer Codec Pack

We know that it's possible for the FastPictureViewer Codec Pack to cause our app to crash on startup, but it's also possible for it to cause .NET to crash and stop our installer from working. If you see the below information at the bottom of your log file, please temporarily remove or Install version 1.4.7.6 or later and try installing Affinity again.

Message: Operation caused an invalid state.
StackTrace:
at System.Windows.Media.Imaging.BitmapDecoder.SetupDecoderFromUriOrStream(Uri uri, Stream stream, BitmapCacheOption cacheOption, Guid& clsId, Boolean& isOriginalWritable, Stream& uriStream, UnmanagedMemoryStream& unmanagedMemoryStream, SafeFileHandle& safeFilehandle)
at System.Windows.Media.Imaging.BitmapDecoder.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy, Boolean insertInDecoderCache)
at System.Windows.Media.Imaging.BitmapImage.FinalizeCreation()
at System.Windows.Media.Imaging.BitmapImage.EndInit()
at System.Windows.Media.Imaging.BitmapImage..ctor(Uri uriSource, RequestCachePolicy uriCachePolicy)
at System.Windows.Media.Imaging.BitmapImage..ctor(Uri uriSource)

Corrupted Colour Profile

Sometimes a colour profile assigned to your display(s) can be corrupted and cause .NET to crash and stop our installer from working. If you see the below information at the bottom of your log file, please try temporarily unticking Use my settings for this device in Colour Management and try installing Affinity again.

Message: The operation completed successfully. (Exception from HRESULT: 0x80070000)
StackTrace:
at System.Windows.Media.ColorContext.FromRawBytes(Byte[] data, Int32 dataLength, Boolean dontThrowException)
at System.Windows.Media.ColorContext.FromStream(Stream stm, String filename)
at System.Windows.Media.ColorContext.Initialize(Uri profileUri, Boolean isStandardProfileUriNotFromUser)
at System.Windows.Media.ColorContext..ctor(PixelFormat pixelFormat)
at System.Windows.Media.Imaging.BitmapImage.FinalizeCreation()
at System.Windows.Media.Imaging.BitmapImage.EndInit()
at System.Windows.Media.Imaging.BitmapImage..ctor(Uri uriSource, RequestCachePolicy uriCachePolicy)
at System.Windows.Media.Imaging.BitmapImage..ctor(Uri uriSource)

If you have this issue and the above solution works, please create a new thread in the relevant forum and include your colour profile(s) - this will allow us to look into this further for you.

Could Not Find Method

+  Message: Could not find method 'Void System.Diagnostics.Tracing.FrameworkEventSource.BeginGetResponse(System.Object, System.String)'.

This error is caused by .NET framework. Please download and install the latest version of the Windows .NET Framework from Microsoft's website here.

Share this post


Link to post
Share on other sites

Microsoft recommends installing this app from the Microsoft store

If you've purchased Affinity from the Affinity Store you may get the below message when trying to install the app:

Quote

Microsoft recommends installing this app from the Microsoft store

To stop this message from appearing when trying to install our apps, please read the following support article on Microsoft's website: 

https://support.microsoft.com/help/4458596/windows-10-change-your-app-recommendation-settings

Share this post


Link to post
Share on other sites

×
×
  • Create New...

Important Information

Please note the Annual Company Closure section in the Terms of Use. These are the Terms of Use you will be asked to agree to if you join the forum. | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.