Skip to content

Thinstall_RegApplication

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

The function creates the key HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\<sProductID> with the display name sProductID and the package version. The first time it runs on a device, it also registers Thinstall Client.

Thinstall_RegApplication(sProductID) As Boolean

Product name

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

Thinstall_UnRegApplication Constants Package Property Variables