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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #8  
Old 17-09-2021, 11:59
maybeknow maybeknow is offline
Registered User
 
Join Date: Sep 2021
Location: canada
Posts: 7
Thanks: 4
Thanked 0 Times in 0 Posts
maybeknow is on a distinguished road
Quote:
Originally Posted by Cesar82 View Post
Make patch with parametters
xdelta3.exe -e -9 -S djw -vfs "%OldFile%" "%NewFile%" "%OldFile%.diff"

Tested with XDelta 3.0.11
Use the attachment to create the .diff file
thank you, I defiantly doing something wrong, here is my code
Code:
#define MyAppName "My Program"
#define MyAppVersion "1.5"
#define MyAppPublisher "My Company, Inc."
#define MyAppURL "http://www.example.com/"
#define MyAppExeName "MyProg.exe"

[Setup]
AppId={{D304513B-BAFC-4211-96A0-0FFA39EAB24E}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={pf}\{#MyAppName}
DefaultGroupName={#MyAppName}
OutputBaseFilename=setup
OutputDir="C:\Users\saman\Desktop\12Min"
Compression=lzma
SolidCompression=yes

[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"

[Files]
Source: "ISDone.dll"; DestDir: "{tmp}"; Flags: dontcopy;
Source: "XDelta3.dll"; DestDir: "{tmp}"; Flags: dontcopy;
Source: "xdelta\test\File_Old.txt.diff"; DestDir: "{tmp}"; Flags: dontcopy;

[-code]
function ISxDeltaExtract(CurComponent: Cardinal; PctOfTotal: Double; MinRAM, MaxRAM: Integer; InName, DiffFile, OutFile: AnsiString; DeleteInFile, DeleteDiffFile: Boolean): Boolean; external 'ISxDeltaExtract@{tmp}\ISDone.dll stdcall delayload';

procedure CurStepChanged(CurInstallStep: TSetupStep );
begin
  if (CurInstallStep = ssInstall) then
  begin
    ExtractTemporaryFile('XDelta3.dll');
    ExtractTemporaryFile('ISDone.dll');
    if ISxDeltaExtract(0, 0, 0, 640, ExpandConstant('{app}\File_New.txt'), ExpandConstant('{app}\*.diff'), ExpandConstant('{app}\test_dest.txt'), false, false) then Log('nice.');
  end;
end;
sorry for bother you so much and thank you
Reply With Quote
 

Tags
inno setup, patch, xdelta, xdelta3

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



All times are GMT -7. The time now is 11:34.


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