Hello Glen,
I apologize for my delayed reply but in the last part of the previous week I was out of the office.
On the registry page in AI, I see CLSID references generated by AI (after importing from .reg) that look like this:
CODE: SELECT ALL
"[\{]5B7F95CF-90E6-460D-B01C-74D90C9EAEC9[\}]"
Is this correctly formatted by AI? Do I understand correctly, that this type of syntax ' [\{] ' is only used on the AI registry page, but not on the AI COM page?
Yes, this is the default way we handle the imported CLSID guids. In "Registry" page we write them escaped (e.g. "[\{]") because the "Value" field of a registry is of formatted type and "{" and "}" characters are special
formatted characters. So, after the registry import operation we escape them to make sure the curly brace characters will be written in registry as they are. However, in "COM" page the fields in which the GUIDS are set are not of formatted type and we display them as they are. However, during the installation they will be written in the registry (as it should) as they are (e.g. "{5B7F95CF-90E6-460D-B01C-74D90C9EAEC9}").
I'm still struggling with understanding this. If all of the above references do the same thing, then why are there three different forms of the same thing? It is very confusing when you get one syntax from one method and another syntax from another method within the AI GUI and then find a third syntax in the documentation.
In "COM" page only the "APPDIR\CSPlus.exe" and "[#CSPlus.exe]" reference types are used. The "APPDIR\CSPlus.exe" form is the desired one to be used because it also contains the directory (i.e. "APPDIR") where the COM file resides. In this way it will be easier to locate it in "Files and Folders" page. However, due to an Advanced Installer limitation, when the file reference also contains an appended command line (e.g. "/Automation") then the only way we can write it is as a direct reference to the file (i.e. "[#CSPlus.exe] /Automation"). This is an AI limitation and it should be fixed as soon as we will made the "Class -> File" field editable again. So, when this fix will be added the only way a file will be referenced in "COM" page will be as "APPDIR\CSPlus.exe". We'll update this thread when this improvement will be done.
All the best,
Daniel
All the best,
Daniel
FOLLOW US
Get the latest news in Application Packaging