reg add "HKLM\SOFTWARE\Classes\.fog" /f /ve /t REG_SZ /d "fogfile"
reg add "HKLM\SOFTWARE\Classes\fogfile" /f /ve /t REG_SZ /d "Fontographer Font File"
reg add "HKLM\SOFTWARE\Classes\fogfile\DefaultIcon" /f /ve /t REG_SZ /d "%cd%\Fontographer 5.exe,1"
reg add "HKLM\SOFTWARE\Classes\fogfile\Shell\open\command" /f /ve /t REG_SZ /d "%cd%\Fontographer 5.exe %%1"
reg add "HKLM\SOFTWARE\Classes\fogfile\Shell\print\command" /f /ve /t REG_SZ /d "%cd%\Fontographer 5.exe /p %%1"
md "%ALLUSERSPROFILE%\Application Data\Fontlab\Fontographer"
copy fg5w.lic "%ALLUSERSPROFILE%\Application Data\Fontlab\Fontographer"