#1366
|
|||
|
|||
unarc.dll error code: -12 check sum error
I am getting "unarc.dll error code: -12 check sum error" at first percent/% of my setup decompression phase on SOME windows systems using below XTOOL command :
The decompression goes without error on most systems but on a few systems gives "unarc.dll error code: -12 check sum error" , anybody knows some solution for this ? increasing virtual memory does not help ! the system has 16GB Ram + CPU corei5 ,so the problem is not from computer resources , its very odd Code:
xZLib+srep:m3f+4x4:b128mb:lzma:ultra:64m:bt4:fb273:lc8:mc1000000
__________________
Paint me white so i can invisibly fight in the light...paint me black so i can hide my tears in the shadow of your heart. |
Sponsored Links |
#1367
|
||||
|
||||
Quote:
and Edit CLS.ini Code:
[SREP] Bufsize=24m transfer_ReadBufSize=512k transfer_WriteBufSize=512k Memory=512m TempPath=.\ |
The Following User Says Thank You to Simorq For This Useful Post: | ||
amin fear (10-11-2019) |
#1368
|
|||
|
|||
I'm having this error:
Code:
An error ocurred while unpacking: Unable to write data to disk! Unarc.dll returned an error code: -11 ERROR: archive data corrupted (decompression fails) |
The Following User Says Thank You to Andu21 For This Useful Post: | ||
Behnam2018 (31-01-2020) |
#1369
|
|||
|
|||
Quote:
Code:
[LauncherSettings] ------------------------------------------------------- InstallRedist=1 [Launch1] Name=Visual C++ 2013 64Exe={src}\vcredist_x64_2013.exe Argument=/q /passive BeforeInstall=1 Checked=1 Is "XTool 12_x86" still dependent to Visual C++ 2013 ? ************************************************* "unarc.dll error code: -12 check sum error" was very deceiving ! Nobody can guess the cause at first glimpse !
__________________
Paint me white so i can invisibly fight in the light...paint me black so i can hide my tears in the shadow of your heart. Last edited by amin fear; 11-11-2019 at 01:24. |
The Following 2 Users Say Thank You to amin fear For This Useful Post: | ||
Behnam2018 (31-01-2020), Simorq (13-11-2019) |
#1370
|
|||
|
|||
Inno Uninshs issue
Hello all,
I'm quite new to inno setup and new here as well. I have been having trouble with one of inno's addons mainly the uninshs. It's supposed to modify the uninstaller so that it prompts the user if they want to modify, repair or remove the program. So the issue I'm having is that when i try to uninstall it doesn't do anything it simply closes the uninstaller but no files are removed. I did my best to follow the readme for properly adding it to the inno setup. My setup simply installs the default inno myprog.exe. Im trying to understand the addons better first. I haven't done any compression tests yet. This is what i have so far in my code: Code:
; Script generated by the Inno Script Studio Wizard. ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! #define MyAppName "My Program" #define MyAppVersion "1.5" #define MyAppPublisher "My Company, Inc." #define MyAppURL "http://www.example.com/" #define MyAppExeName "MyProg.exe" [Setup] ; NOTE: The value of AppId uniquely identifies this application. ; Do not use the same AppId value in installers for other applications. ; (To generate a new GUID, click Tools | Generate GUID inside the IDE.) AppId={{413F3F57-3FFB-4B22-B47C-1D9DE9772114} AppName={#MyAppName} AppVersion={#MyAppVersion} ;AppVerName={#MyAppName} {#MyAppVersion} AppPublisher={#MyAppPublisher} AppPublisherURL={#MyAppURL} AppSupportURL={#MyAppURL} AppUpdatesURL={#MyAppURL} DefaultDirName={commonpf}\{#MyAppName} DefaultGroupName={#MyAppName} OutputBaseFilename=mysetup Compression=lzma SolidCompression=yes DisableWelcomePage=False ShowTasksTreeLines=True WizardResizable = Yes #define Use_UninsHs_Default_CustomMessages #include "uninshs.iss" [Languages] Name: "english"; MessagesFile: "compiler:Default.isl" [Tasks] Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked [Components] Name: main; Description: "Main"; Types: full compact custom; Flags: fixed [Files] Source: "C:\Users\artex\AppData\Local\Programs\Inno Setup 6\Examples\MyProg.exe"; DestDir: "{app}"; ; NOTE: Don't use "Flags: ignoreversion" on any shared system files [Icons] Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}" Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon [Run] Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: shellexec skipifdoesntexist nowait skipifsilent postinstall; \ Check: UninsHs_IsInstallation(); [Codes] //change to [Code (in inno)] { RedesignWizardFormBegin } // Don't remove this line! // Don't modify this section. It is generated automatically. procedure RedesignWizardForm; begin with WizardForm do begin AutoScroll := False; ClientHeight := ScaleY(366); ClientWidth := ScaleX(500); end; with WizardForm.NextButton do begin Left := ScaleX(388); Top := ScaleY(330); end; with WizardForm.ProgressGauge do begin Height := ScaleY(13); end; with WizardForm.CancelButton do begin Left := ScaleX(32); Top := ScaleY(330); end; with WizardForm.BackButton do begin Left := ScaleX(300); Top := ScaleY(330); end; { ReservationBegin } // This part is for you. Add your specialized code here. { ReservationEnd } end; // Don't modify this section. It is generated automatically. { RedesignWizardFormEnd } // Don't remove this line! procedure InitializeWizard(); begin UninsHs_InitializeWizard(); RedesignWizardForm; end; procedure CurPageChanged(CurPageID: Integer); begin UninsHs_CurPageChanged(CurPageID); end; function ShouldSkipPage(CurPageId: Integer): Boolean; begin Result := False; UninsHs_ShouldSkipPage(CurPageId, Result); end; function NextButtonClick(CurPageID: Integer): Boolean; begin Result := True; UninsHs_NextButtonClick(CurPageID, Result); end; procedure CancelButtonClick(CurPageID: Integer; var Cancel, Confirm: Boolean); begin UninsHs_CancelButtonClick(CurPageID, Cancel, Confirm); end; function InitializeUninstall(): Boolean; begin Result := True; UninsHs_InitializeUninstall(Result); end; Last edited by artexjay; 13-11-2019 at 10:08. |
#1371
|
|||
|
|||
Sometimes randomly whenever I repack games and extract/install, I receive this error from Lolz:
Can't open read file mapping Last edited by mixtro; 04-01-2020 at 10:35. Reason: Fixed minor typo |
The Following User Says Thank You to mixtro For This Useful Post: | ||
Behnam2018 (08-01-2020) |
#1372
|
||||
|
||||
BPK giving "Required Features Are Not Supported By DLL"
I have compressed an archive using Bink Pack (multiple .bik files). Compression is all good (no FreeArc errors) but whenever I feed it to my installer for decompression, I always get the following error:
As far as I know, CLS-BPK.DLL is the only way of decompressing files compressed using BPK (.exe). Not too sure what could be causing this error, I have tried recompressing the files, to no avail. I am using a standalone Arc CLI compressor with only BPK hooked up. I am using Advanced Simple Installer Script v7.1.3 (if this helps). If any more info is required I'll happily provide. |
The Following User Says Thank You to Masquerade For This Useful Post: | ||
Behnam2018 (17-02-2020) |
#1373
|
||||
|
||||
Quote:
FREEARC_ERRCODE_NOT_IMPLEMENTED= -8; (* Requested feature isn't supported *)
__________________
It would be nice if you appreciate my work with the thanks Button |
The Following User Says Thank You to mausschieber For This Useful Post: | ||
Behnam2018 (17-02-2020) |
#1374
|
||||
|
||||
Quote:
__________________
Haters gonna hate
|
The Following User Says Thank You to KaktoR For This Useful Post: | ||
Behnam2018 (17-02-2020) |
#1375
|
||||
|
||||
I want to create shortcuts with CreateShellLink function, it works for {commondesktop} but not for {group} nor {userstartmenu} / {commonstartmenu}. Why?
I read the information directly from INI file. Code:
if IniKeyNotEmpty('Executable', 'Exe') then begin CreateShellLink( ExpandConstant('{commonstartmenu}\' + GetIniString('Executable', 'ExeName', '', ExpandConstant('{tmp}\Settings.ini')) + '.lnk'), GetIniString('Executable','ExeName','',ExpandConstant('{tmp}\Settings.ini')), GetIniString('Executable','Exe','',ExpandConstant('{tmp}\Settings.ini')), GetIniString('Executable','ExeParam','',ExpandConstant('{tmp}\Settings.ini')), '', '', 0, SW_SHOWNORMAL ); end;
__________________
Haters gonna hate
|
#1376
|
||||
|
||||
Quote:
Perhaps because the folder where you are going to create the shortcut does not exist. Perhaps because the executable does not exist (But I think it should create such randomness). The path to Exe must be expanded if you use constants like {app}... If the shortcut destination contains a subfolder, create the folder before calling CreateShellLink using: ForceDirectories(ExpandConstant( FolderName )); Code:
if IniKeyNotEmpty('Executable', 'Exe') then begin CreateShellLink( ExpandConstant('{commonstartmenu}\' + GetIniString('Executable', 'ExeName', '', ExpandConstant('{tmp}\Settings.ini')) + '.lnk'), GetIniString('Executable','ExeName','',ExpandConstant('{tmp}\Settings.ini')), ExpandConstant(GetIniString('Executable','Exe','',ExpandConstant('{tmp}\Settings.ini'))), GetIniString('Executable','ExeParam','',ExpandConstant('{tmp}\Settings.ini')), '', '', 0, SW_SHOWNORMAL ); end; |
#1377
|
||||
|
||||
Quote:
Thanks! For all the code I just overlooked this
__________________
Haters gonna hate
|
#1378
|
||||
|
||||
So, how to delete the shortcuts after uninstall?
IS help tells me to do this through [UninstallDelete], but how?
__________________
Haters gonna hate
|
#1379
|
|||
|
|||
try it it might delete
Quote:
|
The Following User Says Thank You to DiCaPrIo For This Useful Post: | ||
KaktoR (24-04-2020) |
#1380
|
||||
|
||||
Thanks. Will look into this later
Edit: It works but only for one icon (not for both). Not very smart because I have to create functions for both desktop and group icons ^^ However, I just did it this way until I find a better way Code:
[UninstallDelete] Type: files; Name: {userdesktop}\{#Shortcut1Name}.lnk Type: files; Name: {userstartmenu}\{#Name}\{#Shortcut2Name}.lnk
__________________
Haters gonna hate
Last edited by KaktoR; 24-04-2020 at 15:59. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
INNO TROUBLESHOOT - Tutorials and Answers about INNO Setup | REV0 | Conversion Tutorials | 129 | 21-05-2021 06:51 |
INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup | REV0 | Conversion Tutorials | 51 | 26-03-2015 07:57 |
Frequently Asked Questions | Joe Forster/STA | PC Games - Frequently Asked Questions | 0 | 29-11-2005 10:48 |