diff --git a/Wizard/ActionType.cs b/Wizard/ActionType.cs
index 28971be..64d0cf7 100644
--- a/Wizard/ActionType.cs
+++ b/Wizard/ActionType.cs
@@ -64,6 +64,12 @@ public enum ActionType: uint
///
Unset,
+ ///
+ /// Aggregates an Update action with additions for upgrading.
+ /// TODO: Currently is equal to the Update action.
+ ///
+ Upgrade = Update,
+
///
/// To list projects and their statuses. As plain text data.
/// TODO:
diff --git a/Wizard/DllExportCfgTask.cs b/Wizard/DllExportCfgTask.cs
index 7b6b374..0dfb599 100644
--- a/Wizard/DllExportCfgTask.cs
+++ b/Wizard/DllExportCfgTask.cs
@@ -175,7 +175,7 @@ public string Action
typeof(ActionType),
value.Trim(),
//char.ToUpperInvariant(value[0]) + value.Substring(1).ToLowerInvariant()
- true
+ false
);
}
}
diff --git a/Wizard/Executor.cs b/Wizard/Executor.cs
index 844e152..aadf40b 100644
--- a/Wizard/Executor.cs
+++ b/Wizard/Executor.cs
@@ -160,8 +160,7 @@ public void Configure()
case ActionType.Restore:
case ActionType.Update:
case ActionType.Export:
- case ActionType.Unset:
- case ActionType.Default: {
+ case ActionType.Unset: {
Configure(ActivateSln());
break;
}
@@ -170,6 +169,9 @@ public void Configure()
UI.App.RunSTA(new UI.InfoForm(this));
break;
}
+ case ActionType.Default: {
+ return;
+ }
default: throw new NotImplementedException();
}
}
diff --git a/Wizard/Manager.bat b/Wizard/Manager.bat
index 279b505..2ddf991 100644
--- a/Wizard/Manager.bat
+++ b/Wizard/Manager.bat
@@ -81,11 +81,12 @@ echo * Restore - To restore configured DllExport.
echo * Export - To export configured projects data.
echo * Recover - To re-configure projects via predefined/exported data.
echo * Unset - To unset all data from specified projects.
+echo * Upgrade - Aggregates an Update action with additions for upgrading.
echo.
echo -sln-dir {path} - Path to directory with .sln files to be processed.
echo -sln-file {path} - Optional predefined .sln file to process via the restore operations etc.
echo -metalib {path} - Relative path from PkgPath to DllExport meta library.
-echo -dxp-target {path} - Relative path to .target file of the DllExport.
+echo -dxp-target {path} - Relative path to entrypoint wrapper of the main core.
echo -dxp-version {num} - Specific version of DllExport. Where {num}:
echo * Versions: 1.6.0 ...
echo * Keywords:
@@ -98,7 +99,7 @@ echo -proxy {cfg} - To use proxy. The format: [usr[:pwd]@]host[:port]
echo -pkg-link {uri} - Direct link to package from the source via specified URI.
echo -force - Aggressive behavior, e.g. like removing pkg when updating.
echo -mgr-up - Updates this manager to version from '-dxp-version'.
-echo -wz-target {path} - Relative path to .target file of the Wizard.
+echo -wz-target {path} - Relative path to entrypoint wrapper of the main wizard.
echo -pe-exp-list {module} - To list all available exports from PE32/PE32+ module.
echo -eng - Try to use english language for all build messages.
echo -GetNuTool {args} - Access to GetNuTool core. https://github.com/3F/GetNuTool
@@ -276,6 +277,12 @@ if defined dxpVersion (
)
)
+if z%wAction%==zUpgrade (
+ call :dbgprint "Upgrade is on"
+ set /a mgrUp=1
+ set /a kForce=1
+)
+
call :trim dxpPackages
set "dxpPackages=!dxpPackages!\\"
diff --git a/tools/DllExport.nuspec b/tools/DllExport.nuspec
index 9053ef2..532804e 100644
--- a/tools/DllExport.nuspec
+++ b/tools/DllExport.nuspec
@@ -22,6 +22,11 @@
==================================================
DllExport -action Configure -dxp-version $-version-$
==================================================
+
+ To upgrade configured version on v$-version-$:
+ ==================================================
+ DllExport -action Upgrade -dxp-version $-version-$
+ ==================================================
https://3F.github.io/DllExport/releases/latest/manager/