Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-01-2026, 05:38
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,689
Thanks: 1,106
Thanked 7,336 Times in 2,838 Posts
KaktoR is on a distinguished road
First you have to call WemTool.exe with -e option from cmd or batch file to encode WEM files.
Code:
WemTool.exe -e
Then you can either call WemTool.exe with a batch file from inno setup or directly from the inno setup script within installation.

Example:
ISDone_Example.iss
Code:
if CurStep = ssPostInstall then
  begin
    ExtractTemporaryFile('WemTool.exe');
    FileCopy(ExpandConstant('{tmp}\WemTool.exe'), ExpandConstant('{app}\WemTool.exe'), False);
    ShellExec('open', ExpandConstant('{app}\WemTool.exe'), '-d', ExpandConstant('{app}'), SW_HIDE, ewWaitUntilTerminated, ResultCode);
DSG_Module.iss
Code:
[Files]
Source: "Include\WemTool.exe"; Flags: dontcopy
The above example will execute WemTool.exe with -d parameter after install process.

Example with batch execution:
ISDone_Example.iss
Code:
if (CurStep = ssPostInstall) then
  begin
    ExtractTemporaryFile('batch.bat');
    FileCopy(ExpandConstant('{tmp}\batch.bat'), ExpandConstant('{app}\batch,bat'), False);
    ShellExec('open', ExpandConstant('{app}\batch.bat'), '', '', SW_SHOWMINIMIZED, ewWaitUntilTerminated, ResultCode);
DSG_Module.iss
Code:
[Files]
Source: "Include\batch.bat"; Flags: dontcopy
Batch.bat
Code:
WemTool.exe -d
If you decide to use WemTool with batch file, you will see the actual progress of it.
Attached Files
File Type: 7z test.7z (22.73 MB, 6 views)
__________________
Haters gonna hate

Last edited by KaktoR; 11-01-2026 at 05:47.
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
LILU (11-01-2026)
Sponsored Links
Reply

Tags
cls-diskspan, compressor, diskspan, diskspan_gui

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use diskspan bat mausschieber Conversion Tutorials 13 14-01-2026 19:20
DiskSpan on Linux hydefromt70s Conversion Tutorials 1 15-10-2020 07:12
DiskSpan FreeArc returns an error Titeuf Conversion Tutorials 2 18-07-2020 01:46
CIU 3.0.0.0.u3 (2019-03-28) - Diskspan Issues mesut28 Conversion Tutorials 17 30-03-2019 02:28
R.G. Gamers DiskSpan Simorq Conversion Tutorials 1 28-10-2017 08:22



All times are GMT -7. The time now is 05:43.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com