Thinstall_RegExtension
Description
Section titled “Description”Associates a file extension with a Thinstall application, so files with that extension open with sCommand. The file name is added to the command as %1.
Syntax
Section titled “Syntax”Thinstall_RegExtension(sName, sExtension, sCommand) As Boolean
Parameters
Section titled “Parameters”sName (String)
Section titled “sName (String)”Product name
sExtension (String)
Section titled “sExtension (String)”Extension, including the dot (e.g. .cis)
sCommand (String)
Section titled “sCommand (String)”Command to execute, usually the full path of the application’s executable
Example
Section titled “Example”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()Related functions
Section titled “Related functions”Thinstall_UnRegExtension Constants Package Property Variables