I'm using ModernUI (As the topic says)
Here's the function as it is now:
Is there anoy sort of workaround? Or another function to use?Function .onVerifyInstDir
IfFileExists $INSTDIR\data.grf finenorm oops
oops:
MessageBox MB_OK|MB_ICONEXCLAMATION|MB_TOPMOST "You don't have Ragnarok Online Installed in the Directory selected."
Abort
finenorm:
IfFileExists $INSTDIR\sdata.grf carryon nosak
nosak:
MessageBox MB_OK|MB_ICONEXCLAMATION|MB_TOPMOST "You don't have Sakray Installed. Make sure It's installed into your Ragnarok Online Directory before patching."
Abort
carryon:
FunctionEnd