File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,8 +32,7 @@ PrivilegesRequiredOverridesAllowed=dialog
3232OutputBaseFilename = {#MyAppName }_{#MyAppVersion}_{#MyAppPlatform}_Setup
3333Compression = lzma
3434SolidCompression = yes
35- WizardStyle = modern
36- ; WizardStyle=modern dynamic
35+ WizardStyle = modern dynamic
3736CloseApplications = force
3837LicenseFile = ..\LICENSE
3938OutputDir = ..\dist
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ public static class DesktopWallpaperFactory
101101 [ Guid ( "C2CF3110-460E-4fc1-B9D0-8A1C0C9CC4BD" ) ]
102102 class DesktopWallpaperCoclass { }
103103
104- private const int REGDB_E_CLASSNOTREG = 0x80040154 ;
104+ private const int REGDB_E_CLASSNOTREG = unchecked ( ( int ) 0x80040154 ) ;
105105
106106 public static IDesktopWallpaper Create ( )
107107 {
@@ -113,8 +113,7 @@ public static IDesktopWallpaper Create()
113113 }
114114 catch ( COMException e ) when ( e . HResult == REGDB_E_CLASSNOTREG && attempt < 3 )
115115 {
116- LoggingHandler . LogMessage ( "Accessing DesktopWallpaper COM class failed, retrying ({1}/3)" ,
117- attempt + 1 ) ;
116+ LoggingHandler . LogMessage ( "Loading DesktopWallpaper class failed, retrying ({0}/3)" , attempt + 1 ) ;
118117 Thread . Sleep ( 1000 ) ;
119118 }
120119 }
You can’t perform that action at this time.
0 commit comments