FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   ASIS: Advanced Simple Installer Script (https://fileforums.com/showthread.php?t=99481)

WOliveira 13-01-2018 05:07

Ok, I'll take the test.

pakrat2k2 13-01-2018 15:05

1 Attachment(s)
Getting error about LicenseImage.bmp even tho file is there & Settings.ini -> ;#define License ??

KaktoR 13-01-2018 15:43

Got the same error today, already fixed it :D

Search for:
/////////////////////////////////////////// LicensePage

replace with this:

Code:

#ifdef License
    LicenseImage := TBitmapImage.Create(WizardForm);
    with LicenseImage do begin
      Name := 'LicenseImage';
      Parent := WizardForm.LicensePage;
      Left := ScaleX(0);
      Top := ScaleY(0);
      Width := ScaleX(32);
      Height := ScaleY(32);
      ExtractTemporaryFile('LicenseImage.bmp');
      Bitmap.LoadFromFile(ExpandConstant('{tmp}\LicenseImage.bmp'));
      ReplaceColor := $0000ff;
      ReplaceWithColor := WizardForm.LicensePage.Color;
    end;
  #endif


pakrat2k2 13-01-2018 18:47

Quote:

Originally Posted by KaktoR (Post 465885)
Got the same error today, already fixed it :D

Search for:
/////////////////////////////////////////// LicensePage

replace with this:

Code:

#ifdef License
    LicenseImage := TBitmapImage.Create(WizardForm);
    with LicenseImage do begin
      Name := 'LicenseImage';
      Parent := WizardForm.LicensePage;
      Left := ScaleX(0);
      Top := ScaleY(0);
      Width := ScaleX(32);
      Height := ScaleY(32);
      ExtractTemporaryFile('LicenseImage.bmp');
      Bitmap.LoadFromFile(ExpandConstant('{tmp}\LicenseImage.bmp'));
      ReplaceColor := $0000ff;
      ReplaceWithColor := WizardForm.LicensePage.Color;
    end;
  #endif


yep fixed perfectly, thanks

WOliveira 14-01-2018 11:43

1 Attachment(s)
This version 7.0.1 is all perfect, the eulas and the redists ... all the way I want the problem now is at the time of installation :/

pakrat2k2 14-01-2018 14:04

says unable to write data to disk ... not enough HD room?

WOliveira 14-01-2018 17:46

y HD has lots of space.

KaktoR 15-01-2018 06:25

What compression method you did use?

WOliveira 15-01-2018 13:05

The same one I used in version 6.9.5 ... PreComp, SREP and LZMA.

KaktoR 15-01-2018 21:21

Exact precomp settings? Which version?

Maybe a problem with cls-precomp

WOliveira 16-01-2018 02:25

I used UltraArc 2.8.0.1 R3, funny that in ASIS 6.9.5 it works :/

EDIT1: I just tested the two versions (6.9.5 and 7.0.0 with update 7.0.1) with the same files compressed by UltraArc 2.8.0.1 R3 on 10/24/2017.
I run in version 6.9.5 plus gave the error in the image I posted up in version 7.0.0 with the update. Since version 7.0.0 with the update is the way I want, with the options (directx, vsredits and etc ...) of redists. I tried to open the two scripts and try to leave 6.9.5 with these options or try to accept the compressed files, but I'm still very new and even with everything already learned here I was very lost. So I hope that now I have made everything clear so you can help me: D

KaktoR 16-01-2018 07:38

I mean, what precomp version did you used?

pakrat2k2 16-01-2018 07:59

1 Attachment(s)
UA only has precomp v46, & using asis 7.0.1,choosing precomp,srep,lzma, it gives the exact same error, as he mentions.
( in the tools section of asis) BUT if you look at 2801r3-hotfix( seperate release ) that precomp is 038...
probably why the error in asis 7.0.1??

retesting, by adding the resource folder from 2801 R3, which adds a bunch of files, not in your tools/UA files.

KaktoR 16-01-2018 08:39

Hmm, could it be that UA in Tools folder is different from the "original"? :D

I don't remember :D

Edit:
Just checked, precomp in UA is 0.46, in both 2801 R3 H

Code:

C:\Users\Fee\Desktop\UltraARC 2801 R3 Hotfix\Resources>PComp

Precomp v0.4.6 Windows 32-bit - ALPHA version - USE FOR TESTING ONLY
Free for non-commercial use - Copyright 2006-2017 by Christian Schneider

Usage: precomp [-switches] input_file

And there is only one file missing, namely wrar.exe (for WinRAR archive creation in UA, which no one is using anyway).

Btw:
Did you changed also precomp to 0.46 in Compressor.ini? Since there is a cls for unpacking, but i don't know if this cls will work for any precomp version.

PS:
To use Precomp046 in UA, you have to use MMC compression. Precomp in GUI is only for ZTool/pZLib3

pakrat2k2 16-01-2018 10:28

Yes, #Define Precomp "0.46MT" ;0.38, 0.40, 0.41, 0.42, 0.43, 0.46MT

missing from config0.txt
Code:

[External compressor:precomp]
header = 0
packcmd  = precomp -intense0 -c- {options} -o$$arcpackedfile$$.tmp  $$arcdatafile$$.tmp
unpackcmd = precomp -o$$arcdatafile$$.tmp -r $$arcpackedfile$$.tmp

[External compressor:precomp038]
header = 0
packcmd  = precomp038 -slow {options} -o$$arcpackedfile$$.tmp  $$arcdatafile$$.tmp
unpackcmd = precomp038 -o$$arcdatafile$$.tmp -r $$arcpackedfile$$.tmp

[External compressor:precomp040]
header = 0
packcmd  = precomp040 -slow {options} -o$$arcpackedfile$$.tmp  $$arcdatafile$$.tmp
unpackcmd = precomp040 -o$$arcdatafile$$.tmp -r $$arcpackedfile$$.tmp

[External compressor:precomp041]
header = 0
packcmd  = precomp041-slow {options} -o$$arcpackedfile$$.tmp  $$arcdatafile$$.tmp
unpackcmd = precomp041 -o$$arcdatafile$$.tmp -r $$arcpackedfile$$.tmp

[External compressor:precomp042]
header = 0
packcmd  = precomp042 -intense0 -c- {options} -o$$arcpackedfile$$.tmp  $$arcdatafile$$.tmp
unpackcmd = precomp042 -o$$arcdatafile$$.tmp -r $$arcpackedfile$$.tmp

[External compressor:precomp043]
header = 0
packcmd  = precomp043 -intense0 -c- {options} -o$$arcpackedfile$$.tmp  $$arcdatafile$$.tmp
unpackcmd = precomp043 -o$$arcdatafile$$.tmp -r $$arcpackedfile$$.tmp

[External compressor:precomp045]
header = 0
packcmd  = precomp045 -intense0 -c- {options} -o$$arcpackedfile$$.tmp  $$arcdatafile$$.tmp
unpackcmd = precomp045 -o$$arcdatafile$$.tmp -r $$arcpackedfile$$.tmp

[External compressor:Pcomp45]
header = 0
packcmd  = Pcomp45 -intense0 -c- {options} -o$$arcpackedfile$$.tmp  $$arcdatafile$$.tmp
unpackcmd = Pcomp45 -o$$arcdatafile$$.tmp -r $$arcpackedfile$$.tmp

[External compressor:precomp046]
header = 0
packcmd  = precomp046 -intense0 -c- {options} -o$$arcpackedfile$$.tmp  $$arcdatafile$$.tmp
unpackcmd = precomp046 -o$$arcdatafile$$.tmp -r $$arcpackedfile$$.tmp

[External compressor:Pcomp46]
header = 0
packcmd  = Pcomp46 -intense0 -c- {options} -o$$arcpackedfile$$.tmp  $$arcdatafile$$.tmp
unpackcmd = Pcomp46 -o$$arcdatafile$$.tmp -r $$arcpackedfile$$.tmp

otherwise it just failed immediately, without those in config0.txt


All times are GMT -7. The time now is 14:12.

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