diff --git a/WebsitePanel.Installer/Sources/Setup.WIXInstaller/Product.wxs b/WebsitePanel.Installer/Sources/Setup.WIXInstaller/Product.wxs
index 866e0a79..c22fd509 100644
--- a/WebsitePanel.Installer/Sources/Setup.WIXInstaller/Product.wxs
+++ b/WebsitePanel.Installer/Sources/Setup.WIXInstaller/Product.wxs
@@ -540,8 +540,8 @@
-
-
+
+
- WSP_ROOT
+ WSP_BASE
@@ -684,9 +684,9 @@
-
-
+
diff --git a/WebsitePanel.Installer/Sources/WebsitePanel.WIXInstaller/CustomAction.cs b/WebsitePanel.Installer/Sources/WebsitePanel.WIXInstaller/CustomAction.cs
index 726ded67..e14b3ce4 100644
--- a/WebsitePanel.Installer/Sources/WebsitePanel.WIXInstaller/CustomAction.cs
+++ b/WebsitePanel.Installer/Sources/WebsitePanel.WIXInstaller/CustomAction.cs
@@ -68,17 +68,6 @@ namespace WebsitePanel.WIXInstaller
Log.WriteEnd("PreFillSettings");
return ActionResult.Success;
}
- private static void TryApllyNewPassword(Session Ctx, string Id)
- {
- var Pass = Ctx[Id];
- if(string.IsNullOrWhiteSpace(Pass))
- {
- Pass = Guid.NewGuid().ToString();
- Ctx[Id] = Pass;
- Ctx[Id + "_CONFIRM"] = Pass;
- Log.WriteInfo("New password was applied to " + Id);
- }
- }
[CustomAction]
public static ActionResult InstallWebFeatures(Session session)
{
@@ -778,6 +767,17 @@ namespace WebsitePanel.WIXInstaller
{
Debugger.Launch();
}
+ private static void TryApllyNewPassword(Session Ctx, string Id)
+ {
+ var Pass = Ctx[Id];
+ if (string.IsNullOrWhiteSpace(Pass))
+ {
+ Pass = Guid.NewGuid().ToString();
+ Ctx[Id] = Pass;
+ Ctx[Id + "_CONFIRM"] = Pass;
+ Log.WriteInfo("New password was applied to " + Id);
+ }
+ }
}
public static class SessionExtension
{
@@ -788,7 +788,6 @@ namespace WebsitePanel.WIXInstaller
WiXSetup.InstallLogListener(new WiXLogFileListener());
}
}
-
internal enum WiXInstallType: byte
{
InstallServer,