我是 Inno Setup 概念的新手,但我仍然在 Internet 的帮助下创建了一个安装程序。我一直在寻找一个脚本来重新对齐wpFinished
页面中的复选框(Direct X、DirectPlay)。
我已经使用 ISSI 脚本重新对齐位图图像 (x180),这给我带来了这个问题,但我不想更改图像值并希望通过重新对齐复选框来进行更改。
在上图中,红色标记显示错误,绿色显示我想要的位置。最后,我以前从未为 Inno Setup 编写过代码,所以我不知道如何启动它。
我觉得这几行脚本可能很重要:
[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\Downloads\ensemble.bmp"
#define ISSI_WizardSmallBitmapImage_x 70
;WizardBitmapImage [Front & Back] [Default = 164x314]
#define ISSI_WizardBitmapImage"C:\Users\Archangel_7\Downloads\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\Redistributab\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