Unfortunately, this cannot be implemented in XLS Padlock because this would require the compiled workbook to have administrative rights for modifying file associations. A Setup program is more pertinent.
If you have several EXE files, then yes, you shouldn’t associate one of them to all XLSC files. Based on your request, you can do this in Paquet Builder:
Select the entire XML code below, go to Custom Actions in Paquet Builder, Action Tools and click “Paste Block”. This will create the custom actions as shown as on the screenshot above.
<?xml version="1.0" encoding="utf-8"?>
<pbgroup><action GUID="VADNF"><type>TCommentInfo</type><desc><FONT color="clGreen"><I>Registers .ext extension with ProgID MyExtensionDemo</I></FONT></desc><img>30</img><prop><Comment>Registers .ext extension with ProgID MyExtensionDemo</Comment></prop></action><action GUID="U70MI"><type>TWriteRegInfo</type><desc>Write "default value=CompiledExcelWorkbook" of the registry key ".xlsc"</desc><img>2</img><prop><RootKey>hkClassesRoot</RootKey><Key>.xlsc</Key><Value>CompiledExcelWorkbook</Value><ValueType>regSZ</ValueType><AddUninstRef>True</AddUninstRef></prop></action><action GUID="HARVA"><type>TWriteRegInfo</type><desc>Write "default value=Excel Workbook Save" of the registry key "CompiledExcelWorkbook"</desc><img>2</img><prop><RootKey>hkClassesRoot</RootKey><Key>CompiledExcelWorkbook</Key><Value>Excel Workbook Save</Value><ValueType>regSZ</ValueType><AddUninstRef>True</AddUninstRef></prop></action><action GUID="9RQD9"><type>TCommentInfo</type><desc><FONT color="clGreen"><I>Defines the application that contains the icon for the extension (,0 indicates the ID of the icon in the EXE)</I></FONT></desc><img>30</img><prop><Comment>Defines the application that contains the icon for the extension (,0 indicates the ID of the icon in the EXE)</Comment></prop></action><action GUID="TF8UD"><type>TWriteRegInfo</type><desc>Write "default value=&quot;%DESTPATH%\yourapp.exe&quot;,0" of the registry key "CompiledExcelWorkbook\DefaultIcon"</desc><img>2</img><prop><RootKey>hkClassesRoot</RootKey><Key>CompiledExcelWorkbook\DefaultIcon</Key><Value>"%DESTPATH%\yourapp.exe",0</Value><ValueType>regSZ</ValueType><AddUninstRef>True</AddUninstRef></prop></action><action GUID="HT9C6"><type>TCommentInfo</type><desc><FONT color="clGreen"><I>Tells Windows what to do when the user wants to open a file with .ext extension</I></FONT></desc><img>30</img><prop><Comment>Tells Windows what to do when the user wants to open a file with .ext extension</Comment></prop></action></pbgroup>
Then you must replace %DESTPATH%\yourapp.exe
by the path to your workbook EXE file. If your workbook is MyWorkbook.exe, then use %DESTPATH%\MyWorkbook.exe
You can also customize the description for instance.