# Thinstall_RegApplication

> When a Thinstall application is deployed it is not registered as an installed product.

Source: https://docs.capaone.com/capainstaller/vb-scripting-library/thinstall-functions/thinstall-regapplication/  
Product: CapaInstaller — a separate CapaSystems product; do not apply this page to any other.

### Description

When a Thinstall application is deployed it is not registered as an installed product. Thinstall_RegApplication will register application so that it is visible for the management solution

### Syntax

Thinstall_RegApplication(sProductID) As Boolean

### Parameters

#### sProductID (String)

Product name

### Example

**VBScript**

```vb
If bStatus Then bStatus = Thinstall_Init()
If bStatus Then bStatus = Thinstall_RegApplication("CapaInstaller")
If bStatus Then bStatus = Thinstall_RegExtension("CapaInstaller", ".cis", "C:\CapaInstaller.exe")
If bStatus Then bStatus = Thinstall_Complete()
```

[Scripting Guidelines](/capainstaller/vb-scripting-library/scripting-guidelines/)

### Related functions

[Thinstall_UnRegApplication](/capainstaller/vb-scripting-library/thinstall-functions/thinstall-unregapplication/) [Constants](/capainstaller/vb-scripting-library/addendum/constants/) [Package Property](/capainstaller/vb-scripting-library/addendum/package-property/) [Variables](/capainstaller/vb-scripting-library/addendum/variables/)
