Go Back   FileForums > Off Topic > Software

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 17-02-2013, 05:33
gabrimor gabrimor is offline
Registered User
 
Join Date: Dec 2012
Location: Brazil
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
gabrimor is on a distinguished road
Inno Script problem (Duplicate Identifier 'INITIALIZEWIZARD') [SOLVED]

Hi thanks for reading

Take a look in my resumed code above. Problem in the final with InitializeWizard. Error message: "Duplicate Identifier 'INITIALIZEWIZARD'"

It's been called by ISSI causing Duplicate Identifier problem.

Can you help me?

------------------------------------

; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "ABC 3"
#define MyAppVersion "1.0"


#define ISSI_WizardBitmapImage "A.bmp"
#define ISSI_WizardBitmapImage_x 497
#define ISSI_WizardBitmapImage_y 314
#define ISSI_WizardSmallBitmapImage "B.bmp"
#define ISSI_WizardSmallBitmapImage_x 154
#define ISSI_WizardSmallBitmapImage_y 58
#define ISSI_WizardBitmapImage2 "C.bmp"
#define ISSI_WizardBitmapImage2_x 497
#define ISSI_WizardBitmapImage2_y 314
#define ISSI_IncludePath "C:\ISSI"
#include ISSI_IncludePath+"\_issi.isi"

[Setup]
AppId={{4179E89B-C990-43CD-8554-347A9362B4A3}
AppName={#MyAppName}
AppVerName={#MyAppName} {#MyAppVersion}


[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked

[Icons]
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"

[Files]
Source: Include\English.ini; DestDir: {tmp}; Flags: dontcopy
Source: "Logo.bmp"; Flags: dontcopy


[Code]
procedure LogoOnClick(Sender: TObject);
var ResCode: Integer;
begin
end;
procedure LogoWizard();

var
BtnPanel: TPanel;
BtnImage: TBitmapImage;
begin
ExtractTemporaryFile('Logo.bmp')

BtnPanel:=TPanel.Create(WizardForm)
with BtnPanel do begin
Left:=35
Top:=320
Width:=98
Height:=34
Cursor:=crHand
OnClick:=@logoOnClick
Parent:=WizardForm
end
BtnImage:=TBitmapImage.Create(WizardForm)
with BtnImage do begin
AutoSize:=True;
Enabled:=False;
Bitmap.LoadFromFile(ExpandConstant('{tmp}')+'\Logo .bmp')
Parent:=BtnPanel
end
end;
procedure InitializeWizard();
begin
LogoWizard();
end;

------------------------------------

[...]. After 3 hours i solved the problem.
Unfortunately, I don't have acknowledgment to explain exact how I did.

Used basically this:

http://members.home.nl/albartus/inno...uttonClick.htm

Last edited by Joe Forster/STA; 17-02-2013 at 09:41.
Reply With Quote
Sponsored Links
  #2  
Old 19-02-2013, 09:49
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,746
Thanks: 2,141
Thanked 11,114 Times in 2,296 Posts
Razor12911 is on a distinguished road
Make something from scratch. you can ask me tips on how to.

Last edited by Joe Forster/STA; 19-02-2013 at 11:37.
Reply With Quote
  #3  
Old 23-10-2013, 11:33
ASSAiL ASSAiL is offline
Registered User
 
Join Date: Dec 2011
Location: USA
Posts: 7
Thanks: 4
Thanked 4 Times in 3 Posts
ASSAiL is on a distinguished road
delete issi script .. issi had already used INITIALIZEWIZARD.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Copy file with Inno Setup Script emrahcey Software 1 02-07-2010 08:24
Call of Duty 2 script problem Typhoon1000 PC Games 5 02-11-2005 05:14
Cdr Identifier problem meldrew CD/DVD Software & Utilities 2 11-05-2003 02:20



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


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