Go Back   FileForums > Off Topic > Software

Reply
 
Thread Tools Display Modes
  #1  
Old 11-06-2015, 12:59
Archangel_7's Avatar
Archangel_7 Archangel_7 is offline
Registered User
 
Join Date: Jun 2015
Location: Sancoale, Goa, India
Posts: 3
Thanks: 1
Thanked 2 Times in 2 Posts
Archangel_7 is on a distinguished road
Inno Setup - How to re-align the checkboxes in the wpFinished page.

I am new to the Inno Setup concept but still I have created a installer with the help through Internet. I have been looking for a script to re-align the checkboxes (Direct X, DirectPlay) in the wpFinished page.

I have used the ISSI script to re-align the bitmap image (x180) which brings me this problem but I don't want to change the image values but want to make changes by re-aligning the checkboxes.


In the above image where the red marking shows the error and the green shows where I want it. And lastly, I have never written a code before for Inno Setup so i have no idea how to start it.

I feel these few lines of script may be important:
Quote:
[ISSI]
;SplashScreen
;; Name of the bitmap image:
#define ISSI_SplashScreen "C:\Users\Archangel_7\Downloads\Newfolder\AA_7.bmp "
;; Time in seconds:
#define ISSI_SplashScreen_T 1
;; Image Width:
#define ISSI_SplashScreen_X 488
;; Image Heigth:
#define ISSI_SplashScreen_Y 199
;; Include ISSI (required)
;WizardSmallBitmapImage [Default = [55x55]
#define ISSI_WizardSmallBitmapImage"C:\Users\Archangel_7\D ownloads\ensemble.bmp"
#define ISSI_WizardSmallBitmapImage_x 70
;WizardBitmapImage [Front & Back] [Default = 164x314]
#define ISSI_WizardBitmapImage"C:\Users\Archangel_7\Downlo ads\AOE.bmp"
#define ISSI_WizardBitmapImage_x 180
;define ISSI_WizardBitmapImage_Align
#define ISSI_WizardBitmapImage2 "C:\Users\Archangel_7\Downloads\AOE.bmp"
#define ISSI_WizardBitmapImage2_x 180
;define ISSI_WizardBitmapImage2_Align
;[Background Image]
;define ISSI_Image "C:\Users\Archangel_7\Downloads\AA7.bmp"
#define ISSI_IncludePath "C:\ISSI"
#include ISSI_IncludePath+"\_issi.isi"

[Files]
Source: C:\Users\Archangel_7\Desktop\Age of Empires\Redistributable\Directx\Dplay50a.exe; DestDir: {app}\Redistributable\Directx
Source: C:\Users\Archangel_7\Desktop\Age of Empires\Redistributable\Directx\Dxsetup.exe; DestDir: {app}\Redistributable\Directx

[Run]
Filename: {app}\Redistributable\Directx\Dxsetup.exe; Description: Direct X; Flags: postinstall
Filename: {app}\Redistributable\Directx\Dplay50a.exe; Description: Direct Play v5.0a; Flags: postinstall
Here is the Solution. Thanks to Razor12911.
Quote:
[ISSI]
;SplashScreen
;; Name of the bitmap image:
#define ISSI_SplashScreen "C:\Users\Archangel_7\Downloads\Newfolder\AA_7.bmp "
;; Time in seconds:
#define ISSI_SplashScreen_T 1
;; Image Width:
#define ISSI_SplashScreen_X 488
;; Image Heigth:
#define ISSI_SplashScreen_Y 199
;; Include ISSI (required)
#define ISSI_IncludePath "C:\ISSI"
#include ISSI_IncludePath+"\_issi.isi"
;WizardSmallBitmapImage [Default = [55x55]
#define ISSI_WizardSmallBitmapImage"C:\Users\Archangel_7\D ownloads\ensemble.bmp"
#define ISSI_WizardSmallBitmapImage_x 70
;WizardBitmapImage [Front & Back] [Default = 164x314]
#define ISSI_WizardBitmapImage"C:\Users\Archangel_7\Downlo ads\AOE.bmp"
#define ISSI_WizardBitmapImage_x 180
;define ISSI_WizardBitmapImage_Align
#define ISSI_WizardBitmapImage2 "C:\Users\Archangel_7\Downloads\AOE.bmp"
#define ISSI_WizardBitmapImage2_x 180
;define ISSI_WizardBitmapImage2_Align
;[Background Image]
;define ISSI_Image "C:\Users\Archangel_7\Downloads\AA7.bmp"

[Setup]
.....

[Languages]
.....

[Tasks]
....

[Files]
Source: C:\Users\Archangel_7\Desktop\Age of Empires\Redistributable\Directx\Dplay50a.exe; DestDir: {app}\Redistributable\Directx
Source: C:\Users\Archangel_7\Desktop\Age of Empires\Redistributable\Directx\Dxsetup.exe; DestDir: {app}\Redistributable\Directx

[Icons]
....

[Registry]
....

[Dirs]
....

[Run]
Filename: {app}\Redistributable\Directx\Dxsetup.exe; Description: Direct X; Flags: postinstall
Filename: {app}\Redistributable\Directx\Dplay50a.exe; Description: Direct Play v5.0a; Flags: postinstall

#define ISSI_UseMyCurPageChanged
[Code]
procedure ISSI_CurPageChanged(CurPageID: Integer);
begin
if CurPageID = wpFinished then
begin
WizardForm.RunList.Left:=198
end;
end;
#define ISSI_IncludePath "C:\ISSI"
#include ISSI_IncludePath+"\_issi.isi"
Screenshot:

Last edited by Archangel_7; 13-06-2015 at 02:10.
Reply With Quote
The Following User Says Thank You to Archangel_7 For This Useful Post:
Razor12911 (03-07-2015)
Sponsored Links
  #2  
Old 12-06-2015, 06:04
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,746
Thanks: 2,141
Thanked 11,095 Times in 2,295 Posts
Razor12911 is on a distinguished road
The is a control named RunList,
do something like WizardForm.RunList.Left:=20 or whatever value
Reply With Quote
  #3  
Old 13-06-2015, 02:11
Archangel_7's Avatar
Archangel_7 Archangel_7 is offline
Registered User
 
Join Date: Jun 2015
Location: Sancoale, Goa, India
Posts: 3
Thanks: 1
Thanked 2 Times in 2 Posts
Archangel_7 is on a distinguished road
Thanks @Razor12911
Reply With Quote
The Following User Says Thank You to Archangel_7 For This Useful Post:
Razor12911 (03-07-2015)
Reply

Tags
help needed, inno setup, installercreator problem, script

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
BlackBox v2 y_thelastknight Conversion Tutorials 566 13-10-2023 18:04
INNO TROUBLESHOOT - Tutorials and Answers about INNO Setup REV0 Conversion Tutorials 129 21-05-2021 06:51
Useful Dll for Inno Setup users peterf1999 Conversion Tutorials 88 01-12-2017 17:00
INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup REV0 Conversion Tutorials 51 26-03-2015 07:57



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


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