if SysCreateObject('WPProgram', 'OmniFile Demo', '<WP_DESKTOP>', 'EXENAME='destpath'\Omnifile.exe;STARTUPDIR='destpath, 'replace') == 0 then SAY 'Unable to create the OmniFile Demo icon. You should add it manually after the installation program finishes.'
/* Make sub directories */
"md "destpath"\FILES 2>nul"
SAY ""
SAY "DONE INSTALLING THE OMNIFILE DEMO."
SAY "To use the program double click on the OmniFile Demo icon on your desktop."