[Launch]
ProgramExecutable64=PowerISO64\PowerISO.exe
WorkingDirectory=%PAL:AppDir%\%POWERISO%
ProgramExecutable=PowerISO\PowerISO.exe
WaitForEXE1=PowerISO.exe
WaitForEXE2=PWRISOVM.EXE
RefreshShellIcons=both
CloseEXE=PWRISOVM.EXE
DirectoryMoveOK=yes
SupportsUNC=yes

[Activate]
Registry=true

[Associations]
1=daa
2=iso
3=bin
4=cue
5=img

[RegistryKeys]
-=HKLM\SOFTWARE\Classes\Applications\PowerISO.exe
PowerISO=HKCU\Software\PowerISO

[RegistryKeys_x86]
-=HKLM\SOFTWARE\PowerISO

[RegistryCleanupForce]
1=HKCU\Software\Classes\VirtualStore\MACHINE\SOFTWARE\Wow6432Node\PowerISO
2=HKCU\Software\Classes\VirtualStore\MACHINE\SOFTWARE\PowerISO

[RegistryCleanupIfEmpty]
1=HKCU\Software\Classes\VirtualStore\MACHINE\SOFTWARE\Wow6432Node
2=HKCU\Software\Classes\VirtualStore\MACHINE\SOFTWARE
3=HKCU\Software\Classes\VirtualStore\MACHINE
4=HKCU\Software\Classes\VirtualStore
5=HKCU\Software\PowerISO\SCDEmu
6=HKCU\Software\PowerISO
7=HKLM\SOFTWARE\Classes\.b5i
8=HKLM\SOFTWARE\Classes\.bif
9=HKLM\SOFTWARE\Classes\.bwi
10=HKLM\SOFTWARE\Classes\.c2d
11=HKLM\SOFTWARE\Classes\.cdi
12=HKLM\SOFTWARE\Classes\.cif
13=HKLM\SOFTWARE\Classes\.cue
14=HKLM\SOFTWARE\Classes\.daa
15=HKLM\SOFTWARE\Classes\.dmg
16=HKLM\SOFTWARE\Classes\.fcd
17=HKLM\SOFTWARE\Classes\.gi
18=HKLM\SOFTWARE\Classes\.ima
19=HKLM\SOFTWARE\Classes\.isz
20=HKLM\SOFTWARE\Classes\.lcd
21=HKLM\SOFTWARE\Classes\.mdf
22=HKLM\SOFTWARE\Classes\.mds
23=HKLM\SOFTWARE\Classes\.ncd
24=HKLM\SOFTWARE\Classes\.nrg
25=HKLM\SOFTWARE\Classes\.p01
26=HKLM\SOFTWARE\Classes\.pdi
27=HKLM\SOFTWARE\Classes\.pxi
28=HKLM\SOFTWARE\Classes\.uif
29=HKLM\SOFTWARE\Classes\.vcd
30=HKLM\SOFTWARE\Classes\.wim
31=HKLM\SOFTWARE\PowerISO

[RegistryValueWrite]
HKCU\Software\PowerISO\USER=REG_BINARY:00054e696b6b6fff2b37471159a72f334df9eda280a812
HKCU\Software\PowerISO\Language=REG_DWORD:%PAL:LanguageCustom%
HKCU\Software\PowerISO\%BIT%=REG_SZ:%PAL:AppDir%\%POWERISO%
HKCU\Software\PowerISO\CheckUpgrade=REG_DWORD:2147483648
HKCU\Software\PowerISO\Status=REG_BINARY:2147483653

[RegistryValueBackupDelete32]
1=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\PWRISOVM.EXE

[DirectoriesCleanupIfEmpty]
1=%APPDATA%\PowerISO

[FilesMove]
version.ini=%APPDATA%\PowerISO\Upgrade

[FilesCleanup]
1=%PAL:DataDir%\version.ini

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

[FileWrite2]
Type=Replace
File=%PAL:DataDir%\settings\PowerISO.reg
Find="="%PAL:LastDrive%\\
Replace="="%PAL:Drive%\\