-Bacula - Windows Version Disclaimer\r
-===================================\r
-\r
-Please note, only the Win32 Client (File daemon) is supported.  All the\r
-other components (Director, Storage daemon, their utilities) are provided\r
-on an "as is" basis.  Unfortunately, they are neither properly tested,   \r
-documented, or supported.  This means that we cannot ensure that bug reports\r
-against the non-supported components will be fixed.  For them to be supported, \r
-we need three things from the Open Source community:\r
-\r
-1. Full documentation of the Windows particularities of the Director,\r
-   the Storage daemon, and their utilities in the Bacula manual.\r
-\r
-2. Someone to periodically and on demand run the regressions tests.\r
-\r
-3. One or more developers who are willing to accept and correct Windows\r
-   related bugs as they occur.\r
-\r
-4. A certain Win32 community that will respond to user support questions\r
-   on the bacula-users list.  (This is probably already fullfilled). \r
-             \r
-\r
-Bacula - Windows Version Notes\r
-==============================\r
-\r
-These notes highlight how the Windows version of Bacula differs from the \r
-other versions.  It also provides any notes additional to the documentation.\r
-\r
-For detailed documentation on using, configuring and troubleshooting Bacula,\r
-please consult the installed documentation or the online documentation at\r
-http://www.bacula.org/?page=documentation.\r
-\r
-\r
-Start Menu Items\r
-----------------\r
-A number of menu items have been created in the Start menu under All Programs\r
-in the Bacula submenu.  They may be selected to edit the configuration files,\r
-view the documentation or run one of the console or utility programs.  The \r
-choices available will vary depending on the options you chose to install.\r
-\r
-\r
-File Locations\r
---------------\r
-The programs and documentation are installed in the directory \r
-"C:\Program Files\Bacula" unless a different directory was selected during\r
-installation.  The configuration and other application data files are in the\r
-"C:\Documents and Settings\All Users\Application Data\Bacula" directory.\r
-\r
-Code Page Problems\r
--------------------\r
-Please note that Bacula expects the contents of the configuration files to be \r
-written in UTF-8 format. Some translations of "Application Data" have accented\r
-characters, and apparently the installer writes this translated data in the\r
-standard Windows code page coding.  This occurs for the Working Directory, and \r
-when it happens the daemon will not start since Bacula cannot find the directory.\r
-The workaround is to manually edit the appropriate conf file and ensure that it\r
-is written out in UTF-8 format.\r
-\r
-The conf files can be edited with any UTF-8 compatible editor, or on most \r
-modern Win32 machines, you can edit them with notepad, then choose UTF-8\r
-output encoding before saving them.\r
-\r
-\r
-Storage and Director Services\r
------------------------------\r
-These services are still considered experimental in this release.  Use of \r
-them should be approached with caution since they haven't received the\r
-same level of extensive usage and testing that the File service has \r
-received.\r
-\r
-Storage Device Names\r
---------------------\r
-There is a utility installed called scsilist.exe which displays the installed \r
-devices, their physical address and their device name.  A link to it is \r
-created in the Bacula menu when the Storage service is installed.\r
-\r
-Changer and Tape device names in Windows are Changer0, Changer1, etc and \r
-Tape0, Tape1, etc.  If there isn't a device driver loaded for the Changer \r
-then you need to use the address <Port>:<Bus>:<Target>:<Lun>.  Port is the \r
-SCSI Adapter Number, Bus is the Bus Number on the adapter (usually 0 since \r
-most adapters only have one bus), Target is the device's Target Device ID, \r
-Lun is the Logical Unit Number.\r
- \r
-You must specify DeviceType = tape in the Device resource in bacula-sd.conf \r
-since auto detection of device type doesn't work at the present time.\r
+
+This newinstaller directory is not used or implemented
+
+
+
+Bacula - Windows Version Disclaimer
+===================================
+
+Please note, only the Win32 Client (File daemon) is supported.  All the
+other components (Director, Storage daemon, their utilities) are provided
+on an "as is" basis.  Unfortunately, they are neither properly tested,   
+documented, or supported.  This means that we cannot ensure that bug reports
+against the non-supported components will be fixed.  For them to be supported, 
+we need three things from the Open Source community:
+
+1. Full documentation of the Windows particularities of the Director,
+   the Storage daemon, and their utilities in the Bacula manual.
+
+2. Someone to periodically and on demand run the regressions tests.
+
+3. One or more developers who are willing to accept and correct Windows
+   related bugs as they occur.
+
+4. A certain Win32 community that will respond to user support questions
+   on the bacula-users list.  (This is probably already fullfilled). 
+             
+
+Bacula - Windows Version Notes
+==============================
+
+These notes highlight how the Windows version of Bacula differs from the 
+other versions.  It also provides any notes additional to the documentation.
+
+For detailed documentation on using, configuring and troubleshooting Bacula,
+please consult the installed documentation or the online documentation at
+http://www.bacula.org/?page=documentation.
+
+
+Start Menu Items
+----------------
+A number of menu items have been created in the Start menu under All Programs
+in the Bacula submenu.  They may be selected to edit the configuration files,
+view the documentation or run one of the console or utility programs.  The 
+choices available will vary depending on the options you chose to install.
+
+
+File Locations
+--------------
+The programs and documentation are installed in the directory 
+"C:\Program Files\Bacula" unless a different directory was selected during
+installation.  The configuration and other application data files are in the
+"C:\Documents and Settings\All Users\Application Data\Bacula" directory.
+
+Code Page Problems
+-------------------
+Please note that Bacula expects the contents of the configuration files to be 
+written in UTF-8 format. Some translations of "Application Data" have accented
+characters, and apparently the installer writes this translated data in the
+standard Windows code page coding.  This occurs for the Working Directory, and 
+when it happens the daemon will not start since Bacula cannot find the directory.
+The workaround is to manually edit the appropriate conf file and ensure that it
+is written out in UTF-8 format.
+
+The conf files can be edited with any UTF-8 compatible editor, or on most 
+modern Win32 machines, you can edit them with notepad, then choose UTF-8
+output encoding before saving them.
+
+
+Storage and Director Services
+-----------------------------
+These services are still considered experimental in this release.  Use of 
+them should be approached with caution since they haven't received the
+same level of extensive usage and testing that the File service has 
+received.
+
+Storage Device Names
+--------------------
+There is a utility installed called scsilist.exe which displays the installed 
+devices, their physical address and their device name.  A link to it is 
+created in the Bacula menu when the Storage service is installed.
+
+Changer and Tape device names in Windows are Changer0, Changer1, etc and 
+Tape0, Tape1, etc.  If there isn't a device driver loaded for the Changer 
+then you need to use the address <Port>:<Bus>:<Target>:<Lun>.  Port is the 
+SCSI Adapter Number, Bus is the Bus Number on the adapter (usually 0 since 
+most adapters only have one bus), Target is the device's Target Device ID, 
+Lun is the Logical Unit Number.
+ 
+You must specify DeviceType = tape in the Device resource in bacula-sd.conf 
+since auto detection of device type doesn't work at the present time.
 
 ;
 ; Kern Sibbald April 2009
 ; Correct some Win64 install problems
