]> git.sur5r.net Git - bacula/bacula/commitdiff
Update installers
authorKern Sibbald <kern@sibbald.com>
Fri, 16 Oct 2009 15:16:13 +0000 (17:16 +0200)
committerKern Sibbald <kern@sibbald.com>
Fri, 16 Oct 2009 15:16:13 +0000 (17:16 +0200)
bacula/src/win32/newinstaller/Readme.txt
bacula/src/win32/win32_installer/InstallType.ini
bacula/src/win32/win64_installer/InstallType.ini
bacula/src/win32/win64_installer/winbacula.nsi

index 5535f9b8cf0ad7da0bdacb4a57dc068bf95d1c1b..4658ab397599f627c399bb30f93ee29f5e9b071d 100755 (executable)
@@ -1,85 +1,90 @@
-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.
index 62c88cf6da423ab47b950797cdc87494c557aa21..a87189c7272690baf68f95b3ce94ee06b21834fe 100644 (file)
@@ -1,51 +1,51 @@
-[Settings]\r
-NumFields=6\r
-\r
-[Field 1]\r
-Type=Label\r
-Text=This is a new installation.  Please choose the installation type.\r
-Left=0\r
-Right=300\r
-Top=0\r
-Bottom=28\r
-\r
-[Field 2]\r
-Type=GroupBox\r
-Text=Installation Type\r
-Left=0\r
-Right=300\r
-Top=32\r
-Bottom=136\r
-\r
-[Field 3]\r
-Type=RadioButton\r
-Text=Automatic\r
-State=1\r
-Left=6\r
-Right=52\r
-Top=44\r
-Bottom=54\r
-\r
-[Field 4]\r
-Type=RadioButton\r
-Text=Custom\r
-Left=6\r
-Right=44\r
-Top=90\r
-Bottom=100\r
-\r
-[Field 5]\r
-Type=Label\r
-Text=The software will be installed in the default directory "Program Files\\Bacula".  The configuration files will be generated using defaults applicable to most installations.\r
-Left=17\r
-Right=295\r
-Top=58\r
-Bottom=86\r
-\r
-[Field 6]\r
-Type=Label\r
-Text=You may choose the installation directory.  The configuration defaults will be displayed and you will be given the chance to make changes before the configuration files are written.\r
-Left=17\r
-Right=295\r
-Top=104\r
-Bottom=132\r
+[Settings]
+NumFields=6
+
+[Field 1]
+Type=Label
+Text=This is a new installation.  Please choose the installation type.
+Left=0
+Right=300
+Top=0
+Bottom=28
+
+[Field 2]
+Type=GroupBox
+Text=Installation Type
+Left=0
+Right=300
+Top=32
+Bottom=136
+
+[Field 3]
+Type=RadioButton
+Text=Automatic
+State=1
+Left=6
+Right=52
+Top=44
+Bottom=54
+
+[Field 4]
+Type=RadioButton
+Text=Custom (not recommended)
+Left=6
+Right=200
+Top=90
+Bottom=100
+
+[Field 5]
+Type=Label
+Text=The software will be installed in the default directory "Program Files\\Bacula".  The configuration files will be generated using defaults applicable to most installations.
+Left=17
+Right=295
+Top=58
+Bottom=86
+
+[Field 6]
+Type=Label
+Text=You have more options, but you will have to manually edit your bacula-fd.conf file before Bacula will work.
+Left=17
+Right=295
+Top=104
+Bottom=132
index 62c88cf6da423ab47b950797cdc87494c557aa21..562d5d9a59abff6cd49259372a9840c13714ed3f 100644 (file)
@@ -1,51 +1,51 @@
-[Settings]\r
-NumFields=6\r
-\r
-[Field 1]\r
-Type=Label\r
-Text=This is a new installation.  Please choose the installation type.\r
-Left=0\r
-Right=300\r
-Top=0\r
-Bottom=28\r
-\r
-[Field 2]\r
-Type=GroupBox\r
-Text=Installation Type\r
-Left=0\r
-Right=300\r
-Top=32\r
-Bottom=136\r
-\r
-[Field 3]\r
-Type=RadioButton\r
-Text=Automatic\r
-State=1\r
-Left=6\r
-Right=52\r
-Top=44\r
-Bottom=54\r
-\r
-[Field 4]\r
-Type=RadioButton\r
-Text=Custom\r
-Left=6\r
-Right=44\r
-Top=90\r
-Bottom=100\r
-\r
-[Field 5]\r
-Type=Label\r
-Text=The software will be installed in the default directory "Program Files\\Bacula".  The configuration files will be generated using defaults applicable to most installations.\r
-Left=17\r
-Right=295\r
-Top=58\r
-Bottom=86\r
-\r
-[Field 6]\r
-Type=Label\r
-Text=You may choose the installation directory.  The configuration defaults will be displayed and you will be given the chance to make changes before the configuration files are written.\r
-Left=17\r
-Right=295\r
-Top=104\r
-Bottom=132\r
+[Settings]
+NumFields=6
+
+[Field 1]
+Type=Label
+Text=This is a new installation.  Please choose the installation type.
+Left=0
+Right=300
+Top=0
+Bottom=28
+
+[Field 2]
+Type=GroupBox
+Text=Installation Type
+Left=0
+Right=300
+Top=32
+Bottom=136
+
+[Field 3]
+Type=RadioButton
+Text=Automatic
+State=1
+Left=6
+Right=52
+Top=44
+Bottom=54
+
+[Field 4]
+Type=RadioButton
+Text=Custom (not recommended)
+Left=6
+Right=252
+Top=90
+Bottom=100
+
+[Field 5]
+Type=Label
+Text=The software will be installed in the default directory "Program Files\\Bacula".  The configuration files will be generated using defaults applicable to most installations.
+Left=17
+Right=295
+Top=58
+Bottom=86
+
+[Field 6]
+Type=Label
+Text=You have more options, but you will have to manually edit your bacula-fd.conf file before Bacula will work.
+Left=17
+Right=295
+Top=104
+Bottom=132
index 382d352162174a91081e82387c494cb68c38e885..05cd5b7f16271a90b04d42596b76dd6ca4921b7b 100644 (file)
@@ -37,8 +37,8 @@
 ;
 ; 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:
 ;
