[Launch]
ProgramExecutable=WiseCare365\WiseCare365.exe
WorkingDirectory=%PAL:AppDir%\WiseCare365
WaitForExe1=WiseTurbo.exe
WaitForExe2=WiseTray.exe
RunAsAdmin=force
SinglePortableAppInstance=true
DirectoryMoveOK=yes

[Activate]
Registry=true

[RegistryValueWrite]
HKLM\SOFTWARE\WiseCleaner\WiseCare365\User Name=REG_SZ:WiseCleaner.com
HKLM\SOFTWARE\WiseCleaner\WiseCare365\User Email=info@wisecleaner.com
HKLM\SOFTWARE\WiseCleaner\WiseCare365\License Key=REG_SZ:E74D-1436-0360D2-4E4E-50FC
HKLM\SOFTWARE\WiseCleaner\WiseCare365\Expire Date=REG_BINARY:00000000F01CE740

[RegistryKeys]
WiseCare365=HKLM\SOFTWARE\WiseCleaner\WiseCare365
-=HKLM\SOFTWARE\Classes\.wskn
-=HKLM\SOFTWARE\Classes\W365.SkinFile
-=HKLM\SOFTWARE\Classes\CLSID\{7BEFAB15-7B27-4361-80E1-3B61C9E06392}
-=HKLM\SOFTWARE\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_BROWSER_EMULATION

[RegistryCleanupForce]
1=HKLM\SOFTWARE\Microsoft\Tracing\WiseCare365_RASAPI32
2=HKLM\SOFTWARE\Microsoft\Tracing\WiseCare365_RASMANCS

[DirectoriesMove]
Backup=%PAL:AppDir%\WiseCare365\Backup

[FilesMove]
*.ini=%PAL:AppDir%\WiseCare365
*.lst=%PAL:AppDir%\WiseCare365
*.dat=%PAL:AppDir%\WiseCare365
SoftwareRateInfo.info=%PAL:AppDir%\WiseCare365

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

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

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

[FileWrite4]
Type=INI
File=%PAL:DataDir%\Config.ini
Section=GUI
Key=HeadImage
Value=%PAL:Drive%%PAL:PackagePartialDir%\App\WiseCare365\Tools\CustomHead.Png