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)

KaktoR 12-01-2018 06:01

Quote:

Originally Posted by WOliveira (Post 465805)
To disturb a little bit, I went to do another setup and gave this error, which for me was the first time. How do I solve it?

And the box marking the redists is not showing up, it's installing straight through at the end.

Share me your Settings.ini please

WOliveira 12-01-2018 11:46

1 Attachment(s)
Here it is

KaktoR 12-01-2018 12:14

On which point you get this error?

pakrat2k2 12-01-2018 12:23

he's changed names where he shouldnt have ?
//Background = WelcomePage, Background2 = FinishedPage
#define Background "Background.bmp"
#define Background2 "Background.bmp"
#define Banner "smallbitmap.bmp"
#define Icon "Setup.ico"

//Define Splash image and duration of FadeIn/Show/FadeOut in ms. If not needed, just disable Splash (set ;)
#define Splash
#define SplashFile "logo.png"
#define SplashFadeIn "500"
#define SplashShow "1000"
#define SplashFadeOut "500"

unless he's renamed the corresponding files in folder as well ?

KaktoR 12-01-2018 12:52

Name as you like, doesn't matter.

And if file doesn't exist, compiler gives out a "file not found" error.

pakrat2k2 12-01-2018 14:46

oh ok good to know

WOliveira 12-01-2018 15:30

Yes, I changed the name of the files in the folder .. The point that gives the error is at the time it will start the installation. And the other error and that is not appearing the menu to choose which components (directx and etc ...) choose.

KaktoR 12-01-2018 15:44

I don't have this error.

Do me a favour: In Inno Setup window, press F9 for compile+run setup.exe, click next till installation starts. When the error shows up, look at the bottom of Inno Setup window in tab "Debug Output" and tell me what script line the error is.

WOliveira 12-01-2018 16:05

1 Attachment(s)
This is the error that occurred ino at the time of the setup error.

KaktoR 13-01-2018 02:14

This was fixed with v7.0.1. Please download it from first page and overwrite all files.

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

KaktoR 16-01-2018 10:56

Like i said, UltraARC just have Pcomp046 inside, nothing more (somehow it uses cls + exe for compression without any arc settings).

Try to use like this
MMC=PRMT+srep+lzma2

and check MMC in GUI.

As for MSC: You could find it in 0 + 1 + 2 txt. Just make sure you don't use DDS compression (it's buggy as hell in 0.0.6.4)

Edit:
You could also try with ArcGUI instead http://fileforums.com/showthread.php?t=98152
I think it's a nice UltraARC replacement (it's with masked compression too!! :D)

pakrat2k2 16-01-2018 11:40

2 Attachment(s)
thats great one too, but just changing compressor.ini & config0.txt will allow ASIS to compress/decompress archives perfectly.

WOliveira
Replace these 2 files from INI.rar archive, compressor.ini goes in root of ASIS & config0.txt goes in Resource folder of UltraArc. you will need to recreate your steup.exe, as well as recompress your game, as the 2 files were not set properly to handle precomp. Use settings for UA same as in picture, then ASIS will be able to handle your archives, but NOT before, you have to re-do the archives.

ASIS then installs from the archives created without issue.

WOliveira 16-01-2018 15:23

1 Attachment(s)
Okay, I'll try!

EDIT1: I tested it now, and apparently it was working out more by getting a certain% error. That mistake the "program has to be closed". What do I do?

I compressed the files now equal to the image of pakrat2k2 (SREP, LZMA and MMC)

pakrat2k2 16-01-2018 17:06

never had any issues, not running anything else in the background, when compressing files or running the new setup?

WOliveira 16-01-2018 18:25

1 Attachment(s)
I ran with everything closed and still gave error: /

EDIT1: I tested with the following methods, SREP, LZMA and MMC worked up to a certain percentage and then gave "program stopped working" error. I tested with
PreComp version 0.38 and 0.42 + SREP AND LZMA and both gave the isdone error that I posted the image before and last test only with SREP AND LEZMA and gave the following error (which for me was the first time, I think) that is in the image below. I forgot to mention that with SREP and LZMA it was up to a certain percentage and then it gave that mistake there.

KaktoR 17-01-2018 03:04

Only use MMC alone!

Go to UltraARC\resources\config0.txt

Search for MMC=

insert

MMC=PRMT+srep+lzma2

pakrat2k2 17-01-2018 07:54

^^ shows how much i use precomp.... NEVER, dont care about max compression, dvd's are cheap so usually use srep,lzma or if small no compression....

78372 17-01-2018 08:57

Quote:

Originally Posted by pakrat2k2 (Post 466023)
^^ shows how much i use precomp.... NEVER, dont care about max compression, dvd's are cheap so usually use srep,lzma or if small no compression....

That's the point of pZlib v3, a far better alternative of precomp with better speed even better speed than lzma compression.

pakrat2k2 17-01-2018 09:21

thanks for the tips

Quote:

Originally Posted by WOliveira (Post 466006)
I ran with everything closed and still gave error: /

EDIT1: I tested with the following methods, SREP, LZMA and MMC worked up to a certain percentage and then gave "program stopped working" error. I tested with
PreComp version 0.38 and 0.42 + SREP AND LZMA and both gave the isdone error that I posted the image before and last test only with SREP AND LEZMA and gave the following error (which for me was the first time, I think) that is in the image below. I forgot to mention that with SREP and LZMA it was up to a certain percentage and then it gave that mistake there.

your getting errors where you shouldnt, IE: just srep,lzma should be no issues, no errors as all.. ive used 10X more and never issue with install.

As for precomp, you said you tried with 38 & 42, did you rename them from precomp to pcomp ? the file in resources folder is name pcomp / pcompx64.exe, & if you didnt rename then it might have just used the same 46 version???
I went & got the 2801r3 version from UltraArc topic & use that version in all my compressions, also made the changes to text files i added, also KaktoR's change above. Tested every version of precomp with asis 7.01 & they all installed/uninstalled without issues..
Can you start over from beginning, getting the 7.01 from first post, use the UA version from the UltraArc topic, change those 2 files, remake archives... something is not right... Yes ive gotten setup is not responding a few times over the years,
but just restarting the setup again it finishes without issues.. Dont want you to have just updated from earlier version of asis, overwriting existing files just incase something didnt go right...

Interested in why you keep getting errors on basic compression like srep,lzma when it shouldnt have issues like you have.

WOliveira 17-01-2018 13:09

I made the move to change the confidence and compressed using only the MMC and everything went ok .. Sorry for disturbing you kkk ', I am very slow. Now it's the way I've always wanted ... Thank you again for the assistance and patience kk 'You guys are awesome.

pakrat2k2 17-01-2018 17:11

glad to see it works how you want finally

KaktoR 18-01-2018 01:31

Update v7.0.2 added

Also added a simple compiler.exe created with inno to compile the script if you don't have inno setup installed (and don't want to).

WOliveira 19-01-2018 02:56

People, one more doubt kkk '. I compressed GTA V by the method they gave me and gave 16 DVDs, would it be possible to decrease the size for less DVDs?

KaktoR 19-01-2018 03:41

Yes, use either pzlib3 or ztool pzlib

WOliveira 19-01-2018 04:29

But I'll be able to split into DVDs? if so and only I put it in that MMC of config0?


All times are GMT -7. The time now is 17:08.

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