--- trunk/VBDLL/wizard.vb 2012/07/11 14:19:13 4 +++ trunk/VBDLL/wizard.vb 2012/07/16 10:19:21 165 @@ -2793,10 +2793,16 @@ Public Class frmWizard Throw New Exception("Unknown TFTP mode 28158") End If ElseIf ATSGlobals.managedMode = 2 Then +#If HAVE_FRMCONFIGMODE Then ' We are running in unmanaged mode. Update the Destination directory File.Copy(currentImage.objTempdir.BasePath + "\client", ProSupport.strDestDir + "\client", True) File.Copy(currentImage.DesigntimeConfig.DataDirectory + "\client.zpxe", ProSupport.strDestDir + "\client.zpxe", True) MessageBox.Show("Client image files saved in " & ProSupport.strDestDir, "AnywhereTS", MessageBoxButtons.OK, MessageBoxIcon.Asterisk) +#Else + Using log4net.NDC.Push("") + Logging.WizardLog.FatalFormat("Wizard Managed Mode: {0} is no longer supported (to enable this functionality define HAVE_FRMCONFIGMODE)", ATSGlobals.managedMode) + End Using +#End If Else Throw New Exception("Undefinied configuration 77114") End If