Get FREE Citrix XenApp 6 Video Training Course

Are you setting up a new Proof of Concept
or a Production Environment?

We'll coach you through the configurations step-by-step with Real World Best Practices

  • Microsoft Active Directory and Group Policy...
  • Install and Configure Citrix XenApp 6...
  • Citrix Web Interface and Licensing...
  • And Much Much More...

We respect your privacy. We'll NEVER sell, rent or share your email address. That's more than a policy, it's our personal guarantee!

Unattended : .Net Framework 3.5 SP1 Redistributable

dotnetframework 300x192 Unattended : .Net Framework 3.5 SP1 Redistributable

I will in this blog show you how to install all the .NET Frameworks packages with one script and no need for Internet access later. The .NET Framework 3.5 SP1 also includes .NET 2.0 SP2 & .NET 3.0 SP2. This script only installs the English language pack.

The unattended script looks like this :


@echo off
REM Install dotNetFramework35SP1-30SP2-20SP2
REM ScriptFrameWork by Joe Shonk - www.theshonkproject.com
REM Customized by Trond Eirik Haavarstein - www.xenappblog.com

pushd %~dp0
cd ..

set AppSourcePath=Source
set AppConfigPath=Configuration
set AppInstallPath=Scripts
set AppHotfixesPath=Hotfixes

set LogFile="%temp%dotNetFramework35SP1-30SP2-20SP2.log"
set Switches=/qn ALLUSERS=1 REBOOT="ReallySuppress"
set MST=TRANSFORMS=

cls
echo.
echo Installing dotNetFramework35SP1-30SP2-20SP2
echo.

cd %AppSourcePath%
start /wait dotNetFx35setup.exe /q /norestart /lang:ENU

popd
endlocal

Have a comment to share?

One of the big reasons that I blog is because I like people and I want to help them. Part of the reward for my work is your comments. I read every comment and post my replies pretty fast, so if you have something to say or a question to ask, please use the form below. Thanks very much.





If you like this post enter your information below to receive our FREE "Citrix XenApp 5.0 on Windows 2008" eBook and a 7 day eCourse with Tips & Tricks never revealed before.



{ 7 comments… read them below or add one }

Luke June 19, 2009 at 14:19

Citrix does not support nor recommend using .NET 3.5, so I’d be careful about deploying in your environment; we’ve seen issues with it here on our 4.5 farm.

Reply

admin June 19, 2009 at 14:31

Hi Luke, I’m not aware of Citrix not supporting .NET 3.5. I have no issuses in my XenApp 5.0 – W2K3 x32 farm’s. The only thing I have noticed is the startup time is a bit slower, but I think this is an Micorsoft issue. Anyway the Citrix XenApp Publishing Extension 1.0 requires .NET 3.5 SP1

Eric

Reply

John September 24, 2009 at 21:45
Nan November 12, 2009 at 12:07

Sorry for being dumb, but I really don’t understand this script – Apart from AppSourcPath, what are the Appxxxx variables doing, and what should these values be set to? I can’t see any folders within the extracted source with similar names…

Reply

admin November 12, 2009 at 12:50

Hi Nan,

This is a generic script with a lot of variables that are not in use. E.g. the MST switch is only used when you need to apply a transforms file to your MSI package. The same with AppConfigPath where you would typically place custom registry files.

Eric

Reply

Nan November 12, 2009 at 13:01

Thanks for the clarification Eric. Can I also ask then – How do those other (i.e. ‘logfile’ and ‘switches’) variables get utilised – does the MSI “know” to use them when it is invoked?

Reply

admin November 12, 2009 at 15:26

Yes, when using MSI packages the logfile switch will be used. Take a look under the AppDeploy categorie. There you’ll find a lot of examples, good once are Adobe Acrobat Reader 9.1, Foxit Reader for Terminal Server & CutePDF Writer for Terminal Server.

Eric

Reply

Leave a Comment


{ 1 trackback }

Previous post:

Next post: