[Launch]
ProgramExecutable=XRECODE32\xrecode3.exe
ProgramExecutable64=XRECODE64\xrecode3x64.exe
DirectoryMoveOK=yes
WaitForEXE1=7z.exe
WaitForEXE2=mp3gain.exe
WaitForEXE3=oggenc2.exe
WaitForEXE4=opusenc.exe
WaitForEXE5=qaac.exe
WaitForEXE6=qaac64.exe
WaitForEXE7=refalac.exe
WaitForEXE8=refalac64.exe
; WaitForEXE=__.exe
; CleanTemp=true / false

; [Environment]
; PATH=%PATH%;%PAL:AppDir%\XRECODE
; XRECODE_HOME=%PAL:DataDir%\settings

[Activate]
Registry=true

[RegistryKeys]
Enigma Protector=HKCU\SOFTWARE\Enigma Protector

; [RegistryCleanupIfEmpty]


[DirectoriesMove]
portable=%PAL:AppDir%\XRECODE%Bits%\portable
XRECODE=%AppData%\XRECODE3

; [DirectoriesCleanupIfEmpty]
XRECODE_HOME=%PAL:DataDir%\settings

[FileWrite1]
Type=Replace
File=%PAL:DataDir%\portable\settings\%PLATFORM%\TS00.ini
Find=%PAL:LastDrive%%PAL:LastPackagePartialDir%
Replace=%PAL:Drive%%PAL:PackagePartialDir%

[FileWrite2]
Type=Replace
File=%PAL:DataDir%\portable\settings\%PLATFORM%\TS00.ini
Find=%PAL:LastPortableAppsBaseDir%
Replace=%PAL:PortableAppsBaseDir%

[FileWrite3]
Type=Replace
File=%PAL:DataDir%\portable\settings\%PLATFORM%\TS00.ini
Find=%PAL:LastDrive%\\
Replace=%PAL:Drive%\\
