- Enter BIOS (F9) and change SATA mode to b120i smart array raid controller.
- Create an array from physical drives.
- Check created logical volume as bootable.
- Create the hpvsa driver flash-drive. Do this with DD in Linux or in Windows with Win32DiskImager. Make sure to download the latest version of the hpvsa driver.
- hpvsa-1.2.14-113.rhel7u2.x86_64
- Connect the flash-drive with the hpvsa driver to the server.
- Boot from CentOS-DVD or make bootable usb centos 7
- Wait for "Install OS..." screen and press Esc.
- Type "linux modprobe.blacklist=ahci inst.dd" and hit Enter.
- You will see a firmware error. Ignore it.
- Select "r" to refresh the list. The hpvsa driver flash-drive should be in the list.
- Install the driver.
- Remove hpvsa driver flash-drive before continuing.
- Allow OS installer to load.
- After selecting a langauge the array should be available for use.
Showing posts with label nsis get selected language. Show all posts
Showing posts with label nsis get selected language. Show all posts
Saturday, December 3, 2016
CENTOS 7 HP PROLIANT SMART ARRAY DRIVER
Monday, August 19, 2013
NSIS customize files based on languages
NSIS How to get user selected language without using registry function
This is an example based on my custom needed to rename config file for my application based on language selection by user during setup
First onInit function you must pop $LANGUAGE variable on global stack as you can retrive it later.
Function .onInit
....
....
!insertmacro MUI_LANGDLL_DISPLAY
Pop $LANGUAGE
FunctionEnd
Then on interested section you wite your custom language files (D_MyApp..... E_MyApp.... F_MyApp...)
Section "MainSection" SEC01
SetOutPath "$INSTDIR"
SetOverwrite try
SetDetailsPrint none
SetShellVarContext all
File "D:\projects\xxxxx\MyApp_v32_09082013\D_MyApp.exe.config"
File "D:\projects\xxxxx\MyApp_v32_09082013\E_MyApp.exe.config"
File "D:\projects\xxxxx\MyApp_v32_09082013\F_MyApp.exe.config"
Here you compare $LANGUAGE with LCID value (see http://www.science.co.il/Language/Locale-codes.asp for reference)
If selected language match then rename file else continue if statement
StrCmp $LANGUAGE '1031' customGerman noDE
customGerman:
Rename "$INSTDIR\D_MyApp.exe.config" "$INSTDIR\MyApp.exe.config"
goto languageSettingsDone
noDE:
StrCmp $LANGUAGE '1033' customEnglish noEN
customEnglish:
Rename "$INSTDIR\E_MyApp.exe.config" "$INSTDIR\MyApp.exe.config"
goto languageSettingsDone
noEN:
StrCmp $LANGUAGE '1036' customFrench noFR
customFrench:
Rename "$INSTDIR\F_MyApp.exe.config" "$INSTDIR\MyApp.exe.config"
goto languageSettingsDone
noFR:
goto languageSettingsDone
languageSettingsDone:
....
....
....
;Contiune with other files
If this short giude has been usefull for you please leave comment
This is an example based on my custom needed to rename config file for my application based on language selection by user during setup
First onInit function you must pop $LANGUAGE variable on global stack as you can retrive it later.
Function .onInit
....
....
!insertmacro MUI_LANGDLL_DISPLAY
Pop $LANGUAGE
FunctionEnd
Then on interested section you wite your custom language files (D_MyApp..... E_MyApp.... F_MyApp...)
Section "MainSection" SEC01
SetOutPath "$INSTDIR"
SetOverwrite try
SetDetailsPrint none
SetShellVarContext all
File "D:\projects\xxxxx\MyApp_v32_09082013\D_MyApp.exe.config"
File "D:\projects\xxxxx\MyApp_v32_09082013\E_MyApp.exe.config"
File "D:\projects\xxxxx\MyApp_v32_09082013\F_MyApp.exe.config"
Here you compare $LANGUAGE with LCID value (see http://www.science.co.il/Language/Locale-codes.asp for reference)
If selected language match then rename file else continue if statement
StrCmp $LANGUAGE '1031' customGerman noDE
customGerman:
Rename "$INSTDIR\D_MyApp.exe.config" "$INSTDIR\MyApp.exe.config"
goto languageSettingsDone
noDE:
StrCmp $LANGUAGE '1033' customEnglish noEN
customEnglish:
Rename "$INSTDIR\E_MyApp.exe.config" "$INSTDIR\MyApp.exe.config"
goto languageSettingsDone
noEN:
StrCmp $LANGUAGE '1036' customFrench noFR
customFrench:
Rename "$INSTDIR\F_MyApp.exe.config" "$INSTDIR\MyApp.exe.config"
goto languageSettingsDone
noFR:
goto languageSettingsDone
languageSettingsDone:
....
....
....
;Contiune with other files
If this short giude has been usefull for you please leave comment
Subscribe to:
Posts (Atom)