Skip to content

            Lost ?  |  Need an account:
 
Home >> Knowledge Base >> Virtualization >> Virtual Desktop >> ThinApp Deployment Guide - Deployment Configuration
ThinApp Deployment Guide - Deployment Configuration PDF Print E-mail
(2 votes, average 4.50 out of 5)
Written by Tom Hirt   
Wednesday, 22 April 2009 09:31
Article Index
ThinApp Deployment Guide
Deployment Configuration
All Pages


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.

  1. 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

    Start -> Run

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

    dsa.msc

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

    ADUC Example User

  4. Right click on the user name and select the "Properties" option

    ADUC User Properties

  5. Click the "Profile" tab from the User Properties window

    Example User Properties

  6. 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

    Example User Profile
    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)

  7. We must now create/edit the logon script.  Use notepad to create/update the logon script

    Edit All_Users.bat

  8. 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.

    Editing All_Users.bat

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

  10. Edit logon.vbs script to suite your environment. 

    Edit logon.vbs

  11. 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.

    Editing logon.vbs

    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

    ThinReg Command Line Switches

  12. 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".)

    ThinApp Install Location

  13. 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.

    Add Remove 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
AddThis Social Bookmark Button


Comments
Add New Search
Paul Butler |18/12/2009 04:13:39
Just a quick addition - you can put a check in your logon.vbs to see if the thinapp is already registered so it won't waste time re-registering it again

If INGROUP...
If NOT RegKeyExists("HKEY_CURRENT_USER\Software\Thinstall\ThinReg\Microsoft Office Enterprise 2007_48000095") Then
THINREG...
End If

You will have to register the application to get the value of the registry key to check for the next time, but its a one off job.

Hope this helps!
thirt |04/01/2010 10:37:43
Paul - Great idea, I like it! I haven't really paid enough attention to how long it takes to register/re-register on login, but I could imagine this could begin to add up if you have a lot of virtualized apps.

Thanks for the comment, keep them coming!
-Tom
Write comment
Name:
Email:
 
Website:
Title:
UBBCode:
[b] [i] [u] [url] [quote] [code] [img] 
 
 
:D:):(:0:shock::confused:8):lol::x:P:oops::cry::evil::twisted::roll::wink::!::?::idea::arrow:
 
Please input the anti-spam code that you can read in the image.

!joomlacomment 4.0 Copyright (C) 2009 Compojoom.com . All rights reserved."

Last Updated on Tuesday, 02 June 2009 11:17
 

Forum Activity

Author: Cogterrit
May.18.12
Author: Cogterrit
May.18.12
Author: Cogterrit
May.18.12
Author: Cogterrit
May.17.12

Online Stats

Guests Online: 82
Members Online: 1