|
|
|
#1
|
||||
|
||||
|
First you have to call WemTool.exe with -e option from cmd or batch file to encode WEM files.
Code:
WemTool.exe -e 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);
Code:
[Files] Source: "Include\WemTool.exe"; Flags: dontcopy 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);
Code:
[Files] Source: "Include\batch.bat"; Flags: dontcopy Code:
WemTool.exe -d
__________________
Haters gonna hate
Last edited by KaktoR; 11-01-2026 at 05:47. |
| The Following User Says Thank You to KaktoR For This Useful Post: | ||
LILU (11-01-2026) | ||
| Sponsored Links |
![]() |
| Tags |
| cls-diskspan, compressor, diskspan, diskspan_gui |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
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 |