XenApp 6 Installation Script
I have designed two powershell based scripts which would install xenapp 6 completely(ie., prerequisites and xenapp6 setup).Yes, prerequisites and xenapp6.
Just point the script to your xenapp folder. It will take care of the rest. I have designed two scripts - one for prerequisites and the other for xenapp6 installation. After the first script is completed, create a dsn(file dsn) to connect to your database and change the username, password,dsn file location etc in the script and run it. XenApp6 will be installed. All the prerequisites along with required windows roles and features, sql express 2008 express will be installed.
Need to do
Run the InstallPrerequisites.ps1 file. After it is installed, it will reboot. create a file dsn to connect to your database. Enable tcp/ip and start sql server browser service and restart sql services Run the InstallXenApp6.ps1 file.
Now your system will be restarted again and XenApp6 is installed successfully. You can use XenApp6 now. After reboot configure your license server and webinterface.
Make sure you meet the below requirements:
- Set Executionpolicy to remotesigned.
- At installing xenapp or licensing or web interface steps, if you notice that you are not able to see any next steps after long time, press space to refresh the console. Dont press Enter key. You will be prompted to enter farm details later and if you press enter, empty value will be keyed in. So press space only.
- SQL will be installed as builtin\administrators group ie., Local admins group in the server where sql is installed.
Details I used: odbcusername:administrator odbcpassword:local username pwd
When you download the scripts from the below links, make sure that you right click on each script and unblock them.
Scripts are available here: InstallXenApp6_Ver 0 and InstallXenApp6Prerequisites
The script provided to you as is with no representations, warranties or conditions of any kind. You may use and distribute it at your own risk. I DISCLAIM ALL WARRANTIES WHATSOEVER, EXPRESS, IMPLIED, WRITTEN, ORAL OR STATUTORY, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NONINFRINGEMENT. Without limiting the generality of the foregoing, you acknowledge and agree that (a) the script may exhibit errors, design flaws or other problems, possibly resulting in loss of data or damage to property; (b) it may not be possible to make the script fully functional; and (c) I may, without notice or liability to you, cease to make available the current version and/or any future versions of the script. In no event should the code be used to support of ultra-hazardous activities, including but not limited to life support or blasting activities. I WILL NOT BE LIABLE, UNDER BREACH OF CONTRACT OR ANY OTHER THEORY OF LIABILITY, FOR ANY DAMAGES WHATSOEVER ARISING FROM USE OF THE SCRIPT, INCLUDING WITHOUT LIMITATION DIRECT, SPECIAL, INCIDENTAL, PUNITIVE, CONSEQUENTIAL OR OTHER DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. You agree to indemnify and defend me against any and all claims arising from your use, modification or distribution of the code.
Want to learn more on Citrix Automations and solutions???
Subscribe to get our latest content by email.