Hi, im making a cool setup using Inno Setup and some thirdy parts addons.
My setup uses ISSI addons like background, custom wizard images, headerimage and music and offcourse also ISSkin by CODEJOCK, if i remove the all ISSkin related in the INNO script i get the setup.exe without the skin, but if i try to use the ISSKin i get the next error in the compilation procedure :
"Duplicate identifier 'INITIALIZESETUP'"
When i click "Find Error" to try found the "duplicate entries" i cannot found any duplicate identifier and the INNO send to me to the like error wheres :
function InitializeSetup(): Boolean;
the problem is all the [code] section dont show like the usuall colors in the rest of the code, look yourselft :
where is should try to found the error? i follow step by step to add all the code, even is on [files] the files needed (skin + isskin.dll) already added, i didnt miss anything, any idea?. where i should search to fix?
EDITED :
THE PROBLEM seems to be related with ISSI, if i remove ISSI (for background, musics, and custom images) the Inno compiles everything ok, but i need to keep the ISSI to keep my custom images, backgrounds, music, splash screen, etc..
the code is :
[ISSI] ;; Name of the bitmap image: #define ISSI_SplashScreen "c:\splash.bmp"
;; Time in seconds: #define ISSI_SplashScreen_T 2
;; Image Width: #define ISSI_SplashScreen_X 576
;; Image Heigth: #define ISSI_SplashScreen_Y 224
; Ass background Image #define ISSI_BackgroundImage "c:\background.bmp"
;; OPTIONAL: Overrule the standard background color ;; clBlack (default), clMaroon, clGreen, clOlive, clNavy, clPurple, clTeal, ;; clGray, clSilver, clRed, clLime, clYellow, clBlue, clFuchsia, clAqua, clWhite. ;; OR: ;; value in the form of $bbggrr, where rr, gg, and bb specify the two-digit ;; intensities (in hexadecimal) for red, green, and blue respectively. #define ISSI_BackgroundImage_BGColor "clBlack"
;; Add Music #define ISSI_PlayWave "c:\bgmusic.wav"
#define ISSI_PlayWaveLoop
;; The WizardSmallImageFile #define ISSI_WizardSmallImageFile "c:\modern-header.bmp" #define ISSI_WizardSmallImageFile_x 164
;; Optional: align will switches alignment of the image #define ISSI_WizardSmallImageFile_Align
;; Include ISSI: #define ISSI_IncludePath "C:\ISSI" #include ISSI_IncludePath+"\_issi.isi"
SEEMS THE PROBLEM IS ON _ISSI.ISI i will attach the file _issi.isi, someone can modify to work both issi + isskin in armony?
http://www.mediafire.com/file/nwytj5jwmdz/_issi.isi - http://www.mediafire.com/file/nwytj5jwmdz/_issi.isi
|