>Importing .reg file that looks like this:
[HKEY_LOCAL_MACHINE\SOFTWARE\TEST\[ProductName]]
"TEST"="[ProgramFilesFolder][ProductName]\\file.dll"
>In AI 12.2 Registry section it looks like this:
[HKEY_LOCAL_MACHINE\SOFTWARE\TEST\[ProductName]]
"TEST"="[\[]ProgramFilesFolder[\]][\[]ProductName[\]]\\file.dll"
>It adds "\[]" and "[\]" to the data value but not the key value.
>After MSI installation registry looks like this:
[HKEY_LOCAL_MACHINE\SOFTWARE\TEST\MYPRODUCT]
"TEST"="[ProgramFilesFolder][ProductName]\file.dll"
>Insallation translates key correctly but NOT data because it adds "\[]" and "[\]" to its value.
>Why are they imported differently?
>How should the .reg file look like so that import also works for data?
>Registry should look like this after MSI installation:
[HKEY_LOCAL_MACHINE\SOFTWARE\TEST\MYPRODUCT]
"TEST"="C:\Program Files\MYPRODUCT\file.dll"
FOLLOW US
Get the latest news in Application Packaging