@@ -268,6 +268,7 @@ Function .onInit
   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"
@@ -281,6 +282,7 @@ Function .onInit
 
   SetPluginUnload alwaysoff
 
+; Set client password
   nsExec::Exec '"$PLUGINSDIR\openssl.exe" rand -base64 -out $PLUGINSDIR\pw.txt 33'
   pop $R0
   ${If} $R0 = 0
@@ -293,6 +295,7 @@ Function .onInit
 
   SetPluginUnload manual
 
+; Set monitor password
   nsExec::Exec '"$PLUGINSDIR\openssl.exe" rand -base64 -out $PLUGINSDIR\pw.txt 33'
   pop $R0
   ${If} $R0 = 0
@@ -373,6 +376,7 @@ Section "-Initialize"
   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"
@@ -453,11 +457,11 @@ Section "File Service" SecFileDaemon
 
   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"
@@ -486,27 +490,12 @@ Section "Command Console" SecConsole
 
 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
@@ -543,9 +532,6 @@ SectionEnd
 
 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."
@@ -562,9 +548,6 @@ LangString SUBTITLE_WriteTemplates ${LANG_ENGLISH} "Create a resource template f
 !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
@@ -758,15 +741,6 @@ Function GetSelectedComponents
   ${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
 
@@ -815,7 +789,6 @@ Function EnterWriteTemplates
     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}
 
 
@@ -856,30 +829,6 @@ Function SelectPreviousComponents
       !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
 
@@ -906,24 +855,6 @@ Function UpdateComponentUI
     ${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