Two commas after secu4.txt, because you also count the comma before secu4.txt Try these different RunPost commands [securdel] "cscript //B ""%16422%\Utility\SecureFolder\Uninstall.vbs""" ;or "cmd /c cscript //B ""%16422%\Utility\SecureFolder\Uninstall.vbs""" Also try RegisterDLLs [regdll] 11,,cscript.exe,,,"//B ""%16422%\Utility\SecureFolder\Uninstall.vbs""" ;or 11,,cmd.exe,,,"/c cscript //B ""%16422%\Utility\SecureFolder\Uninstall.vbs"""