@@ -190,7 +190,7 @@ public static ActionResult InstallCA(Session session)
190190 if ( session . CustomActionData [ "INSTMODE" ] != "Install" )
191191 return ActionResult . Success ;
192192
193- ResetProgressBar ( session , 10 ) ;
193+ ResetProgressBar ( session , 11 ) ;
194194
195195 var configurationExists = session . CustomActionData [ "CONFIGURATIONEXISTS" ] == "1" ;
196196 var useExistingConfiguration = session . CustomActionData [ "USEEXISTINGCONFIGURATION" ] == "1" ;
@@ -281,7 +281,10 @@ private static void BackupPluginSettings(Session session, string installFolder)
281281 foreach ( string dir in dirs )
282282 {
283283 string folder = dir . Split ( Path . DirectorySeparatorChar ) . Last ( ) ;
284- DirectoryCopy ( dir , Path . Combine ( tmpConfigs , "plugin_modules" , folder ) , true ) ;
284+ if ( folder != "example-pn" && folder != "shared" )
285+ {
286+ DirectoryCopy ( dir , Path . Combine ( tmpConfigs , "plugin_modules" , folder ) , true ) ;
287+ }
285288 }
286289
287290 // navigation.component.ts
@@ -301,7 +304,7 @@ private static void RestorePluginSettings(Session session, string installFolder)
301304 File . Copy ( Path . Combine ( tmpConfigs , "plugins.routing.ts" ) , dst , true ) ;
302305
303306
304- string [ ] dirs = Directory . GetDirectories ( tmpConfigs ) ;
307+ string [ ] dirs = Directory . GetDirectories ( Path . Combine ( tmpConfigs , "plugin_modules" ) ) ;
305308
306309 foreach ( string dir in dirs )
307310 {
0 commit comments