I am using Advanced Installer version 8.6 to create a software package that makes use of the registry key HKLM\Software\KS&T. As part of a build script, I am trying to delete this key from my .AIP file, before importing pontentially new/changed values from a .REG file. Importing works fine, but deleting the key does not. I suspected the & sign, so I simplified the key for testing purposes to KST and created an empty test project to make sure nothing else was causing my problem, but the problem remained.
This is the command I am running and the response I am getting:
- C:\VJ>"%ProgramFiles(x86)%\Caphyon\Advanced Installer 8.6\bin\x86\AdvancedInstaller.com" /edit installer.aip /DelReg -RegKey HKLM\Software\KST
[SEH_AV_DEP_BADPTR] ACCESS_VIOLATION (0xc0000005) at address [0x6f636973]
*** Stack Trace (x86) ***
[0x6f636973] -----
[0x007d6f74] -----
[0x77b832f2] RtlImageNtHeader()
[0x00855bcc] -----
[0x6f17016a] free()
[0x0085c626] -----
C:\VJ>
The error only seems to occur when the regkey is actually found in the .aip file. I have attached the test .aip file as well.
FOLLOW US
Get the latest news in Application Packaging