Previous  Top  Next

ThinReg (Thinstall Registration Tool)

ThinReg (ThinReg.exe) is used to register Thinstall packages on a PC, including:

· Creating StartMenu & Desktop Shortcuts  
· Setting up File type associations  
· Adding uninstall information that can be executed from the system Control Panel  
· Unregistering previously registered packages  

ThinReg.exe [Optional Parameters] PackageName.exe [Package2.exe] [PackagesByWildcard]

Optional Parameters include:  
/a, /allusers  
Register package for all users (by default package is registered only for the currently logged in user)  
/q, /quiet  
Don't output any information  
/u, /unregister, /uninstall  
Unregister package. If needed, this will also remove the software from the Add/Remove Programs control panel applet.  

/r, /reregister  
Re-register package. Normally, ThinReg will detect if a package is already registered and will skip it if it is. By using the /r option, you can force ThinReg to re-register the package  

/k, /keepunauthorized, /keep  
If ThinReg detects a registration for a package for which you're no longer authorized (you are no longer part of the PermittedGroups specified in the packages Package.ini) it will remove the registration info for that package. By specifying this option, ThinReg won't remove the registration info.  
Don't create an entry in the Add/Remove Programs control panel applet  
This option has an effect on Vista only. ThinReg will be launched on Vista without elevated privileges. That means that standard users will be able to invoke ThinReg without a UAC pop-up. When ThinReg detects that it does need more privileges (those privileges are required for the /allusers option), it will relaunch itself as a privileged process, causing a UAC pop-up to show. The /norelaunch option will prevent the relaunch and instead the registration will just fail.  

The standard usage of ThinReg would be to register a number of packages stored in a directory (probably on a file server) during login processing: "ThinReg \\server\share\dir\*.exe". This will automatically take care of PermittedGroups specifications, registering and unregistering packages as needed. It is also quite fast. During testing, we found that first-time registration of the Office 2003 suite took 0.55 sec. Second-time registration (where ThinReg didn't need to perform any action) took only 0.13 sec. By contrast, /reregister is relatively expensive at 5.40 sec so you should probably not use that in a login script.


Example usage:

This will register just Winword for the currently logged in user
ThinReg.exe "\\server\share\Microsoft Office 2003 Winword.exe"

This will register just Winword for all users on the system (requires Admin Rights)

ThinReg.exe /a "\\server\share\Microsoft Office 2003 Winword.exe"

This will register all Office applications in the specified directory for the currently logged in user

ThinReg.exe "\\server\share\Microsoft Office *.exe"

This will unregister register just Winword for the current user. Registrations for e.g. Excel won't be affected
ThinReg.exe /u "\\server\share\Microsoft Office 2003 Winword.exe"

This will unregister all Office applications for the current user. Will also remove the Add/Remove Programs entry

ThinReg.exe /u "\\server\share\Microsoft Office *.exe"

Note: Command-line unregistration is supported in Thinstall 3.210 and higher