-;
-; Version $Id: winbacula.nsi 7074 2008-05-31 18:43:21Z kerns $
+; It is mind boggling how many lines of this insane scripting language
+;   have been written with absolutely no comments
 ;
 ; Command line options:
 ;
   StrCpy $ConfigMonitorName              "$HostName-mon"
   ;StrCpy $ConfigMonitorPassword
 
+; PLUGINSDIR refers to temporary helper programs and not Bacula plugins!
   InitPluginsDir
   File "/oname=$PLUGINSDIR\openssl.exe"  "${SRC_DIR}\openssl.exe"
   File "/oname=$PLUGINSDIR\ssleay32-0.9.8.dll" "${SRC_DIR}\ssleay32-0.9.8.dll"
 
   SetPluginUnload alwaysoff
 
+; Set client password
   nsExec::Exec '"$PLUGINSDIR\openssl.exe" rand -base64 -out $PLUGINSDIR\pw.txt 33'
   pop $R0
   ${If} $R0 = 0
 
   SetPluginUnload manual
 
+; Set monitor password
   nsExec::Exec '"$PLUGINSDIR\openssl.exe" rand -base64 -out $PLUGINSDIR\pw.txt 33'
   pop $R0
   ${If} $R0 = 0
   File "..\..\..\LICENSE"
   Delete /REBOOTOK "$INSTDIR\License.txt"
 
