|
ThinApp Deployment Guide - Deployment Configuration |
|
|
|
|
Written by Tom Hirt
|
|
Wednesday, 22 April 2009 09:31 |
|
Page 2 of 2
Deployment Configuration
Before we begin our configuration, we must first have some prerequisites fulfilled:
- You should have already created a ThinApp package. For this example, we will use the Microsoft Office 2007 ThinApp package created from our ThinApp Office 2007 KB.
- Some basic knowledge of batch and vbscript script is a plus
- Download the example logon.vbs from the downloads area
- Administrative privileges on the domain
Lets begin by connecting to your domain controller as a domain administrator.
- Run Active Directory Users and Computers from your domain controller as a domain administrator. Click the Start button followed by Run on the Start Menu

- In the Run dialog box, type "dsa.msc" and click "OK". This will launch Active Directory Users and Computers.

- Locate a user in your domain that will be used for our test deployment

- Right click on the user name and select the "Properties" option

- Click the "Profile" tab from the User Properties window

- Enter the name of a logon script in the user profile area. If you do not already have a logon script, type in a new file name. Click "OK" when finished
 Note: Logon scripts are located in the %LOGONSERVER%\NETLOGON folder. The logon script should be a batch file (ending in .bat, i.e. All_Users.bat)
- We must now create/edit the logon script. Use notepad to create/update the logon script

- The All_users.bat should execute a vbscript called "logon.vbs" that is located within the same directory. Make the appropriate changes to the batch file saving it once complete.

- Download/extract our example logon.vbs from the downloads area (or create your own) and copy it to your domains %LOGONSERVER%\NETLOGON folder.
- Edit logon.vbs script to suite your environment.

- Pay close attention to the ThinReg section. ThinReg registers virtualized applications within the underlying operating system. You'll need to update the script to reflect the full path to the binaries of the virtualized application.

Example:
WSHShell.Exec( """%LOGONSERVER%\NETLOGON\THINREG.EXE"" ""\\<DOMAIN>\<SHARE>\<PATH TO APP>\Microsoft Office Word 2007.exe"" /Q" ) |
Note: Thinreg can also be used to uninstall a ThinApp package using the /U command line switch. Running thinreg with no arguments will give a complete list of command line options 
- Once you've finished editing logon.vbs, copy "THINGREG.EXE" to the NETLOGON share. THINREG.EXE can be found in the installation directory of ThinApp (the same directory as "Setup Capture.exe".)

- Logon to a workstation using the user name from step #3 above. Assuming the virtualized application installs shortcuts on the start menu and desktop, you should see them and be able to run the application by double clicking on them. You should also see the application listed in the "Add/Remove Programs" control panel.

Assuming all went as planed, you've just deployed you're first ThinApp application! The real beauty of this deployment is how easily this yields to roll based application deployment. Since the applications are now being controlled based on group membership, a user can go to any computer in the enterprise and always be assured they have the applications necessary to perform their critical job functions. Additionally, you'll never have to visit another PC for an install, and I don't know about you, but I like being lazy! Good Luck!
Add this page to your favorite website
|
|
Last Updated on Tuesday, 02 June 2009 11:17 |