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 05-06-2018 07:06

Use Icons.iss

JacksMafia 05-06-2018 15:48

Quote:

Originally Posted by KaktoR (Post 471461)
Use Icons.iss

ok i wrote those lines
HTML Code:

Name: "{group}\{#Name}"; Filename: "{app}\{code:ExeName2}"; Parameters: "{code:ExeParameter2}"; Check: CreateIcons
Name: "{commondesktop}\{code:AppName2}"; Filename: "{app}\{code:ExeName2}"; Parameters: "{code:ExeParameter2}"; Check: CreateIcons
Name: "{group}\{#Name}"; Filename: "{app}\{code:ExeName3}"; Parameters: "{code:ExeParameter3}"; Check: CreateIcons
Name: "{commondesktop}\{code:AppName3}"; Filename: "{app}\{code:ExeName3}"; Parameters: "{code:ExeParameter3}"; Check: CreateIcons

and now i getting this error
HTML Code:

line4:required function or procedure "exename2" not found
Edit:
you still here mate?!!!

Kitsune1982 05-06-2018 23:12

hey Kaktor great job on the asis script =3
i have a question. is there a way to make the asis setup dialog be bigger than 496x491 resolution? i edited the iss script but every time i run the setup exe it shows the wallpaper at the resolution i put in the script but the actual installer with the 'music off/install/quit' wont change to match my custom resolution :confused: is this a hardcoded limitation of the script or can i make the setup dialog window bigger? thanks!

-Kitsune

KaktoR 06-06-2018 06:24

You can change everything. The thing is, buttons/labels/etc are placed to match with the wizardform size (i have not placed it by variables). You can edit the positions of all of them tough.

KaktoR 06-06-2018 06:26

Quote:

Originally Posted by JacksMafia (Post 471480)
ok i wrote those lines
HTML Code:

Name: "{group}\{#Name}"; Filename: "{app}\{code:ExeName2}"; Parameters: "{code:ExeParameter2}"; Check: CreateIcons
Name: "{commondesktop}\{code:AppName2}"; Filename: "{app}\{code:ExeName2}"; Parameters: "{code:ExeParameter2}"; Check: CreateIcons
Name: "{group}\{#Name}"; Filename: "{app}\{code:ExeName3}"; Parameters: "{code:ExeParameter3}"; Check: CreateIcons
Name: "{commondesktop}\{code:AppName3}"; Filename: "{app}\{code:ExeName3}"; Parameters: "{code:ExeParameter3}"; Check: CreateIcons

and now i getting this error
HTML Code:

line4:required function or procedure "exename2" not found
Edit:
you still here mate?!!!

Use either
Code:

Name: "{group}\NameForTheIcon"; Filename: "{app}\ExeName.exe"; Parameters: "-Parameter"; Check: CreateIcons
or create a new function for ExeName2 inside Settings.iss. You should also change the GetIniString to Exe2 or something else and place Exe2= inside Settings.ini in [Settings] tab.

Kitsune1982 06-06-2018 07:11

1 Attachment(s)
kaktor, here is the issue i am having. take a look at the attached pic and my script.iss and tell me what i need to do to get it to the resolution i want. i want the installer to be 720x455 though preferably 800x600 or higher resolution. how do i do this?

KaktoR 06-06-2018 08:22

Change resolution for image in

Code:

WizardForm.WizardBitmapImage.Width := 497;
  WizardForm.WizardBitmapImage.Height := 314;

WizardForm.WizardBitmapImage2.Width := 497;
  WizardForm.WizardBitmapImage2.Height := 314;

and buttons for example
Code:

MusicButton := TNewButton.Create(WizardForm);
      with MusicButton do begin
        Parent  := WizardForm;
        Left    := ScaleX(169);
        Top    := ScaleY(327);

        Width  := ScaleX(75);
        Height  := ScaleY(23);
        Caption := ExpandConstant('{cm:MusicButtonCaptionSoundOff}');
        OnClick := @MusicButtonClick;
      end;


TheGeekyGamer 25-06-2018 22:05

Thank you... i was looking for a simple and clean installer creator.

Schabik 02-07-2018 05:50

2 Attachment(s)
Quote:

Originally Posted by KaktoR (Post 471508)
Change resolution for image in

Code:

WizardForm.WizardBitmapImage.Width := 497;
  WizardForm.WizardBitmapImage.Height := 314;

WizardForm.WizardBitmapImage2.Width := 497;
  WizardForm.WizardBitmapImage2.Height := 314;

and buttons for example
Code:

MusicButton := TNewButton.Create(WizardForm);
      with MusicButton do begin
        Parent  := WizardForm;
        Left    := ScaleX(169);
        Top    := ScaleY(327);

        Width  := ScaleX(75);
        Height  := ScaleY(23);
        Caption := ExpandConstant('{cm:MusicButtonCaptionSoundOff}');
        OnClick := @MusicButtonClick;
      end;



Nope, Website button is moving but when I tried to resize the image it's not resizing. My image has 750x500 but when I Tried to resize This happens:Attachment 22212


Original image looks like this:
Attachment 22213

pakrat2k2 02-07-2018 09:00

did you change BOTH sets of lines where KaktoR posted them ?
https://www.fileforums.com/showpost....&postcount=322

KaktoR 02-07-2018 12:04

Nah he is right. Something is wrong.

Schabik 02-07-2018 22:35

Quote:

Originally Posted by pakrat2k2 (Post 472202)
did you change BOTH sets of lines where KaktoR posted them ?
https://www.fileforums.com/showpost....&postcount=322


I've changed both variables.
As KaktoR said, something really Isn't right.


Edit:


OK, KaktoR please tell me the installer has 2 or 3 layers if I think correctly. The layer that is responsible for the image size is not resizing correctly and I think that it has a constant size.

KaktoR 03-07-2018 05:52

1 Attachment(s)
Hm yeah

I think the problem is WelcomeLabel1 + WelcomeLabel2 transparency

I have not worked on it for a long time.

Anyway, script was initialy not made to change all that stuff.

Schabik 04-07-2018 00:57

Quote:

Originally Posted by KaktoR (Post 472213)
Hm yeah

I think the problem is WelcomeLabel1 + WelcomeLabel2 transparency

I have not worked on it for a long time.

Anyway, script was initialy not made to change all that stuff.


KaktoR Can You please work on that?
I'm not a programmer, so I can't solve this problem.
I'm trying to solve the problem but no results.


I've occured another problem, The wizard does not always run correctly.
the steps are: running setup, splashscreen appears, after thar nothing happens.

Stor31 04-07-2018 06:39

https://nsa39.casimages.com/img/2018...4754422979.png


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

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