+; Output a series of SED commands to configure the .conf file(s)
   FileOpen $R1 $PLUGINSDIR\config.sed w
   FileWrite $R1 "s;@VERSION@;${VERSION};g$\r$\n"
   FileWrite $R1 "s;@DATE@;${__DATE__};g$\r$\n"
 
   File "${SRC_DIR}\bacula-fd.exe"
 
-    File "/oname=$PLUGINSDIR\bacula-fd.conf" "bacula-fd.conf.in"
+  File "/oname=$PLUGINSDIR\bacula-fd.conf" "bacula-fd.conf.in"
 
-    StrCpy $0 "$INSTDIR"
-    StrCpy $1 bacula-fd.conf
-    Call ConfigEditAndCopy
+  StrCpy $0 "$INSTDIR"
+  StrCpy $1 bacula-fd.conf
+  Call ConfigEditAndCopy
 
   StrCpy $0 bacula-fd
   StrCpy $1 "File Service"
 
 SectionEnd
 
+; Essentially deleted because wxconsole is not implemented on Win64
 Section "Graphical Console" SecWxConsole
   SectionIn 1 2 3
   
   SetOutPath "$INSTDIR"
 
-;  Call InstallCommonFiles
-;!if "${BUILD_TOOLS}" == "MinGW64"
-;  File "${SRC_DIR}\wxbase28_gcc_bacula.dll"
-;  File "${SRC_DIR}\wxmsw28_core_gcc_bacula.dll"
-;!endif
-
-;  File "${SRC_DIR}\bwx-console.exe"
-
-;    File "/oname=$PLUGINSDIR\bwx-console.conf" "bwx-console.conf.in"
-;    StrCpy $0 "$INSTDIR"
-;    StrCpy $1 bwx-console.conf
-;    Call ConfigEditAndCopy
-
-  ; Create Start Menu entry
-;  CreateShortCut "$SMPROGRAMS\Bacula\bwx-console.lnk" "$INSTDIR\bwx-console.exe" '-c "$INSTDIR\bwx-console.conf"' "$INSTDIR\bwx-console.exe" 0
-;  CreateShortCut "$SMPROGRAMS\Bacula\Configuration\Edit Graphical Console Configuration.lnk" "write.exe" '"$INSTDIR\bwx-console.conf"'
 SectionEnd
 
 SectionGroupEnd
 
 LangString DESC_SecFileDaemon ${LANG_ENGLISH} "Install Bacula File Daemon on this system."
 LangString DESC_SecConsole ${LANG_ENGLISH} "Install command console program on this system."
-;LangString DESC_SecWxConsole ${LANG_ENGLISH} "Install graphical console program on this system."
-;LangString DESC_SecDocPdf ${LANG_ENGLISH} "Install documentation in Acrobat format on this system."
-;LangString DESC_SecDocHtml ${LANG_ENGLISH} "Install documentation in HTML format on this system."
 
 LangString TITLE_ConfigPage1 ${LANG_ENGLISH} "Configuration"
 LangString SUBTITLE_ConfigPage1 ${LANG_ENGLISH} "Set installation configuration."
 !InsertMacro MUI_FUNCTION_DESCRIPTION_BEGIN
   !InsertMacro MUI_DESCRIPTION_TEXT ${SecFileDaemon} $(DESC_SecFileDaemon)
   !InsertMacro MUI_DESCRIPTION_TEXT ${SecConsole} $(DESC_SecConsole)
-;  !InsertMacro MUI_DESCRIPTION_TEXT ${SecWxConsole} $(DESC_SecWxConsole)
-;  !InsertMacro MUI_DESCRIPTION_TEXT ${SecDocPdf} $(DESC_SecDocPdf)
-;  !InsertMacro MUI_DESCRIPTION_TEXT ${SecDocHtml} $(DESC_SecDocHtml)
 !InsertMacro MUI_FUNCTION_DESCRIPTION_END
 
 ; Uninstall section
   ${If} ${SectionIsSelected} ${SecConsole}
     IntOp $R0 $R0 | ${ComponentTextConsole}
   ${EndIf}
