FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   Light Installer Script (LIS) - DiskSpan_GUI (https://fileforums.com/showthread.php?t=103408)

Cesar82 06-02-2021 23:39

Updated Light Installer Script to v1.0.0.8
See the changelog for more details.

@mods, if possible, change the Light Installer Script thread title (Title that appears in "Conversion Tutorials") to the same title at the top of the thread.
Thanks!

Grumpy 07-02-2021 03:45

Quote:

Originally Posted by Cesar82 (Post 490341)
@mods, if possible, change the Light Installer Script thread title (Title that appears in "Conversion Tutorials") to the same title at the top of the thread.
Thanks!

Just to be sure, you would like the Title to be:

Light Installer Script (LIS) | DiskSpan_GUI

Cesar82 07-02-2021 07:37

Quote:

Originally Posted by Grumpy (Post 490347)
Just to be sure, you would like the Title to be:

Light Installer Script (LIS) | DiskSpan_GUI

Yes. Also change the character "|" for "-".
Light Installer Script (LIS) - DiskSpan_GUI
Thanks!

Grumpy 08-02-2021 06:10

Quote:

Originally Posted by Cesar82 (Post 490341)
if possible ...

As all you regulars have shown many times with what you all do ... anything is possible. ;)

Title Changed. :)

Stor31 11-02-2021 07:18

how to modify LightInstallerLogoOrange.bmp (Light Installer) to another name ???
thx

Cesar82 11-02-2021 17:12

Quote:

Originally Posted by Stor31 (Post 490381)
how to modify LightInstallerLogoOrange.bmp (Light Installer) to another name ???
thx

Open the script and change the name as needed.
The parts of the code referring to the logo image file are below (Search the script).
Code:

#define Theme "ORANGE"

Code:

#if Theme != "NULL"
Source: "Resources\LightInstallerLogo{#Theme}.bmp"; DestName: "LightInstallerLogo.bmp"; DestDir: "{tmp}"; Flags: dontcopy
#endif

Code:

  #if Theme != "NULL"
 
with TBitmapImage.Create(WizardForm) do
  begin
   
Parent := WizardForm;
    SetBounds(ScaleX(14), WizardForm.NextButton.Top + ScaleY(1), ScaleX(225), ScaleY(20));
    Bitmap.AlphaFormat := afDefined;
    Bitmap.LoadFromFile(ExpandConstant('{tmp}\LightInstallerLogo.bmp'));
    #if VER >= 0x06000000
   
Anchors := [akLeft, akBottom];
    #endif
   
if '{#AppURL}' <> '' then begin
     
OnClick := @LogoOnClick;
      Cursor := crHand;
    end;
  end;
  #endif

Code:

  #if Theme != "NULL"
 
ExtractTemporaryFile('LightInstallerLogo.bmp');
  #endif

P.S: If you just want to change the name of the image file that is in the resources folder, you only need to change it after the word resources in code 2. This way the image inside setup.exe will remain as LightInstaller.bmp, but your external file will have the name you put, but it must be a bitmap image (.bmp).

bolek932 12-02-2021 05:21

what is records.ini for?

I have a problem with him...

Cesar82 12-02-2021 08:28

Quote:

Originally Posted by bolek932 (Post 490390)
what is records.ini for?

I have a problem with him...

What problems?
Records.ini is necessary because it contains all information from the files compressed by DiskSpan_GUI about the compressed files

bolek932 12-02-2021 11:20

Quote:

Originally Posted by Cesar82 (Post 490394)
What problems?
Records.ini is necessary because it contains all information from the files compressed by DiskSpan_GUI about the compressed files

When he wants to install a compressed game, the setup.exe installer "install" in a second. Skips archives and creates only "unistall.exe" in the installation folder and a shortcut on the desktop . If I move or delete the records.ini file, the installer works normally and installs the game. I didn't have it before, only on the last two games.
What am I doing wrong?

Cesar82 12-02-2021 17:53

Quote:

Originally Posted by bolek932 (Post 490395)
When he wants to install a compressed game, the setup.exe installer "install" in a second. Skips archives and creates only "unistall.exe" in the installation folder and a shortcut on the desktop . If I move or delete the records.ini file, the installer works normally and installs the game. I didn't have it before, only on the last two games.
What am I doing wrong?

Information about compressed data files is in the records.ini file.
This can only happen if you merged the Records.ini file at the end of the diskspan_gui compression page and are now placing another Records.ini with incorrect information from the compressed data files.
It is not possible to extract any compressed files without existing records.ii next to setup.exe or inside setup.dll.

Stor31 13-02-2021 04:39

Quote:

Originally Posted by Cesar82 (Post 490384)
Open the script and change the name as needed.
The parts of the code referring to the logo image file are below (Search the script).
Code:

#define Theme "ORANGE"

Code:

#if Theme != "NULL"
Source: "Resources\LightInstallerLogo{#Theme}.bmp"; DestName: "LightInstallerLogo.bmp"; DestDir: "{tmp}"; Flags: dontcopy
#endif

Code:

  #if Theme != "NULL"
 
with TBitmapImage.Create(WizardForm) do
  begin
   
Parent := WizardForm;
    SetBounds(ScaleX(14), WizardForm.NextButton.Top + ScaleY(1), ScaleX(225), ScaleY(20));
    Bitmap.AlphaFormat := afDefined;
    Bitmap.LoadFromFile(ExpandConstant('{tmp}\LightInstallerLogo.bmp'));
    #if VER >= 0x06000000
   
Anchors := [akLeft, akBottom];
    #endif
   
if '{#AppURL}' <> '' then begin
     
OnClick := @LogoOnClick;
      Cursor := crHand;
    end;
  end;
  #endif

Code:

  #if Theme != "NULL"
 
ExtractTemporaryFile('LightInstallerLogo.bmp');
  #endif

P.S: If you just want to change the name of the image file that is in the resources folder, you only need to change it after the word resources in code 2. This way the image inside setup.exe will remain as LightInstaller.bmp, but your external file will have the name you put, but it must be a bitmap image (.bmp).

I changed everything
but the result
https://nsa40.casimages.com/img/2021...4601524528.jpg

mausschieber 13-02-2021 05:46

Quote:

Originally Posted by Stor31 (Post 490402)
I changed everything
but the result
https://nsa40.casimages.com/img/2021...4601524528.jpg

you have to disable this #define Theme "ORANGE" to this ;#define Theme "ORANGE" then the logo will be disabled

Stor31 13-02-2021 07:41

Quote:

Originally Posted by mausschieber (Post 490404)
you have to disable this #define Theme "ORANGE" to this ;#define Theme "ORANGE" then the logo will be disabled

thank you messschieber ;; but I want to change (LightInstaller) not deactivate !!!!!! :confused::)

Cesar82 13-02-2021 12:27

Quote:

Originally Posted by Stor31 (Post 490405)
thank you messschieber ;; but I want to change (LightInstaller) not deactivate !!!!!! :confused::)

I don't understand what you want to do.
The Light Installer logo is an option for you to place any logo image you want, just by editing one of the PSD (Photoshop project) files or creating your own logo as you wish (But the dimensions 225x20 pixels must be kept).
Just create your bitmap image (.bmp) with alpha layer to determine the semi-transparent areas and save it as "LightInstallerLogo.bmp" in the "Resources" folder.
Then open the script and set theme to "" and compile the script.
Code:

#define Theme ""

bolek932 13-02-2021 13:46

Quote:

Originally Posted by Cesar82 (Post 490397)
Information about compressed data files is in the records.ini file.
This can only happen if you merged the Records.ini file at the end of the diskspan_gui compression page and are now placing another Records.ini with incorrect information from the compressed data files.
It is not possible to extract any compressed files without existing records.ii next to setup.exe or inside setup.dll.

No no no. I don't put records.ini at the end of disckspsn_gui because I'm using the old version without this option. records.ini is created automatically by diskspan_gui together From the archive. I packed the games before and didn't even touch the file. Now to install the game I have to remove it ... I don't understand anything ...


All times are GMT -7. The time now is 21:32.

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