[Launch]
ProgramExecutable="CareUEyes\CareUEyes.exe"
SingleAppInstance=true
WaitForProgram=true
DirectoryMoveOK=yes
SupportsUNC=yes

[Activate]
Registry=true

[RegistryValueWrite]
HKCU\Software\CareUEyes\ver=REG_DWORD:0
HKCU\Software\CareUEyes\code=REG_SZ:MTExMQ==

[RegistryKeys]
CareUEyes="HKCU\Software\CareUEyes"
-=HKCU\Software\Microsoft\Direct3D\MostRecentApplication
-=HKCU\Software\Classes\CLSID\{FC36FD6A-7586-4ad1-8CBF-EB8AB7A51533}
-=HKCU\Software\Classes\Wow6432Node\CLSID\{FC36FD6A-7586-4ad1-8CBF-EB8AB7A51533}
-=HKCU\Software\Microsoft\Windows\CurrentVersion\Run

[DirectoriesMove]
CareUEyes=%APPDATA%\careueyes

[DirectoriesCleanupIfEmpty]
1=%APPDATA%\careueyes

[FileWrite1]
Type=Replace
File=%PAL:DataDir%\settings\CareUEyes.reg
Find=%PAL:LastDrive%%PAL:LastPackagePartialDir:DoubleBackslash%\\
Replace=%PAL:Drive%%PAL:PackagePartialDir:DoubleBackslash%\\

[FileWrite2]
Type=Replace
File=%PAL:DataDir%\settings\CareUEyes.reg
Find=%PAL:LastPortableAppsBaseDir:DoubleBackslash%\\
Replace=%PAL:PortableAppsBaseDir:DoubleBackslash%\\

[FileWrite3]
Type=Replace
File=%PAL:DataDir%\settings\CareUEyes.reg
Find=%PAL:LastDrive%\\
Replace=%PAL:Drive%\\