-;  ${If} ${SectionIsSelected} ${SecWxConsole}
-;    IntOp $R0 $R0 | ${ComponentGUIConsole}
-;  ${EndIf}
-;  ${If} ${SectionIsSelected} ${SecDocPdf}
-;    IntOp $R0 $R0 | ${ComponentPDFDocs}
-;  ${EndIf}
-;  ${If} ${SectionIsSelected} ${SecDocHtml}
-;    IntOp $R0 $R0 | ${ComponentHTMLDocs}
-;  ${EndIf}
   Exch $R0
 FunctionEnd
 
     WriteINIStr "$PLUGINSDIR\WriteTemplates.ini" "Field 2" State 1
     DeleteINIStr "$PLUGINSDIR\WriteTemplates.ini" "Field 2" Flags
     WriteINIStr "$PLUGINSDIR\WriteTemplates.ini" "Field 3" State "C:\$ConfigClientName.conf"
-;    WriteINIStr "$PLUGINSDIR\WriteTemplates.ini" "Field 5" Flags REQ_SAVE|FILE_EXPLORER|WARN_IF_EXIST
   ${EndIf}
 
 
       !InsertMacro UnselectSection ${SecConsole}
       !InsertMacro ClearSectionFlag ${SecConsole} ${SF_RO}
     ${EndIf}
-;    IntOp $R1 $PreviousComponents & ${ComponentGUIConsole}
-;    ${If} $R1 <> 0
-;      !InsertMacro SelectSection ${SecWxConsole}
-;      !InsertMacro SetSectionFlag ${SecWxConsole} ${SF_RO}
-;    ${Else}
-;      !InsertMacro UnselectSection ${SecWxConsole}
-;      !InsertMacro ClearSectionFlag ${SecWxConsole} ${SF_RO}
-;    ${EndIf}
-;    IntOp $R1 $PreviousComponents & ${ComponentPDFDocs}
-;    ${If} $R1 <> 0
-;      !InsertMacro SelectSection ${SecDocPdf}
-;      !InsertMacro SetSectionFlag ${SecDocPdf} ${SF_RO}
-;    ${Else}
-;      !InsertMacro UnselectSection ${SecDocPdf}
-;      !InsertMacro ClearSectionFlag ${SecDocPdf} ${SF_RO}
-;    ${EndIf}
-;    IntOp $R1 $PreviousComponents & ${ComponentHTMLDocs}
-;    ${If} $R1 <> 0
-;      !InsertMacro SelectSection ${SecDocHtml}
-;      !InsertMacro SetSectionFlag ${SecDocHtml} ${SF_RO}
-;    ${Else}
-;      !InsertMacro UnselectSection ${SecDocHtml}
-;      !InsertMacro ClearSectionFlag ${SecDocHtml} ${SF_RO}
-;    ${EndIf}
   ${EndIf}
 FunctionEnd
 
     ${Else}
       !InsertMacro ClearSectionFlag ${SecConsole} ${SF_BOLD}
     ${EndIf}
-;    IntOp $R1 $NewComponents & ${ComponentGUIConsole}
-;    ${If} $R1 <> 0
-;      !InsertMacro SetSectionFlag ${SecWxConsole} ${SF_BOLD}
-;    ${Else}
-;      !InsertMacro ClearSectionFlag ${SecWxConsole} ${SF_BOLD}
-;    ${EndIf}
-;    IntOp $R1 $NewComponents & ${ComponentPDFDocs}
-;    ${If} $R1 <> 0
-;      !InsertMacro SetSectionFlag ${SecDocPdf} ${SF_BOLD}
-;    ${Else}
-;      !InsertMacro ClearSectionFlag ${SecDocPdf} ${SF_BOLD}
-;    ${EndIf}
-;    IntOp $R1 $NewComponents & ${ComponentHTMLDocs}
-;    ${If} $R1 <> 0
-;      !InsertMacro SetSectionFlag ${SecDocHtml} ${SF_BOLD}
-;    ${Else}
-;      !InsertMacro ClearSectionFlag ${SecDocHtml} ${SF_BOLD}
-;    ${EndIf}
   ${EndIf}
 
   GetDlgItem $R0 $HWNDPARENT 1