[Launch]
ProgramExecutable="HDVideoConverterFactoryPro\VideoConverterFactoryPro.exe"
WorkingDirectory=%PAL:AppDir%\HDVideoConverterFactoryPro
SingleAppInstance=true
WaitForExe1=VideoConverterFactoryPro.exe
DirectoryMoveOK=yes
SupportsUNC=yes

[Activate]
Registry=true

[RegistryKeys]
-=HKCU\Software\Microsoft\Multimedia\DrawDib
-=HKCU\Software\Microsoft\Direct3D\MostRecentApplication

[DirectoriesMove]
HDVideoConverterFactoryPro=%APPDATA%\WonderFox Soft\HD Video Converter Factory Pro
Waterfox=%APPDATA%\WonderFox

[DirectoriesCleanupIfEmpty]
1=%APPDATA%\WonderFox Soft

[DirectoriesCleanupForce]
1=%AppData%\Ruller

[FileWrite1]
Type=Replace
File=%PAL:DataDir%\HDVideoConverterFactoryPro\config.ini
Find=%PAL:LastDrive%%PAL:LastPackagePartialDir:DoubleBackslash%\\
Replace=%PAL:Drive%%PAL:PackagePartialDir:DoubleBackslash%\\

[FileWrite2]
Type=INI
File=%PAL:DataDir%\HDVideoConverterFactoryPro\config.ini
Section=Setup
Key=SoundFile
Value=%PAL:AppDir%\HDVideoConverterFactoryPro\Complete.wav